Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Ant Error
Ant Error [message #85684] Mon, 30 June 2003 13:24 Go to next message
Eclipse UserFriend
Originally posted by: allanmarks.msn.com

I'm using Eclipse 2.1.0, and am trying to run an Ant build.xml target. When
I right-click on the build.xml file from Eclipse's Package Explorer and
select "Run Ant...", there is an error message at the top of the dialog that
says:

[Targets]: (class: org/apache/xerces/parsers/IntegratedParserConfiguration,
method:configurePipeline signature: ()V) Incompatible type for getting or
setting field.

I'm using Ant 1.5.2, and have tried setting the Ant jar files on both the
system CLASSPATH and via the Windows->Preferences->Ant->Runtime dialog
within Eclipse. In both cases, I put the files ant.jar, optional.jar,
xercesImpl.jar, and xml-apis.jar on the CLASSPATH.

Anybody have any insights?

Thanks!
Allan
Re: Ant Error [message #85725 is a reply to message #85684] Mon, 30 June 2003 13:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: darin_swanson.oti.com

You have included the Xerces classes in your Ant runtime classpath.
Remove the Xerces JARs and things will work fine.

See the Eclipse readme (../eclipse/readme/readme_eclipse.html#I-Platform -
Ant) or https://bugs.eclipse.org/bugs/show_bug.cgi?id=34151 for more details

Darins

"Allan Marks" <allanmarks@msn.com> wrote in message
news:bdprpl$50f$1@rogue.oti.com...
> I'm using Eclipse 2.1.0, and am trying to run an Ant build.xml target.
When
> I right-click on the build.xml file from Eclipse's Package Explorer and
> select "Run Ant...", there is an error message at the top of the dialog
that
> says:
>
> [Targets]: (class:
org/apache/xerces/parsers/IntegratedParserConfiguration,
> method:configurePipeline signature: ()V) Incompatible type for getting or
> setting field.
>
> I'm using Ant 1.5.2, and have tried setting the Ant jar files on both the
> system CLASSPATH and via the Windows->Preferences->Ant->Runtime dialog
> within Eclipse. In both cases, I put the files ant.jar, optional.jar,
> xercesImpl.jar, and xml-apis.jar on the CLASSPATH.
>
> Anybody have any insights?
>
> Thanks!
> Allan
>
>
Re: Ant Error [message #85755 is a reply to message #85725] Mon, 30 June 2003 14:25 Go to previous message
Eclipse UserFriend
Originally posted by: allanmarks.msn.com

Thanks Darin -- that worked!


"Darin Swanson" <darin_swanson@oti.com> wrote in message
news:bdpsnq$5vj$1@rogue.oti.com...
> You have included the Xerces classes in your Ant runtime classpath.
> Remove the Xerces JARs and things will work fine.
>
> See the Eclipse readme (../eclipse/readme/readme_eclipse.html#I-Platform -
> Ant) or https://bugs.eclipse.org/bugs/show_bug.cgi?id=34151 for more
details
>
> Darins
>
> "Allan Marks" <allanmarks@msn.com> wrote in message
> news:bdprpl$50f$1@rogue.oti.com...
> > I'm using Eclipse 2.1.0, and am trying to run an Ant build.xml target.
> When
> > I right-click on the build.xml file from Eclipse's Package Explorer and
> > select "Run Ant...", there is an error message at the top of the dialog
> that
> > says:
> >
> > [Targets]: (class:
> org/apache/xerces/parsers/IntegratedParserConfiguration,
> > method:configurePipeline signature: ()V) Incompatible type for getting
or
> > setting field.
> >
> > I'm using Ant 1.5.2, and have tried setting the Ant jar files on both
the
> > system CLASSPATH and via the Windows->Preferences->Ant->Runtime dialog
> > within Eclipse. In both cases, I put the files ant.jar, optional.jar,
> > xercesImpl.jar, and xml-apis.jar on the CLASSPATH.
> >
> > Anybody have any insights?
> >
> > Thanks!
> > Allan
> >
> >
>
>
Previous Topic:CVS update problem on Eclipe 3.0 M1. --C invalid option ?
Next Topic:Multiuser Eclipse and Private Plugin Install
Goto Forum:
  


Current Time: Wed Jul 16 21:05:12 EDT 2025

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

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

Back to the top