Author: fbricon
Date: 2012-02-03 09:50:46 -0500 (Fri, 03 Feb 2012)
New Revision: 38413
Modified:
trunk/maven/plugins/org.jboss.tools.maven.seam/about.html
trunk/maven/plugins/org.jboss.tools.maven.seam/about.properties
trunk/maven/plugins/org.jboss.tools.maven.seam/plugin.properties
trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/maven/seam/configurators/SeamProjectConfigurator.java
Log:
JBIDE-10789 : replace "Integration Seam projects with Maven" labels with
"JBoss Maven Seam Configurator"
Modified: trunk/maven/plugins/org.jboss.tools.maven.seam/about.html
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.seam/about.html 2012-02-03 14:35:51 UTC (rev
38412)
+++ trunk/maven/plugins/org.jboss.tools.maven.seam/about.html 2012-02-03 14:50:46 UTC (rev
38413)
@@ -3,7 +3,7 @@
<html
xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" />
-<title>Integration Seam projects with Maven</title>
+<title>JBoss Maven Seam Configurator</title>
<style type="text/css" media="screen">
<!--
body {
@@ -14,7 +14,7 @@
</style>
</head>
<body>
-<h1>Integration Seam projects with Maven</h1>
+<h1>JBoss Maven Seam Configurator</h1>
<p>
This plugin is part of the JBoss Tools developed by the <a
href="http://www.jboss.com">JBoss Inc.</a>
Modified: trunk/maven/plugins/org.jboss.tools.maven.seam/about.properties
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.seam/about.properties 2012-02-03 14:35:51
UTC (rev 38412)
+++ trunk/maven/plugins/org.jboss.tools.maven.seam/about.properties 2012-02-03 14:50:46
UTC (rev 38413)
@@ -1,2 +1,2 @@
-blurb=Integration Seam projects with Maven\n\nVersion\: {featureVersion}\n\n(c) Copyright
(c) Red Hat, Inc., contributors and others 2004 - 2010. All rights reserved.\nVisit
http\://jboss.org/tools
+blurb=JBoss Maven Seam Configurator\n\nVersion\: {featureVersion}\n\n(c) Copyright (c)
Red Hat, Inc., contributors and others 2004 - 2010. All rights reserved.\nVisit
http\://jboss.org/tools
Modified: trunk/maven/plugins/org.jboss.tools.maven.seam/plugin.properties
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.seam/plugin.properties 2012-02-03 14:35:51
UTC (rev 38412)
+++ trunk/maven/plugins/org.jboss.tools.maven.seam/plugin.properties 2012-02-03 14:50:46
UTC (rev 38413)
@@ -1,5 +1,5 @@
#Properties file for org.jboss.tools.maven.seam
Bundle-Vendor = JBoss by Red Hat
-Bundle-Name = Integration Seam projects with Maven
+Bundle-Name = JBoss Maven Seam Configurator
Seam_Project_configurator = Seam
Fix_classpath = Fixing classpath
\ No newline at end of file
Modified:
trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/maven/seam/configurators/SeamProjectConfigurator.java
===================================================================
---
trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/maven/seam/configurators/SeamProjectConfigurator.java 2012-02-03
14:35:51 UTC (rev 38412)
+++
trunk/maven/plugins/org.jboss.tools.maven.seam/src/org/jboss/tools/maven/seam/configurators/SeamProjectConfigurator.java 2012-02-03
14:50:46 UTC (rev 38413)
@@ -299,6 +299,7 @@
if (!fproj.hasProjectFacet(dynamicWebFacet)) {
fproj.installProjectFacet(dynamicWebVersion, null, monitor);
}
+ //Seam requires the JSF facet (!!!)
installJSFFacet(fproj, monitor);
installM2Facet(fproj, monitor);
if (!fproj.hasProjectFacet(seamFacet)) {
@@ -371,8 +372,7 @@
try {
SeamUtil.enableSeamSupport(project);
for (int i = 0; i < earProjects.length; i++) {
- IEclipsePreferences prefs = SeamCorePlugin
- .getSeamPreferences(project);
+ IEclipsePreferences prefs = SeamCorePlugin.getSeamPreferences(project);
String seamParentProject =
prefs.get(ISeamFacetDataModelProperties.SEAM_PARENT_PROJECT,null);
if (seamParentProject == null) {
IProject earProject = earProjects[i];
@@ -428,8 +428,7 @@
if (component != null) {
IVirtualReference[] references = component.getReferences();
for (int i = 0; i < references.length; i++) {
- IVirtualComponent refComponent = references[i]
- .getReferencedComponent();
+ IVirtualComponent refComponent = references[i].getReferencedComponent();
IProject refProject = refComponent.getProject();
if (JavaEEProjectUtilities.isEJBProject(refProject)) {
if (refProject.hasNature(IMavenConstants.NATURE_ID)) {