Re: Stefan Bodewig or Magesh Umasankar, please kindly help: Ant 1.5 to 1.7 problem.

2007-11-18 Thread Stefan Bodewig
On Sun, 18 Nov 2007, Major shao <[EMAIL PROTECTED]> wrote: > I am in the process to upgrade a project building using ant1.5.1 > to ant1.7 directly. There is a ant151patch.jar file used in this > project since a while back. I have to comment out this jar file > otherwise i would get

Stefan Bodewig or Magesh Umasankar, please kindly help: Ant 1.5 to 1.7 problem.

2007-11-18 Thread Major shao
ctoryScanner.()V(DirectoryScanner.java:128) > >>> at jrockit.vm.RNI.initializeClassFromJava(II)V(Unknown Source) > >>> at jrockit.vm.RNI.clinitTrampoline()V(Unknown Source) > >>> ... 20 more > >>> > >>> Total time

Re: Ant 1.5 to 1.7 problem.

2007-11-15 Thread richardmonk
; >>> > >>> > >>> > >> > depends="test1,test2"/> >>> > >>> > >>> > As you can see, my "check.db.schema.up.to.date" target is the same >>> > code that you gave in your example, and I had no problems with this >>> &

Re: Ant 1.5 to 1.7 problem.

2007-11-14 Thread richardmonk
n the uptodate task. But it still failed if >> i >> >> replace it with absolute path. >> >> I do not understand. The forward slash or backward slash should not >> >> matter, >> >> right? >> >> >> >> And, this target is in an embedded xml. That means, the target is >>

Re: Ant 1.5 to 1.7 problem.

2007-11-12 Thread David Weintraub
; > i am trying to upgrade the project from ant1.5.1 to ant1.7.0 > >> > > > >> > > it gave error build_config.xml:151: > >> > java.lang.ExceptionInInitializerError > >> > > > >

Re: Ant 1.5 to 1.7 problem.

2007-11-12 Thread richardmonk
gt; > > i cannot find out why. >> > > And, it looks like i have more similar issues in the other following >> > > lines in the xml. I cannot just change everything to not having the >> > > path variable. Please help! >> > > >> > > Thanks

Re: Ant 1.5 to 1.7 problem.

2007-11-12 Thread David Weintraub
I just wrote the following test build.xml: As you can see, my "check.db.schema.up.to.date"

Re: Ant 1.5 to 1.7 problem.

2007-11-09 Thread Major shao
java version "1.4.2_05" Thanks for reply, I really need help on this! I suspect it's caused by the ant 1.7 does not take the dir path property ${ get.dbversion.build.dir} in the uptodate task. But it still failed if i replace it with absolute path. I do not understand. The forward slash or backwa

Re: Ant 1.5 to 1.7 problem.

2007-11-09 Thread David Weintraub
What version of Java are you using? With Ant1.7.0, I think you need Java 1.4 or later. On 11/9/07, Major shao <[EMAIL PROTECTED]> wrote: > Hi, everyone > > i am trying to upgrade the project from ant1.5.1 to ant1.7.0 > > it gave error build_config.xml:151: java.lang.ExceptionInInitializerError

Ant 1.5 to 1.7 problem.

2007-11-08 Thread Major shao
Hi, everyone i am trying to upgrade the project from ant1.5.1 to ant1.7.0 it gave error build_config.xml:151: java.lang.ExceptionInInitializerError the line 151 of that xml is a uptodate task. Any idea why i got the error? Please kindly help. Your reply is highly appreciated.