Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-ant-dev] RE: platform-ant-dev digest, Vol 1 #236 - 2 msgs

Title: Message
Thank very much for all who have given advice. 
 
I tried to copy all ant jars but xercesImpl.jar into a separate directory and reference those Ant jars from that directory.  It lets my build work.  
 
I have two questions.
 
When I looked at the eclipse\plugins directory, I found there were three org.apache.ant_1.x.x directories.  They are org.apache.ant_1.4.1, org.apache.ant_1.5.1, and org.apache.ant_1.5.2.  Each directory has its own version of ant.jar, optional.jar, .......  How does eclipse decide to load which version of the ant plugins?  Can user configure the eclipse to load certain version of ant?
 
My another problem is that I need a way to configure Java Builder only runs for incremental build.  I have an ant build.xml that can fully build our product.  So, I use it to create a "Ant Build" and set it as the first one on the "External Tools Builders".  As the result, I have three items on "External Tools Builders".  First one is the ant build I created, second is JET Builder and the last one is Java Builder.  My problem is I want only the ant builder to take care of full build, nor JET Builder or Java Builder.  However, it seems like every time I click the "Project->Rebuild Project", the ant build runs at first, then a moment later the java builder will begin to compile my java files.  Is there a way I can disable the Java Builder?
 
Regards,
dong  
-----Original Message-----
From: Darin Swanson [mailto:Darin_Swanson@xxxxxxxxxx]
Sent: Thursday, May 15, 2003 4:09 PM
To: platform-ant-dev@xxxxxxxxxxx
Subject: Re: [platform-ant-dev] RE: platform-ant-dev digest, Vol 1 #236 - 2 msgs


Note that WSAD 5.0.1 is based off a different version of Eclipse.

What works for WSAD (Eclipse 2.0) will not  necessarily work for Eclipse 2.1

This is a case were they have diverged.

The Xerces JARs cannot be on the Ant runtime classpath in Eclipse 2.1.
For more details see the Eclipse readme or help and the bug report Jared indicated.

Darins



"NELSON Jeff" <JNELSON@xxxxxxxxxxxx>
Sent by: platform-ant-dev-admin@xxxxxxxxxxx

05/15/03 12:08 PM
Please respond to platform-ant-dev

       
        To:        <platform-ant-dev@xxxxxxxxxxx>
        cc:        
        Subject:        [platform-ant-dev] RE: platform-ant-dev digest, Vol 1 #236 - 2 msgs



I am using Ant 1.5.3.x with WSAD 5.0.1 and here is what I had to do to
get it to work.

You need to leave the following two jar files in the list

\eclipse\plugins\org.apache.xerces_4.0.7\xmlParserAPIs.jar
\eclipse\plugins\org.apache.xerces_4.0.7\xercesImpl.jar

Also, remove the following two jar files from the list.

\eclipse\plugins\org.apache.ant_1.4.1\ant.jar
\eclipse\plugins\org.apache.ant_1.4.1\jakarta-ant-1.4.1-optional.jar

Then finally add the all of the jar files that are in your Ant 1.5.x
installation lib path.  For Ant 1.5.3 these are

\ant\lib\ant.jar
\ant\lib\optional.jar
\ant\lib\xercesImpl.jar
\ant\lib\xml-apis.jar

That should take care of the issue.

-----Original Message-----
From: platform-ant-dev-request@xxxxxxxxxxx
[mailto:platform-ant-dev-request@xxxxxxxxxxx]
Sent: Thursday, May 15, 2003 12:00 PM
To: platform-ant-dev@xxxxxxxxxxx
Subject: platform-ant-dev digest, Vol 1 #236 - 2 msgs

Send platform-ant-dev mailing list submissions to
                platform-ant-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
                http://dev.eclipse.org/mailman/listinfo/platform-ant-dev
or, via email, send a message with subject or body 'help' to
                platform-ant-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
                platform-ant-dev-admin@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of platform-ant-dev digest..."


Today's Topics:

  1. Extrnal Tools Builders Error. (Dong Zhou)
  2. Re: Extrnal Tools Builders Error. (Jared Burns)

--__--__--

Message: 1
From: "Dong Zhou" <dzhou2@xxxxxxxxxxxxxxxxxx>
To: "'platform-ant-dev@xxxxxxxxxxx'" <platform-ant-dev@xxxxxxxxxxx>
Date: Thu, 15 May 2003 10:48:20 -0400
Subject: [platform-ant-dev] Extrnal Tools Builders Error.
Reply-To: platform-ant-dev@xxxxxxxxxxx


This message is in MIME format. Since your mail reader does not
understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C31AF1.0749E18E
Content-Type: text/plain

Hi,

I am trying to add an external tool builder for my project.  I am using
and-1.5.1.  I am sure I include ant jars, such as ant.jar, optional.jar,
xml-apis.jar and xml-apis.jar, on ant configure.   However, when I go to
Properties for my project->External Tools Builders->New->Ant Build and
pick
up my build.xml at Location, then go to the Targets.  I always got an
error
saying "class:org/apache/xerces/parsers/IntegratedParserConfiguration,
method: configurePipeline signature:()V) Incompatible type for getting
or
setting field."  Does eclipse have a version requirement for ant?



------_=_NextPart_001_01C31AF1.0749E18E
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2656.31">
<TITLE>Extrnal Tools Builders Error.</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am trying to add an external tool =
builder for my project.&nbsp; I am using and-1.5.1.&nbsp; I am sure I =
include ant jars, such as ant.jar, optional.jar, xml-apis.jar and =
xml-apis.jar, on ant configure.&nbsp;&nbsp; However, when I go to =
Properties for my project-&gt;External Tools Builders-&gt;New-&gt;Ant =
Build and pick up my build.xml at Location, then go to the =
Targets.&nbsp; I always got an error saying =
&quot;class:org/apache/xerces/parsers/IntegratedParserConfiguration, =
method: configurePipeline signature:()V) Incompatible type for getting =
or setting field.&quot;&nbsp; Does eclipse have a version requirement =
for ant?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C31AF1.0749E18E--

--__--__--

Message: 2
From: Jared Burns <jared-eclipse@xxxxxxxxx>
To: platform-ant-dev@xxxxxxxxxxx
Subject: Re: [platform-ant-dev] Extrnal Tools Builders Error.
Date: Thu, 15 May 2003 10:58:42 -0500
Reply-To: platform-ant-dev@xxxxxxxxxxx

https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D34151

On Thursday 15 May 2003 09:48 am, Dong Zhou wrote:
> Hi,
>
> I am trying to add an external tool builder for my project.  I am
using
> and-1.5.1.  I am sure I include ant jars, such as ant.jar,
optional.jar=
,
> xml-apis.jar and xml-apis.jar, on ant configure.   However, when I go
t=
o
> Properties for my project->External Tools Builders->New->Ant Build and
=
pick
> up my build.xml at Location, then go to the Targets.  I always got an
e=
rror
> saying "class:org/apache/xerces/parsers/IntegratedParserConfiguration,
> method: configurePipeline signature:()V) Incompatible type for getting
=
or
> setting field."  Does eclipse have a version requirement for ant?



--__--__--

_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev


End of platform-ant-dev Digest
_______________________________________________
platform-ant-dev mailing list
platform-ant-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-ant-dev



Back to the top