[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Importing WAR file sets Java compiler compliance level to 1.4

Is there a way to make it set the compliance level to 5?
By setting it to 1.4, a full build is kicked off which we don't want to happen. Plus Java 5 constructs throw errors.


The file org.eclipse.jdt.core.prefs that gets created in the .settings folder contains the line
org.eclipse.jdt.core.compiler.compliance=1.4


This file is automatically created by the import WAR process which I am invoking programmatically. Is there a way to ask it to create this file with a 5 level?

Appreciate any insight.

Thanks,
Satish