Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Java Facet question
Java Facet question [message #255771] Wed, 20 August 2008 09:21 Go to next message
Eclipse UserFriend
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$
Re: Java Facet question [message #255781 is a reply to message #255771] Wed, 20 August 2008 09:57 Go to previous message
Eclipse UserFriend
I should also add that the source folder is also being ignored in eclipse
3.4.
Previous Topic:Eclipse 3.4 un-Format HTML tags is unavailable
Next Topic:Manipulating the Package Explorer
Goto Forum:
  


Current Time: Wed Sep 17 13:33:22 EDT 2025

Powered by FUDForum. Page generated in 0.04146 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top