Possible Ant bug in M1? [message #79512] |
Fri, 20 June 2003 15:36  |
Eclipse User |
|
|
|
I have two different Ant scripts that I'm trying to run concurrently.
The first one starts just fine. When I try to run the 2nd one, I get
the following error. I don't know if this is a problem with running
concurrent scripts, or if I'm somehow causing an error, or what. I do
know that prior to 2.1, I was able to run these two scripts without a
problem. Note that I'm not sure why I would get the error below since I
don't do any XML parsing in my Ant script.
Here is the text I'm seeing in the console:
Buildfile: /home/bbwhiteman/runSomething.xml
BUILD FAILED
Unable to load default ProjectHelper due to
java.lang.NoClassDefFoundError: org.xml.sax.DocumentHandler
Total time: 0 seconds
Thanks,
David
|
|
|
|
Re: Possible Ant bug in M1? [message #82668 is a reply to message #80920] |
Wed, 25 June 2003 19:46  |
Eclipse User |
|
|
|
Originally posted by: mxlehma.NO-SPAM.qwest.com
Are you using the built in JDK for ant in Eclipse 3.0 M1? Or are you
specifying a different JDK?
If you specify a different JDK, you need to use the xerces libraries
that come with Eclipse. The ant plugin uses features from xerces for
things like determining the targets available. When I specified a
different JDK for ant, I had to add the two jar files from the
eclipse\plugins\org.apache.xerces_4.0.13 directory, to the ant classpath.
You may also want to look at your system classpath. Having xerces
libraries on that classpath may cause problems within eclipse as well.
--
Michael
David Whiteman wrote:
> Did I fail to provide enough information in this post? Just wondering
> since there has been no response so far.
>
> David
>
> David Whiteman wrote:
>
>> I have two different Ant scripts that I'm trying to run concurrently.
>> The first one starts just fine. When I try to run the 2nd one, I get
>> the following error. I don't know if this is a problem with running
>> concurrent scripts, or if I'm somehow causing an error, or what. I do
>> know that prior to 2.1, I was able to run these two scripts without a
>> problem. Note that I'm not sure why I would get the error below since
>> I don't do any XML parsing in my Ant script.
>>
>> Here is the text I'm seeing in the console:
>>
>> Buildfile: /home/bbwhiteman/runSomething.xml
>>
>> BUILD FAILED
>> Unable to load default ProjectHelper due to
>> java.lang.NoClassDefFoundError: org.xml.sax.DocumentHandler
>>
>> Total time: 0 seconds
>>
>> Thanks,
>> David
>>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03269 seconds