Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 382012 - [batch] Batch compiler is not honouring the javadoc enablement preference property
Summary: [batch] Batch compiler is not honouring the javadoc enablement preference pro...
Status: VERIFIED DUPLICATE of bug 375366
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.3 M3   Edit
Assignee: Ayushman Jain CLA
QA Contact:
URL:
Whiteboard: To be verified for 4.4 M1
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-07 10:54 EDT by Satyam Kandula CLA
Modified: 2013-08-06 07:37 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Satyam Kandula CLA 2012-06-07 10:54:25 EDT
Batch compiler, when specified through the -properties argument doesn't honour the javadoc enablement property - org.eclipse.jdt.core.compiler.doc.comment.support. 

It only honours properties starting with the string org.eclipse.jdt.core.compiler.problem.

The solution is to also add -warn:+javadoc to the command line and may be this is good enough. However, I think it it won't be obvious to the users and better to be honoured.
Comment 1 Olivier Thomann CLA 2012-06-07 11:00:12 EDT
I think -enableJavadoc is probably the option you also need, but it should work from the properties file.
It should honor all properties starting with "org.eclipse.jdt.core.compiler.".
Comment 2 Ayushman Jain CLA 2012-06-11 06:28:13 EDT
The proposal in bug 375366 should also work for this i.e. enable javadoc processing if any javadoc option is found in the .properties file

*** This bug has been marked as a duplicate of bug 375366 ***
Comment 3 Manoj N Palat CLA 2013-08-06 07:37:39 EDT
Verified for Eclipse Luna 4.4 M1 Build id: I20130805-0800