|Indigo JDT batch compiler issue [message #690062]
||Tue, 28 June 2011 18:28
| Bruce Kelly
Registered: July 2009
I am attempting to update from Helios to Indigo and I have encountered a |
strange problem running the JDT compiler in batch.
There are no errors when the project is compiled in Eclipse or exported
using PDE but when we run the batch compiler it complains about unused
imports. The imports are only referenced in @link tags in Javadoc. The
@link tag just has the class name, not the fully qualified name.
We have our own wrapper for running the batch compiler and it creates an
instance of the org.eclipse.jdt.core.compiler.batch.BatchCompiler class.
To get the compiler settings to use we have a plugin that loads the
current workspace compiler settings using JavaCore.getOptions(), and
stores them in a properties file. The batch compiler is invoked using
the -properties argument to point to the saved properties file.
Any ideas as to what might be the cause of the problem?
Powered by FUDForum
. Page generated in 0.02189 seconds