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 think I know how my environment got into this state.

Prior to installing 3.0 M8, I was using 3.0 M6 on this computer.

Using 3.0 M6, I created a workspace called c:\myworkspace

Prior to installing 3.0 M8, I removed 3.0 M6 from
my system ( rm -rf c:\eclipse )

After I installed 3.0 M8, I told Eclipse to use my existing workspace,
c:\myworkspace

-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