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
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
;
>>> >
>>> >
>>> > >> > 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
>>> &
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
>>
; > 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
> >> > >
> >
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
I just wrote the following test build.xml:
As you can see, my "check.db.schema.up.to.date"
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
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
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.
10 matches
Mail list logo