Java Facet question [message #255771] |
Wed, 20 August 2008 09:21  |
Eclipse User |
|
|
|
Hi,
We create a project based on the java and web facets. On Eclipse 3.4, the
java facet version is 5.0, but we are explicitly setting 1.4. This worked
in Eclipse 3.2. Is there another technique to specify the version we
want?
Thanks,
bouge
// Add the java facet to datamodel
IDataModel javaFacet = DataModelFactory.createDataModel( new
JavaFacetInstallDataModelProvider());
javaFacet.setProperty(IJavaFacetInstallDataModelProperties.S OURCE_FOLDER_NAME,
contentDir + "/WEB-INF/work/source"); //$NON-NLS-1$
javaFacet.setProperty(IFacetDataModelProperties.FACET_VERSIO N_STR, "1.4");
//$NON-NLS-1$
|
|
|
|
Powered by
FUDForum. Page generated in 0.04146 seconds