Anonymous | Login | Signup for a new account | 12-17-2024 11:37 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002016 | [Resin] | feature | always | 09-19-07 04:48 | 10-02-07 07:23 | ||||
Reporter | stbu | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.3 | Product Version | 3.1.3 | ||||
Product Build | |||||||||
Summary | 0002016: <javac compiler="eclipse" args="-source 1.6"/> doesn't work | ||||||||
Description |
When I change the compiler settings in resin.conf to <javac compiler="javac" args="-source 1.6"/> or <javac compiler="internal" args="-source 1.6"/> both works as expected. However, <javac compiler="eclipse" args="-source 1.6"/> produces the following exception: 500 Servlet Exception source level should be comprised in between '1.3' and '1.5' (or '5' or '5.0'): 1.6 com.caucho.java.JavaCompileException: source level should be comprised in between '1.3' and '1.5' (or '5' or '5.0'): 1.6 at com.caucho.java.EclipseCompiler.executeInt(EclipseCompiler.java:210) at com.caucho.java.EclipseCompiler.compileInt(EclipseCompiler.java:84) at com.caucho.java.AbstractJavaCompiler.run(AbstractJavaCompiler.java:98) at java.lang.Thread.run(Thread.java:619) I have searched a bit in eclipse documentations and found: Eclipse 3.1.2 documentation: http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm [^] ... Which options are available? ... -source 1.3|1.4|1.5|5|5.0 => This seams to be what's currently included in Resin-3.1 branch. Eclipse 3.2.1 documentation: http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm [^] ... Which options are available? ... -source 1.3|1.4|1.5|5|5.0|1.6|6|6.0 => This would already offer "-source 1.6" option. Eclipse 3.3 documentation: http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm [^] ... Which options are available? ... -source 1.1 to 1.7 or (5, 5.0, etc) => This would even offer "-source 1.7" option. Would you mind to upgrade the eclipse-compiler.jar included in Resin Distribution to the one of Eclipse 3.2 or 3.3? |
||||||||
Steps To Reproduce | |||||||||
Additional Information | My Environment: resin-pro-3.1.s070917, Windows XP, Java 6 | ||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |