Ant Error [message #85684] |
Mon, 30 June 2003 13:24  |
Eclipse User |
|
|
|
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 #85755 is a reply to message #85725] |
Mon, 30 June 2003 14:25  |
Eclipse User |
|
|
|
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
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.31702 seconds