@@ -0,0 +1,692 @@
+package org.apache.pig;%0A%0Apublic class PigConstants %7B%0A    private PigConstants() %7B%7D%0A%0A    /**%0A     * This key is used in the job conf to let the various jobs know what code was%0A     * generated.%0A     */%0A    public static final String GENERATED_CLASSES_KEY = %22pig.schematuple.classes%22;%0A%0A    /**%0A     * This key is used when a job is run in local mode to pass the location of the generated code%0A     * from the front-end to the %22back-end%22 (which, in this case, is in the same JVM).%0A     */%0A    public static final String LOCAL_CODE_DIR = %22pig.schematuple.local.dir%22;%0A%0A    // This makes it easy to turn SchemaTuple on globally.%0A    public static final boolean SCHEMA_TUPLE_ON_BY_DEFAULT = false;%0A%7D

Make SchemaTuple work in foreach (and thus, in loads) (jcoveney) -- add PigConstants.java