Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Possible Ant bug in M1?
Possible Ant bug in M1? [message #79512] Fri, 20 June 2003 15:36 Go to next message
Eclipse UserFriend
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 #80920 is a reply to message #79512] Mon, 23 June 2003 14:37 Go to previous messageGo to next message
Eclipse UserFriend
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
>
Re: Possible Ant bug in M1? [message #82668 is a reply to message #80920] Wed, 25 June 2003 19:46 Go to previous message
Eclipse UserFriend
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
>>
>
Previous Topic:How to access project properties like the source and output folders on build path
Next Topic:build.xml for plugins needing customization
Goto Forum:
  


Current Time: Wed May 07 17:53:44 EDT 2025

Powered by FUDForum. Page generated in 0.03269 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top