JBoss Tools SVN: r11168 - workspace/examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-10-24 12:07:19 -0400 (Fri, 24 Oct 2008)
New Revision: 11168
Modified:
workspace/examples/projectExamples.xml
Log:
JBIDE-2986 Exception is occurred while adding Seam booking example - EAR into workspace
Modified: workspace/examples/projectExamples.xml
===================================================================
--- workspace/examples/projectExamples.xml 2008-10-24 15:53:56 UTC (rev 11167)
+++ workspace/examples/projectExamples.xml 2008-10-24 16:07:19 UTC (rev 11168)
@@ -3,9 +3,9 @@
<category>Seam</category>
<name>dvdstore</name>
<shortDescription>Seam DVD Store Example - WAR</shortDescription>
- <description>This example demonstrates the use of Seam with jBPM
- pageflow and business process management. It runs on JBoss AS and
- Tomcat.</description>
+ <description>This example demonstrates the use of Seam with jBPM pageflow and business process management.
+It requires the dvdstore-ear and dvdstore-ejb projects.
+ </description>
<size>962000</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
@@ -16,9 +16,9 @@
<category>Seam</category>
<name>dvdstore-ejb</name>
<shortDescription>Seam DVD Store Example - EJB</shortDescription>
- <description>This example demonstrates the use of Seam with jBPM
- pageflow and business process management. It runs on JBoss AS and
- Tomcat.</description>
+ <description>This example demonstrates the use of Seam with jBPM pageflow and business process management.
+It requires the dvdstore and dvdstore-ear projects.
+ </description>
<size>589000</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
@@ -29,9 +29,9 @@
<category>Seam</category>
<name>dvdstore-ear</name>
<shortDescription>Seam DVD Store Example - EAR</shortDescription>
- <description>This example demonstrates the use of Seam with jBPM
- pageflow and business process management. It runs on JBoss AS and
- Tomcat.</description>
+ <description>This example demonstrates the use of Seam with jBPM pageflow and business process management.
+It requires the dvdstore and dvdstore-ejb projects.
+ </description>
<size>5700000</size>
<url>
http://anonsvn.jboss.org/repos/jbosstools/workspace/snjeza/seam-examples/...
@@ -45,6 +45,7 @@
<description>This example demonstrates the use of Seam in a Java EE 5 environment.
Transaction and persistence context management is handled by the EJB container.
This example can also run in Tomcat with JBoss Embedded.
+It requires the booking-ejb and booking-ear projects.
</description>
<size>2900000</size>
<url>
@@ -59,6 +60,7 @@
<description>This example demonstrates the use of Seam in a Java EE 5 environment.
Transaction and persistence context management is handled by the EJB container.
This example can also run in Tomcat with JBoss Embedded.
+It requires the booking and booking-ear projects.
</description>
<size>70000</size>
<url>
@@ -73,6 +75,7 @@
<description>This example demonstrates the use of Seam in a Java EE 5 environment.
Transaction and persistence context management is handled by the EJB container.
This example can also run in Tomcat with JBoss Embedded.
+It requires the booking and booking-ejb projects.
</description>
<size>4700000</size>
<url>
16 years, 2 months
JBoss Tools SVN: r11167 - workspace/examples.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-10-24 11:53:56 -0400 (Fri, 24 Oct 2008)
New Revision: 11167
Modified:
workspace/examples/projectExamples.xml
Log:
JBIDE-2986 Exception is occurred while adding Seam booking example - EAR into workspace
Modified: workspace/examples/projectExamples.xml
===================================================================
--- workspace/examples/projectExamples.xml 2008-10-24 15:41:20 UTC (rev 11166)
+++ workspace/examples/projectExamples.xml 2008-10-24 15:53:56 UTC (rev 11167)
@@ -68,7 +68,7 @@
<project>
<category>Seam</category>
- <name>booking-ejb</name>
+ <name>booking-ear</name>
<shortDescription>Seam Booking Example - EAR</shortDescription>
<description>This example demonstrates the use of Seam in a Java EE 5 environment.
Transaction and persistence context management is handled by the EJB container.
16 years, 2 months
JBoss Tools SVN: r11166 - trunk/struts/docs/struts_tools_ref_guide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-10-24 11:41:20 -0400 (Fri, 24 Oct 2008)
New Revision: 11166
Modified:
trunk/struts/docs/struts_tools_ref_guide/en/modules/rel_resources_links.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-447 - adding concluding part;
Modified: trunk/struts/docs/struts_tools_ref_guide/en/modules/rel_resources_links.xml
===================================================================
--- trunk/struts/docs/struts_tools_ref_guide/en/modules/rel_resources_links.xml 2008-10-24 14:27:10 UTC (rev 11165)
+++ trunk/struts/docs/struts_tools_ref_guide/en/modules/rel_resources_links.xml 2008-10-24 15:41:20 UTC (rev 11166)
@@ -16,4 +16,16 @@
<para>Find out necessary information on <ulink url="http://struts.apache.org/">Struts
technology</ulink> if you don't know enough.</para>
+ <para>In summary, this reference should help you to get familiar with those parts of
+ <property>JBoss Tools</property> which are meant for development with Struts
+ technology. If you've carefully gone through the document, you should know
+ now how to create/import Struts project or enable Struts capabilities for an
+ existing web project as well as organize and edit all necessary staff for your
+ Struts application using a set of views and editors provided by <property>JBoss
+ Tools</property>.</para>
+
+ <para>If you'd like to contribute your feedback is always appreciated. You can
+ leave your questions and suggestions on our <ulink
+ url="http://www.jboss.com/index.html?module=bb&op=viewforum&f=201"
+ >Forum</ulink>.</para>
</chapter>
16 years, 2 months
JBoss Tools SVN: r11165 - branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-10-24 10:27:10 -0400 (Fri, 24 Oct 2008)
New Revision: 11165
Modified:
branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ExceptionEditPart.java
Log:
JBIDE-2306
Modified: branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ExceptionEditPart.java
===================================================================
--- branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ExceptionEditPart.java 2008-10-24 14:24:46 UTC (rev 11164)
+++ branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ExceptionEditPart.java 2008-10-24 14:27:10 UTC (rev 11165)
@@ -263,6 +263,7 @@
public void notifyChanged(Notification notification) {
refresh();
refreshVisuals();
+ getFigure().repaint();
}
/**
* )
16 years, 2 months
JBoss Tools SVN: r11164 - branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-10-24 10:24:46 -0400 (Fri, 24 Oct 2008)
New Revision: 11164
Modified:
branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java
Log:
JBIDE-2306
Modified: branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java
===================================================================
--- branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java 2008-10-24 14:17:35 UTC (rev 11163)
+++ branches/jbosstools-3.0.0.Beta1/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java 2008-10-24 14:24:46 UTC (rev 11164)
@@ -75,11 +75,28 @@
reset();
XModelObject[] sourcePages = config.getChildByPath(FOLDER_PAGES).getChildren();
+ XModelObject[] cs = diagram.getChildren();
+ Map<XModelObject,XModelObject> old = new HashMap<XModelObject, XModelObject>();
+ for (int i = 0; i < cs.length; i++) {
+ if(cs[i] instanceof ReferenceObject) {
+ XModelObject k = ((ReferenceObject)cs[i]).getReference();
+ if(k != null) old.put(k, cs[i]);
+ }
+ }
+
for (int i = 0; i < sourcePages.length; i++) {
String view = sourcePages[i].getAttributeValue(ATTR_VIEW_ID);
if(view == null) continue;
String pp = toNavigationRulePathPart(view);
- XModelObject g = findOrCreateItem(view, pp, TYPE_PAGE);
+ XModelObject og = old.get(sourcePages[i]);
+ if(og != null) {
+ String opp = og.getPathPart();
+ if(!pp.equals(opp)) {
+ pageItems.remove(opp);
+ og.setAttributeValue(ATTR_NAME, pp);
+ }
+ }
+ XModelObject g = og != null ? og : findOrCreateItem(view, pp, TYPE_PAGE);
((ReferenceObjectImpl)g).setReference(sourcePages[i]);
pageItems.put(pp, g);
pageViewIds.add(view);
@@ -102,7 +119,16 @@
for (int i = 0; i < sourceExceptions.length; i++) {
String code = sourceExceptions[i].getAttributeValue("class");
String pp = "exception:" + code;
- XModelObject g = findOrCreateItem(code, pp, TYPE_EXCEPTION);
+ XModelObject og = old.get(sourceExceptions[i]);
+ if(og != null) {
+ String opp = og.getPathPart();
+ if(!pp.equals(opp)) {
+ exceptionItems.remove(opp);
+ og.setAttributeValue(ATTR_NAME, pp);
+ ((ReferenceObjectImpl)og).setReference(null);
+ }
+ }
+ XModelObject g = og != null ? og : findOrCreateItem(code, pp, TYPE_EXCEPTION);
((ReferenceObjectImpl)g).setReference(sourceExceptions[i]);
exceptionItems.put(pp, g);
addTarget(sourceExceptions[i], false);
16 years, 2 months
JBoss Tools SVN: r11163 - trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-10-24 10:17:35 -0400 (Fri, 24 Oct 2008)
New Revision: 11163
Modified:
trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java
Log:
JBIDE-2306
Modified: trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java 2008-10-24 14:17:08 UTC (rev 11162)
+++ trunk/seam/plugins/org.jboss.tools.seam.pages.xml/src/org/jboss/tools/seam/pages/xml/model/helpers/SeamPagesDiagramHelper.java 2008-10-24 14:17:35 UTC (rev 11163)
@@ -75,11 +75,28 @@
reset();
XModelObject[] sourcePages = config.getChildByPath(FOLDER_PAGES).getChildren();
+ XModelObject[] cs = diagram.getChildren();
+ Map<XModelObject,XModelObject> old = new HashMap<XModelObject, XModelObject>();
+ for (int i = 0; i < cs.length; i++) {
+ if(cs[i] instanceof ReferenceObject) {
+ XModelObject k = ((ReferenceObject)cs[i]).getReference();
+ if(k != null) old.put(k, cs[i]);
+ }
+ }
+
for (int i = 0; i < sourcePages.length; i++) {
String view = sourcePages[i].getAttributeValue(ATTR_VIEW_ID);
if(view == null) continue;
String pp = toNavigationRulePathPart(view);
- XModelObject g = findOrCreateItem(view, pp, TYPE_PAGE);
+ XModelObject og = old.get(sourcePages[i]);
+ if(og != null) {
+ String opp = og.getPathPart();
+ if(!pp.equals(opp)) {
+ pageItems.remove(opp);
+ og.setAttributeValue(ATTR_NAME, pp);
+ }
+ }
+ XModelObject g = og != null ? og : findOrCreateItem(view, pp, TYPE_PAGE);
((ReferenceObjectImpl)g).setReference(sourcePages[i]);
pageItems.put(pp, g);
pageViewIds.add(view);
@@ -102,7 +119,16 @@
for (int i = 0; i < sourceExceptions.length; i++) {
String code = sourceExceptions[i].getAttributeValue("class");
String pp = "exception:" + code;
- XModelObject g = findOrCreateItem(code, pp, TYPE_EXCEPTION);
+ XModelObject og = old.get(sourceExceptions[i]);
+ if(og != null) {
+ String opp = og.getPathPart();
+ if(!pp.equals(opp)) {
+ exceptionItems.remove(opp);
+ og.setAttributeValue(ATTR_NAME, pp);
+ ((ReferenceObjectImpl)og).setReference(null);
+ }
+ }
+ XModelObject g = og != null ? og : findOrCreateItem(code, pp, TYPE_EXCEPTION);
((ReferenceObjectImpl)g).setReference(sourceExceptions[i]);
exceptionItems.put(pp, g);
addTarget(sourceExceptions[i], false);
16 years, 2 months
JBoss Tools SVN: r11162 - branches/jbosstools-3.0.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-10-24 10:17:08 -0400 (Fri, 24 Oct 2008)
New Revision: 11162
Modified:
branches/jbosstools-3.0.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/Utils.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2937
copy paste block removed
project existence check added
Modified: branches/jbosstools-3.0.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/Utils.java
===================================================================
--- branches/jbosstools-3.0.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/Utils.java 2008-10-24 14:16:21 UTC (rev 11161)
+++ branches/jbosstools-3.0.0.Beta1/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/Utils.java 2008-10-24 14:17:08 UTC (rev 11162)
@@ -62,19 +62,14 @@
IProject[] projects = root.getProjects();
ICompilationUnit resCompilationUnit = null;
for (int i = 0; i < projects.length; i++) {
- IJavaProject javaProject = JavaCore.create(projects[i]);
- IType lwType = null;
- try {
- lwType = javaProject.findType(fullyQualifiedName);
- } catch (JavaModelException e) {
- HibernateConsolePlugin.getDefault().logErrorMessage("JavaModelException: ", e); //$NON-NLS-1$
+ if (projects[i].exists()){/*It is not required project be opened, so use exists method*/
+ IJavaProject javaProject = JavaCore.create(projects[i]);
+ resCompilationUnit = findCompilationUnit(javaProject, fullyQualifiedName);
+
+ if (resCompilationUnit != null) {
+ break;
+ }
}
- if (lwType != null) {
- resCompilationUnit = lwType.getCompilationUnit();
- }
- if (resCompilationUnit != null) {
- break;
- }
}
return resCompilationUnit;
}
16 years, 2 months
JBoss Tools SVN: r11161 - trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2008-10-24 10:16:21 -0400 (Fri, 24 Oct 2008)
New Revision: 11161
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/Utils.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2937
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/Utils.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/Utils.java 2008-10-24 14:15:47 UTC (rev 11160)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/Utils.java 2008-10-24 14:16:21 UTC (rev 11161)
@@ -62,19 +62,14 @@
IProject[] projects = root.getProjects();
ICompilationUnit resCompilationUnit = null;
for (int i = 0; i < projects.length; i++) {
- IJavaProject javaProject = JavaCore.create(projects[i]);
- IType lwType = null;
- try {
- lwType = javaProject.findType(fullyQualifiedName);
- } catch (JavaModelException e) {
- HibernateConsolePlugin.getDefault().logErrorMessage("JavaModelException: ", e); //$NON-NLS-1$
+ if (projects[i].exists()){/*It is not required project be opened, so use exists method*/
+ IJavaProject javaProject = JavaCore.create(projects[i]);
+ resCompilationUnit = findCompilationUnit(javaProject, fullyQualifiedName);
+
+ if (resCompilationUnit != null) {
+ break;
+ }
}
- if (lwType != null) {
- resCompilationUnit = lwType.getCompilationUnit();
- }
- if (resCompilationUnit != null) {
- break;
- }
}
return resCompilationUnit;
}
16 years, 2 months
JBoss Tools SVN: r11160 - trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2008-10-24 10:15:47 -0400 (Fri, 24 Oct 2008)
New Revision: 11160
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ExceptionEditPart.java
Log:
JBIDE-2306
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ExceptionEditPart.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ExceptionEditPart.java 2008-10-24 13:55:28 UTC (rev 11159)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/edit/ExceptionEditPart.java 2008-10-24 14:15:47 UTC (rev 11160)
@@ -263,6 +263,7 @@
public void notifyChanged(Notification notification) {
refresh();
refreshVisuals();
+ getFigure().repaint();
}
/**
* )
16 years, 2 months
JBoss Tools SVN: r11159 - branches/jbosstools-3.0.0.Beta1/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2008-10-24 09:55:28 -0400 (Fri, 24 Oct 2008)
New Revision: 11159
Modified:
branches/jbosstools-3.0.0.Beta1/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JSPActiveContentAssistProcessor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2397 Make EL code completions beautifull and context relevant
Proposal relevance is fixed
Modified: branches/jbosstools-3.0.0.Beta1/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JSPActiveContentAssistProcessor.java
===================================================================
--- branches/jbosstools-3.0.0.Beta1/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JSPActiveContentAssistProcessor.java 2008-10-24 13:53:00 UTC (rev 11158)
+++ branches/jbosstools-3.0.0.Beta1/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/JSPActiveContentAssistProcessor.java 2008-10-24 13:55:28 UTC (rev 11159)
@@ -138,7 +138,7 @@
int relevance = kbProposal.getRelevance();
if(relevance==KbProposal.R_NONE) {
- relevance = XMLRelevanceConstants.R_XML_ATTRIBUTE_VALUE;
+ relevance = KbProposal.R_XML_ATTRIBUTE_VALUE;
}
if(kbProposal.getStart() < 0) {
@@ -190,7 +190,7 @@
continue; // Process the only EL-proposals here!!!
int relevance = kbProposal.getRelevance();
if(relevance==KbProposal.R_NONE) {
- relevance = XMLRelevanceConstants.R_XML_ATTRIBUTE_VALUE;
+ relevance = KbProposal.R_JSP_JSF_EL_VARIABLE_ATTRIBUTE_VALUE;
}
if(kbProposal.getStart() >= 0) {
16 years, 2 months