--On Monday, September 20, 2004 2:29 PM -0500 Turker Keskinpala <[EMAIL PROTECTED]> wrote:
I was just working on building an offline copy of the plugin for Mike to test. During my development I was not doing Ant builds but was building the plugin with Eclipse. Everything was OK at that time. Now that I tried to build the the project with the global Ant build hackyEclipse creates a problem. I have added cdt and cdt_core plugins as required plugins but the Ant build is unable to find the package even though it is in Plugin Dependencies of hackyEclipse. Do I need to add this to another place? May be to hackyEclipse/lib/Eclipse/lib?
The build errors are like this: [javac] C:\cvsroot\hackyEclipse\src\org\hackystat\stdext\sensor\eclipse\EclipseSensor.java:11: package org.eclipse.cdt.core does not exist [javac] import org.eclipse.cdt.core.CCorePlugin; [javac] ^ [javac] C:\cvsroot\hackyEclipse\src\org\hackystat\stdext\sensor\eclipse\EclipseSensor.java:12: package org.eclipse.cdt.core.model does not exist [javac] import org.eclipse.cdt.core.model.CoreModel; [javac] ^ [javac] C:\cvsroot\hackyEclipse\src\org\hackystat\stdext\sensor\eclipse\EclipseSensor.java:13: package org.eclipse.cdt.core.model does not exist [javac] import org.eclipse.cdt.core.model.ICModelMarker;
Hi Turker,
It looks to me like you need to add the dependent jar files to: hackyEclipse/lib/jar/2x and hackyEclipse/lib/jar/3x
At some point in the near future, I am hoping we will eliminate support for Eclipse 2.x and then this will be easier.
You shouldn't have to modify the build files, just drop the jars in there and Ant should build fine.
Let us know if you still have problems.
Cheers, Philip
