Sorry for the flood ... checking the old nightly build script. Here is how you test in 1.4 mode (a snip from the Perl script):

$ENV{'JAVA_HOME'} = $jdk_14;
run_command("$ant help");
run_command("$ant clean");
my $status = run_command("$ant test-1_4");

Andrus



On Sep 15, 2006, at 12:37 PM, Andrus Adamchik wrote:

Regarding 1.2 and 2.0 branches - I haven't tested it in a while, so things may be broken.. But I don't see much harm building with 1.5, as those are stable branches and there is very little chance of introducing a random error in the code. But you can fix the Ant script if you see any problems.

Andrus

On Sep 15, 2006, at 12:33 PM, Andrus Adamchik wrote:

I don't think there was any decision, but as a practical matter, we migrated trunk to Maven so all handcoded Ant procedures are no longer applicable.

Andrus

On Sep 15, 2006, at 12:29 PM, Mike Kienenberger wrote:

Have we decided at this point that 1.5 is required for building
cayenne (even though it compiles to 1.4.2 compatible code?)

I haven't mentioned it in awhile, but the only way I can build
cayenne-java is to use this bat script:

ie, "..\go" instead of "ant" and "..\go test" instead of "ant test"

set JAVA_HOME=E:\W2k\jdk1.5.0_06
ant -Dbuild.compiler=javac1.5 %1 %2 %3 %4 %5 %6 %7 %8 %9






Reply via email to