Envelope/Quill IbmEclipseQandA

- Last edited September 15, 2002
IbmEclipse
I've got ant working from eclipse, but I still can't get the java classes compiled. I tried to define "build.compiler" based on the above. I set it up in build.xml like this:
 <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>

The "...classic compiler not available blabla JAVA_HOME..." message is gone, but now I get this:

 BuildException?: D:\ExportContracts?\build.xml:31: org.eclipse.jdt.core.JDTCompilerAdapter can't be found..

Line 31 of build.xml looks like this:

 28 <javac srcdir="${src}"
 29   destdir="${src}"
 30   classpath="${junitjar}"
 31   />

I'm using release 1.0 of Eclipse. --DafyddRees

Release 1.0 is your problem. The JDTCompiler adapter has moved packages recently. -- OliBye.

Thanks! -- DafyddRees


Does anyone know of any no-assumptions-made documentation, tutorials, user groups, bulletin boards, wikis etc. for this? The included docs don't seem to cover any of the features listed at the bottom of the page. I've never used an incremental, repository-based system like this and frankly, I'm boggled. In particular: How do I get it to load/parse/whatever an existing Java project from a filesystem? How do I get it to run my Ant targets to filter/style/build/test/deploy my system? How do I actually set it up to work with CVS? How do I tell it which VM to use? All help appreciated -- FrankCarver
Do we need to wait for the good people at OTI to release a plugin for Ant 1.5? (I've got the plugin org.apache.ant_1.4.1 installed at the moment.) --DafyddRees
- Last edited September 15, 2002

https://casino-brain.com/