[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-6345) JRE System Library isn't added while creating Struts, JSF or Seam project

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Tue Jun 8 06:38:38 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Rydahl Andersen updated JBIDE-6345:
---------------------------------------

    Fix Version/s: 3.2.0.M1
         Priority: Blocker  (was: Major)


The reason is jst.java is now java and versions for java 5 and 6 has changed.

See wtp post here: http://www.mail-archive.com/wtp-dev@eclipse.org/msg05104.html

We need to check our codebase for jst.java string references and version comparisons.

It should use API to access this instead of strings.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=298906 outlines how this would work:

Use stuff like: 
IFacetedProject facetedProject = ProjectFacetsManager.create(project);
IProjectFacetVersion javaFacetVersion =
facetedProject.getInstalledVersion(JavaFacet.FACET);
if(javaFacetVersion == JavaFacet.JAVA_50) {

instead of: 
IFacetedProject facetedProject = ProjectFacetsManager.create(project);
IProjectFacet javaFacet = ProjectFacetsManager.getProjectFacet("jst.java");
IProjectFacetVersion javaFacetVersion =
facetedProject.getInstalledVersion(javaFacet);
String javaVersion = javaFacetVersion.getVersionString();
if(javaVersion.equals("5.0")) { ...


> JRE System Library isn't added while creating Struts, JSF or Seam project
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-6345
>                 URL: https://jira.jboss.org/browse/JBIDE-6345
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: JBossAS
>    Affects Versions: 3.2-Helios
>         Environment: Eclipse 3.6M6
>            Reporter: Victor Rubezhny
>            Assignee: Rob Stryker
>            Priority: Blocker
>             Fix For: 3.2-Helios, 3.2.0.M1
>
>
> When creating Struts, JSF or Seam project the JRE System Library isn't added, so the java classes in Source Folders cannot be compiled.
> The WTP's Dynamic Web project creation wizard acts in the same way (It doesn't adds the JRE System Library to the project)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list