Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Indigo JDT batch compiler issue
Indigo JDT batch compiler issue [message #690062] Tue, 28 June 2011 22:28 Go to next message
Bruce Kelly is currently offline Bruce KellyFriend
Messages: 63
Registered: July 2009
Member
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?

Thanks, Bruce
Re: Indigo JDT batch compiler issue [message #690066 is a reply to message #690062] Tue, 28 June 2011 22:40 Go to previous messageGo to next message
Olivier Thomann is currently offline Olivier ThomannFriend
Messages: 518
Registered: July 2009
Senior Member
Try to add:
-enableJavadoc as an argument to the batch compiler.

HTH,

Olivier
Re: Indigo JDT batch compiler issue [message #690634 is a reply to message #690066] Wed, 29 June 2011 21:18 Go to previous message
Bruce Kelly is currently offline Bruce KellyFriend
Messages: 63
Registered: July 2009
Member
In article <iudkmm$c1a$1@news.eclipse.org>, forums-noreply@eclipse.org
says...
>
> Try to add:
> -enableJavadoc as an argument to the batch compiler.
>
> HTH,
>
> Olivier

That fixed the problem.

Thanks, Bruce
Previous Topic:Eclipse (helios) doesn't launch
Next Topic:jdbc generic connection code?
Goto Forum:
  


Current Time: Tue Mar 19 03:20:15 GMT 2024

Powered by FUDForum. Page generated in 0.03012 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top