Summary: | Eclipse compiler chosen complaince level as 1.4 with source 1.4 target 1.5 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Ashok B <ashokkumar.bala> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED INVALID | QA Contact: | |||||
Severity: | major | ||||||
Priority: | P3 | CC: | Olivier_Thomann, srikanth_sankaran | ||||
Version: | 3.2.2 | ||||||
Target Milestone: | 3.6 M5 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Ashok B
2010-01-21 01:13:39 EST
Created attachment 156759 [details]
Testcase - Build xml file
If you want to do this, you should add a nested compilearg element inside the javac task. <project name="buildfile " default="build"> <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter" /> <target name="build"> <mkdir dir="c:/tmp/bin"/> <javac destdir="c:/tmp/bin" target="1.5" source="1.4"> <compilerarg compiler="org.eclipse.jdt.core.JDTCompilerAdapter" line="-1.5" /> <src path="C:/tmp/testlib"/> </javac> </target> </project> You should always set the build.compiler property. Closing as INVALID as the problem comes from a wrong way to invoke the batch compiler. Reopen if the code above doesn't fix your issue. Verified for 3.6M5 |