JBoss Tools SVN: r13168 - in trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui: wizard and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-01-21 12:31:58 -0500 (Wed, 21 Jan 2009)
New Revision: 13168
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3602 Fixed
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2009-01-21 17:01:19 UTC (rev 13167)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/preferences/SeamSettingsPreferencePage.java 2009-01-21 17:31:58 UTC (rev 13168)
@@ -321,6 +321,9 @@
private IProject getMainProjectFromField() {
String name = getValue(IParameter.SEAM_PROJECT_NAME).trim();
+ if(name.length()==0) {
+ return null;
+ }
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(name);
if(project!=null && project.exists()) {
return project;
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java 2009-01-21 17:01:19 UTC (rev 13167)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/wizard/SeamWizardUtils.java 2009-01-21 17:31:58 UTC (rev 13168)
@@ -71,8 +71,8 @@
String parentProjectName = seamProject.getParentProjectName();
IProject targetProject = null;
- if (parentProjectName == null) {
- targetProject = project;
+ if (parentProjectName == null || parentProjectName.trim().length()==0) {
+ targetProject = project;
} else {
targetProject = ResourcesPlugin.getWorkspace().getRoot().getProject(parentProjectName);
}
15 years, 11 months
JBoss Tools SVN: r13167 - in trunk/documentation/jboss-tools-docs: index/en and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-01-21 12:01:19 -0500 (Wed, 21 Jan 2009)
New Revision: 13167
Modified:
trunk/documentation/jboss-tools-docs/all-guides.xml
trunk/documentation/jboss-tools-docs/index/en/master.xml
trunk/documentation/jboss-tools-docs/pom.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-528
JMX guide is added to nightly docs build
Modified: trunk/documentation/jboss-tools-docs/all-guides.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/all-guides.xml 2009-01-21 16:45:43 UTC (rev 13166)
+++ trunk/documentation/jboss-tools-docs/all-guides.xml 2009-01-21 17:01:19 UTC (rev 13167)
@@ -313,6 +313,20 @@
<fileMode>0644</fileMode>
<directoryMode>0755</directoryMode>
</fileSet>
+
+ <fileSet>
+ <directory>../../jmx/docs/reference/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jmx_ref_guide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
</fileSets>
</assembly>
\ No newline at end of file
Modified: trunk/documentation/jboss-tools-docs/index/en/master.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/index/en/master.xml 2009-01-21 16:45:43 UTC (rev 13166)
+++ trunk/documentation/jboss-tools-docs/index/en/master.xml 2009-01-21 17:01:19 UTC (rev 13167)
@@ -180,5 +180,15 @@
</primaryie>
</indexentry>
+ <indexentry>
+ <primaryie>JMX Reference Guide <ulink
+ url="en/jmx_ref_guide/html/index.html">(html)</ulink>
+ <ulink url="en/jmx_ref_guide/html_single/index.html">(html single)</ulink>
+ <ulink url="en/jmx_ref_guide/pdf/JMX_Tools_Reference_Guide.pdf"
+ >(pdf)</ulink>
+ </primaryie>
+ </indexentry>
+
+
</index>
</book>
Modified: trunk/documentation/jboss-tools-docs/pom.xml
===================================================================
--- trunk/documentation/jboss-tools-docs/pom.xml 2009-01-21 16:45:43 UTC (rev 13166)
+++ trunk/documentation/jboss-tools-docs/pom.xml 2009-01-21 17:01:19 UTC (rev 13167)
@@ -29,6 +29,7 @@
<module>../../drools/docs/reference</module>
<module>../../smooks/docs/reference</module>
<module>../../jbpm/docs/converter_ref</module>
+ <module>../../jmx/docs/reference</module>
<module>index</module>
</modules>
15 years, 11 months
JBoss Tools SVN: r13166 - trunk/jsf/docs/userguide/en/images/visual_page.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2009-01-21 11:45:43 -0500 (Wed, 21 Jan 2009)
New Revision: 13166
Added:
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_22.png
Log:
https://jira.jboss.org/jira/browse/JBDS-551 - image updated
Added: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_22.png
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_22.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 11 months
JBoss Tools SVN: r13164 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-01-21 11:19:18 -0500 (Wed, 21 Jan 2009)
New Revision: 13164
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/XmlUtil.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2017
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/XmlUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/XmlUtil.java 2009-01-21 15:41:28 UTC (rev 13163)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/XmlUtil.java 2009-01-21 16:19:18 UTC (rev 13164)
@@ -219,7 +219,7 @@
for (TaglibData data : taglibData) {
- if (data.getPrefix() != null && data.getUri().equalsIgnoreCase(uri)) {
+ if (data.getUri() != null && data.getUri().equalsIgnoreCase(uri)) {
return data;
}
}
15 years, 11 months
JBoss Tools SVN: r13163 - in trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor: util and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-01-21 10:41:28 -0500 (Wed, 21 Jan 2009)
New Revision: 13163
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/InsertContributionItem.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/XmlUtil.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2017
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/InsertContributionItem.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/InsertContributionItem.java 2009-01-21 15:19:05 UTC (rev 13162)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/menu/InsertContributionItem.java 2009-01-21 15:41:28 UTC (rev 13163)
@@ -18,6 +18,7 @@
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
+import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.widgets.Menu;
@@ -27,12 +28,15 @@
import org.jboss.tools.common.model.XModelObject;
import org.jboss.tools.common.model.ui.util.ModelUtilities;
import org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor;
+import org.jboss.tools.jst.web.tld.TaglibData;
+import org.jboss.tools.jst.web.tld.URIConstants;
import org.jboss.tools.vpe.editor.VpeEditorPart;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.menu.action.InsertAction;
import org.jboss.tools.vpe.editor.util.Constants;
import org.jboss.tools.vpe.editor.util.NodesManagingUtil;
import org.jboss.tools.vpe.editor.util.SelectionUtil;
+import org.jboss.tools.vpe.editor.util.XmlUtil;
import org.jboss.tools.vpe.messages.VpeUIMessages;
import org.w3c.dom.Node;
@@ -56,6 +60,11 @@
private final static String TAG_ELEMENT_TYPE = "macro"; //$NON-NLS-1$
+ private final static String TAGLIB_ELEMENT_TYPE = "sub-group"; //$NON-NLS-1$
+
+ private final static String LEFT_ANGLE_BRACKET = "<"; //$NON-NLS-1$
+ private final static String RIGHT_ANGLE_BRACKET = ">"; //$NON-NLS-1$
+
private static List<String> INSERT_ITEMS;
static {
INSERT_ITEMS = new ArrayList<String>();
@@ -106,9 +115,11 @@
XModelObject model = ModelUtilities.getPreferenceModel().getByPath(
"%Palette%"); //$NON-NLS-1$
- paletteManuManager
- .addMenuListener(new InsertMenuListener(model, i));
+ paletteManuManager.addMenuListener(new InsertMenuListener(model, i,
+ getSelectionRange(sourceEditor)));
+ paletteManuManager.setRemoveAllWhenShown(true);
+
paletteManuManager.fill(paletteManu, -1);
}
@@ -165,15 +176,25 @@
private XModelObject modelObject;
private int typeAction;
+ private Point selectionRange;
- public InsertMenuListener(XModelObject modelObject, int typeAction) {
+ public InsertMenuListener(XModelObject modelObject, int typeAction,
+ Point selectionRange) {
this.modelObject = modelObject;
this.typeAction = typeAction;
+ this.selectionRange = selectionRange;
}
public void menuAboutToShow(IMenuManager manager) {
XModelObject[] modelObjects = modelObject.getChildren();
+
+ String prefix = null;
+ if (TAGLIB_ELEMENT_TYPE.equals(modelObject
+ .getAttributeValue(ELEMENT_TYPE_PROPERTY))) {
+ prefix = getPrefix(modelObject);
+ }
+
for (int i = 0; i < modelObjects.length; i++) {
if (Constants.YES_STRING.equals(modelObjects[i]
.getAttributeValue(HIDDEN_PROPERTY))) {
@@ -189,8 +210,6 @@
if (!((typeAction == INSERT_AROUND) && ((endText == null) || (endText
.length() == 0)))) {
- Point selectionRange = getSelectionRange(sourceEditor);
-
if (typeAction == INSERT_BEFORE) {
selectionRange.y = 0;
} else if (typeAction == INSERT_AFTER) {
@@ -198,19 +217,26 @@
selectionRange.y = 0;
}
- manager.add(new InsertAction(modelObjects[i]
- .getAttributeValue(NAME_PROPERTY),
- selectionRange, modelObjects[i], pageContext,
- sourceEditor, REPLACE_WITH == this.typeAction));
+ String name = LEFT_ANGLE_BRACKET
+ + (prefix == null || prefix.length() == 0 ? Constants.EMPTY
+ : prefix + Constants.COLON)
+ + modelObjects[i]
+ .getAttributeValue(NAME_PROPERTY)
+ + RIGHT_ANGLE_BRACKET;
+
+ manager.add(new InsertAction(name, selectionRange,
+ modelObjects[i], pageContext, sourceEditor,
+ REPLACE_WITH == this.typeAction));
}
}
else {
MenuManager subMenu = new InsertSubMenuManager(
modelObjects[i].getAttributeValue(NAME_PROPERTY));
+ subMenu.setRemoveAllWhenShown(true);
subMenu.addMenuListener(new InsertMenuListener(
- modelObjects[i], typeAction));
+ modelObjects[i], typeAction, selectionRange));
manager.add(subMenu);
@@ -222,6 +248,27 @@
}
+ private String getPrefix(XModelObject modelObject) {
+
+ List<TaglibData> taglibs = XmlUtil.getTaglibsForNode(
+ (Node) ((IStructuredSelection) sourceEditor
+ .getSelectionProvider().getSelection())
+ .getFirstElement(), pageContext);
+
+ String uri = modelObject
+ .getAttributeValue(URIConstants.LIBRARY_URI);
+ String prefix = null;
+ TaglibData sourceNodeTaglib = XmlUtil.getTaglibForURI(uri, taglibs);
+
+ if (sourceNodeTaglib == null)
+ prefix = modelObject
+ .getAttributeValue(URIConstants.DEFAULT_PREFIX);
+ else
+ prefix = sourceNodeTaglib.getPrefix();
+
+ return prefix;
+ }
+
}
/**
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/XmlUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/XmlUtil.java 2009-01-21 15:19:05 UTC (rev 13162)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/XmlUtil.java 2009-01-21 15:41:28 UTC (rev 13163)
@@ -207,7 +207,25 @@
}
return null;
}
+
/**
+ *
+ * @param uri
+ * @param taglibData
+ * @return
+ */
+ public static TaglibData getTaglibForURI(String uri,
+ List<TaglibData> taglibData) {
+
+ for (TaglibData data : taglibData) {
+
+ if (data.getPrefix() != null && data.getUri().equalsIgnoreCase(uri)) {
+ return data;
+ }
+ }
+ return null;
+ }
+ /**
* Creates clone node
* @param cloneNode
* @return
15 years, 11 months
JBoss Tools SVN: r13162 - in trunk/seam/docs/reference/en: images and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-01-21 10:19:05 -0500 (Wed, 21 Jan 2009)
New Revision: 13162
Added:
trunk/seam/docs/reference/en/images/adding_seam_support_to_project/
trunk/seam/docs/reference/en/images/adding_seam_support_to_project/added_seam_support_to_ear_project.png
trunk/seam/docs/reference/en/images/adding_seam_support_to_project/adding_seam_support_to_ejb_project.png
trunk/seam/docs/reference/en/images/adding_seam_support_to_project/adding_seam_support_to_war_project.png
trunk/seam/docs/reference/en/images/adding_seam_support_to_project/application_xml_with_jboss-seam_jar.png
trunk/seam/docs/reference/en/images/adding_seam_support_to_project/including_libs.png
trunk/seam/docs/reference/en/images/adding_seam_support_to_project/including_libs_from_ear_to_ejb_manifest_class-path.png
trunk/seam/docs/reference/en/images/adding_seam_support_to_project/including_libs_from_ear_to_war_manifest_class-path.png
trunk/seam/docs/reference/en/images/adding_seam_support_to_project/java_ee_module_dependencies.png
trunk/seam/docs/reference/en/images/adding_seam_support_to_project/wtp_projects.png
trunk/seam/docs/reference/en/modules/adding_seam_support_to_ear_project.xml
Modified:
trunk/seam/docs/reference/en/master.xml
trunk/seam/docs/reference/en/modules/directory_structure.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-565
Adding Seam support to EAR project
Added: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/added_seam_support_to_ear_project.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/added_seam_support_to_ear_project.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/adding_seam_support_to_ejb_project.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/adding_seam_support_to_ejb_project.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/adding_seam_support_to_war_project.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/adding_seam_support_to_war_project.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/application_xml_with_jboss-seam_jar.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/application_xml_with_jboss-seam_jar.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/including_libs.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/including_libs.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/including_libs_from_ear_to_ejb_manifest_class-path.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/including_libs_from_ear_to_ejb_manifest_class-path.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/including_libs_from_ear_to_war_manifest_class-path.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/including_libs_from_ear_to_war_manifest_class-path.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/java_ee_module_dependencies.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/java_ee_module_dependencies.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/wtp_projects.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/adding_seam_support_to_project/wtp_projects.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/seam/docs/reference/en/master.xml
===================================================================
--- trunk/seam/docs/reference/en/master.xml 2009-01-21 14:42:10 UTC (rev 13161)
+++ trunk/seam/docs/reference/en/master.xml 2009-01-21 15:19:05 UTC (rev 13162)
@@ -10,12 +10,14 @@
<!ENTITY generate_entities SYSTEM "modules/generate_entities.xml">
<!ENTITY seam_editors SYSTEM "modules/seam_editors.xml">
<!ENTITY seam_view SYSTEM "modules/seam_view.xml">
- <!ENTITY seam_preferences SYSTEM "modules/seam_preferences.xml">
+<!ENTITY seam_preferences SYSTEM "modules/seam_preferences.xml">
+<!ENTITY adding_seam_support_to_ear_project SYSTEM "modules/adding_seam_support_to_ear_project.xml">
<!ENTITY crud_database_application SYSTEM "modules/crud_database_application.xml">
<!ENTITY crud_application_walkthrough SYSTEM "modules/crud_application_walkthrough.xml">
<!ENTITY business_application SYSTEM "modules/business_application.xml">
<!ENTITY testng SYSTEM "modules/testng.xml">
+
<!ENTITY seamlink "../../seam/html_single/index.html">
<!ENTITY aslink "../../as/html_single/index.html">
<!ENTITY esblink "../../esb_ref_guide/html_single/index.html">
@@ -69,6 +71,7 @@
&seam_editors;
&seam_view;
&seam_preferences;
+&adding_seam_support_to_ear_project;
&crud_database_application;
&crud_application_walkthrough;
&testng;
Added: trunk/seam/docs/reference/en/modules/adding_seam_support_to_ear_project.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/adding_seam_support_to_ear_project.xml (rev 0)
+++ trunk/seam/docs/reference/en/modules/adding_seam_support_to_ear_project.xml 2009-01-21 15:19:05 UTC (rev 13162)
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<chapter id="adding_seam_support_to_ear_project" xreflabel="adding_seam_support_to _ear_project">
+ <?dbhtml filename="adding_seam_support_to _ear_project.html"?>
+ <chapterinfo>
+ <keywordset>
+ <keyword>EAR</keyword>
+ <keyword>Seam</keyword>
+ <keyword></keyword>
+ <keyword></keyword>
+ </keywordset>
+ </chapterinfo>
+
+ <title>Adding Seam support to EAR project</title>
+ <para>From this chapter you will find out how to add Seam support to EAR project</para>
+ <para>For example you have several WTP projects:</para>
+
+ <itemizedlist>
+ <listitem><para> seamproject-ear (You can create WTP EAR project using New -> Project -> Java EE -> Enterprise Application Project wizard)</para></listitem>
+ <listitem><para> seamproject-ejb (You can create WTP EJB project using New -> Project -> EJB -> EJB Project wizard)</para></listitem>
+ <listitem><para> seamproject-war (You can create WTP WEB project using New -> Project -> Web -> Dynamic Web Project wizard)</para></listitem>
+ </itemizedlist>
+
+ <tip><title>Tip</title>
+ <para>You can add as many EJBs modules as you want just doing the same for each EJB project.</para></tip>
+
+ <figure>
+ <title>WTP Projects</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/adding_seam_support_to_project/wtp_projects.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Make sure EJB and WAR are included in EAR as modules (Properties for seamproject-ear -> Java EE Module Dependencies)</para>
+
+ <figure>
+ <title>Java EE Module Dependencies</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/adding_seam_support_to_project/java_ee_module_dependencies.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Make sure there is jboss-seam.jar in application.xml as well:</para>
+
+ <figure>
+ <title>Java EE Module Dependencies</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/adding_seam_support_to_project/application_xml_with_jboss-seam_jar.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+
+ <para>Then include libs from EAR to EJB Manifest Class-Path (Properties for seamproject-ejb -> Java EE Module Dependencies)</para>
+
+ <figure>
+ <title>Including Libs from EAR to EJB Manifest Class-Path</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/adding_seam_support_to_project/including_libs_from_ear_to_ejb_manifest_class-path.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Include libs from EAR and seamproject-ejb.jar to WAR Manifest Class-Path (Properties for seamproject-war -> Java EE Module Dependencies)</para>
+
+ <figure>
+ <title>Including Libs from EAR and seamproject-ejb.jar to WAR Manifest Class-Path</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/adding_seam_support_to_project/including_libs_from_ear_to_war_manifest_class-path.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Thus we have set our WTP EAR/EJB/WAR projects and now we are ready to add Seam support to them:</para>
+
+ <para>First you have to add Seam support to WAR project: Properties for seamproject-war -> Seam Settings</para>
+
+
+ <figure>
+ <title>Adding Seam Support to WAR Project</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/adding_seam_support_to_project/adding_seam_support_to_war_project.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+
+ <para>Set seamproject-war as Main Seam project. All other settings mostly are used by New Seam Entity/Action/Form/Conversation/... Wizards. Thus you can set them as you wish.</para>
+
+ <para>Then you can add Seam support to EJB project: Properties for seamproject-war -> Seam Settings</para>
+
+ <figure>
+ <title>Adding Seam Support to EJB Project</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/adding_seam_support_to_project/adding_seam_support_to_ejb_project.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>It&s important to set seamproject-war project as main Seam project there.</para>
+ <para>It will allow Seam Tools to use one common Seam model for seamproject-ejb and seamproject-war projects.</para>
+
+ <para>The last step is to clean/build the projects</para>
+
+ <para>That is all. You have added Seam support to your EAR project. </para>
+
+ <figure>
+ <title>Added Seam Support to EAR Project</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/adding_seam_support_to_project/added_seam_support_to_ear_project.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+</chapter>
\ No newline at end of file
Modified: trunk/seam/docs/reference/en/modules/directory_structure.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/directory_structure.xml 2009-01-21 14:42:10 UTC (rev 13161)
+++ trunk/seam/docs/reference/en/modules/directory_structure.xml 2009-01-21 15:19:05 UTC (rev 13162)
@@ -64,7 +64,7 @@
<para>The project layout for EAR projects is:</para>
<figure>
- <title>Project Layout for WAR projects</title>
+ <title>Project Layout for EAR projects</title>
<mediaobject>
<imageobject>
<imagedata fileref="images/directory_structure/directory_structure_2.png"
15 years, 11 months
JBoss Tools SVN: r13161 - trunk/documentation/development/setup/launches.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2009-01-21 09:42:10 -0500 (Wed, 21 Jan 2009)
New Revision: 13161
Added:
trunk/documentation/development/setup/launches/JBoss Tools.launch
Log:
bring back JBT launch
Added: trunk/documentation/development/setup/launches/JBoss Tools.launch
===================================================================
--- trunk/documentation/development/setup/launches/JBoss Tools.launch (rev 0)
+++ trunk/documentation/development/setup/launches/JBoss Tools.launch 2009-01-21 14:42:10 UTC (rev 13161)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.pde.ui.RuntimeWorkbench">
+<booleanAttribute key="append.args" value="true"/>
+<booleanAttribute key="askclear" value="true"/>
+<booleanAttribute key="automaticAdd" value="true"/>
+<booleanAttribute key="automaticValidate" value="false"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="false"/>
+<booleanAttribute key="clearws" value="true"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/JBoss Tools"/>
+<booleanAttribute key="default" value="true"/>
+<booleanAttribute key="includeOptional" value="true"/>
+<stringAttribute key="location" value="${workspace_loc}/../runtime-New_configuration"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl}"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xms128m -Xmx512m -XX:MaxPermSize=128m"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="org.eclipse.platform.ide"/>
+<booleanAttribute key="show_selected_only" value="false"/>
+<stringAttribute key="templateConfig" value="${target_home}\configuration\config.ini"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="true"/>
+<booleanAttribute key="useProduct" value="true"/>
+<booleanAttribute key="usefeatures" value="false"/>
+</launchConfiguration>
15 years, 11 months