Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ant-dev] Eclipse 3.0 M8, Ant plugin

I found a workaround:

1)   Windows ---> Preferences --> Ant --> Runtime --> Classpath

2)   Ant Home Entries

         Remove:    /c:/eclipse/plugins/org.apache.ant_1.5.4/lib/ant.jar
Remove: /c:/eclipse/plugins/org.apache.ant_1.5.4/lib/optional.jar

         Add:   /c:/eclipse/plugins/org.apache.ant_1.6.1/lib/ant.jar
Add: /c:/eclipse/plugins/org.apache.ant_1.6.1/lib/ant-launcher.jar

Cheers,

-Sean


Sean C. Sullivan wrote:


I am using Eclipse 3.0M8 on Windows XP.

The Ant plugin in Eclipse 3.0 M8 is not configured properly.

If you try to run an Ant build script inside of Eclipse, you will see
this error:

Could not find one or more classes: "org.apache.tools.ant.BuildException"

I looked at the Ant configuration.

 Windows ---> Preferences --> Ant --> Runtime --> Classpath
I see this:

Ant Home Entries (c:\eclipse\plugins\org.apache.ant_1.6.1)
   /c:/eclipse/plugins/org.apache.ant_1.5.4/lib/ant.jar
   /c:/eclipse/plugins/org.apache.ant_1.5.4/lib/optional.jar
   /c:/j2sdk1.4.2_02/lib/tools.jar

I've got Ant plugin 1.6.1 and it is trying to load the Ant 1.5.4 jar files

My plugins folder, c:\eclilpse\plugins, contains a subdirectory: org.apache.ant_1.6.1

The org.apache.ant_1.5.4 subdirectory does not exist

-Sean

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



Back to the top