JBoss Tools SVN: r18269 - trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2009-10-23 14:42:05 -0400 (Fri, 23 Oct 2009)
New Revision: 18269
Modified:
trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/common.map
Log:
allow jbpm4 build to depend on output of jbpm3 build instead of sources
Modified: trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/common.map
===================================================================
--- trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/common.map 2009-10-23 18:41:44 UTC (rev 18268)
+++ trunk/jbpm/releng/org.jboss.tools.jbpm4.releng/maps/common.map 2009-10-23 18:42:05 UTC (rev 18269)
@@ -1,10 +1,10 @@
!*** Contains features, plugins, and tests common to both jbpm3 and jbpm4.
!*** features
-feature@org.jboss.tools.jbpm.common.feature=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/jbpm/features/org.jboss.tools.jbpm.common.feature
+!*** feature@org.jboss.tools.jbpm.common.feature=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/jbpm/features/org.jboss.tools.jbpm.common.feature
!*** plugins
-plugin@org.jboss.tools.jbpm.common=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/jbpm/plugins/org.jboss.tools.jbpm.common
+!*** plugin@org.jboss.tools.jbpm.common=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/jbpm/plugins/org.jboss.tools.jbpm.common
!*** test plugins
plugin@org.jboss.tools.jbpm.common.test=SVN,,http://anonsvn.jboss.org/repos,,jbosstools/trunk/jbpm/tests/org.jboss.tools.jbpm.common.test
\ No newline at end of file
14 years, 8 months
JBoss Tools SVN: r18267 - trunk/jsf/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-10-23 12:02:36 -0400 (Fri, 23 Oct 2009)
New Revision: 18267
Modified:
trunk/jsf/docs/userguide/en/modules/editors.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-897
added discription to vpe and a link describing how two use JSF 2.0
composition components
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2009-10-23 15:17:08 UTC (rev 18266)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2009-10-23 16:02:36 UTC (rev 18267)
@@ -758,7 +758,7 @@
<para>As a new JSF 2.0 specification has been released, support of new features is now implemented in the <property>Visual Page Editor</property>.
The JSF 2.0 tags like <literal><h:body></literal>, <literal><h:head></literal>, <literal><h:outputscript></literal>, <literal><h:outputstyle></literal>
- are supported in the editor as well as the resource handling from the expression language. (See the
+ are supported in the editor as well as the composite components and the resource handling from the expression language. (See the <ulink url="http://www.ibm.com/developerworks/java/library/j-jsf2fu2/index.html">following link</ulink> on how to use composite components and
<ulink url="http://blogs.sun.com/rlubke/entry/jsf_2_0_new_feature3">following blog post</ulink> on how to handle the resources form the EL).
</para>
14 years, 8 months
JBoss Tools SVN: r18266 - trunk/jsf/docs/userguide/en/images/visual_page.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2009-10-23 11:17:08 -0400 (Fri, 23 Oct 2009)
New Revision: 18266
Modified:
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23a.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23b.png
Log:
JBDS-787 - screenshots updated.
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23a.png
===================================================================
(Binary files differ)
Modified: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23b.png
===================================================================
(Binary files differ)
14 years, 8 months
JBoss Tools SVN: r18265 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2009-10-23 10:30:22 -0400 (Fri, 23 Oct 2009)
New Revision: 18265
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/DefaultDropWizardModel.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4982, dialog showing was corrected.
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/DefaultDropWizardModel.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/DefaultDropWizardModel.java 2009-10-23 14:20:28 UTC (rev 18264)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editors/dnd/DefaultDropWizardModel.java 2009-10-23 14:30:22 UTC (rev 18265)
@@ -186,7 +186,13 @@
return true;
}
}
- if(values.length > 5) return true;
+ /*
+ * https://jira.jboss.org/jira/browse/JBIDE-4982
+ * The meaning of showing the dialog
+ * when there are more than 5 value descriptors is unclear.
+ * So it was commented.
+ */
+// if(values.length > 5) return true;
return isPromptForTagAttributesRequired();
} else if(getTagProposal()==UNDEFINED_TAG_PROPOSAL){
ITagProposal[] proposals
14 years, 8 months
JBoss Tools SVN: r18264 - trunk/documentation/guides/GettingStartedGuide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-10-23 10:20:28 -0400 (Fri, 23 Oct 2009)
New Revision: 18264
Modified:
trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-709
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml 2009-10-23 14:14:49 UTC (rev 18263)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml 2009-10-23 14:20:28 UTC (rev 18264)
@@ -120,8 +120,8 @@
<note>
<title>Note:</title>
- <para>On Linux system with 64-bit JVM the visual editor may fail to start. In this case you need the xpLib.i386 package.
- See the <link linkend="question_1">FAQ</link>.</para>
+ <para>On Linux system with 64-bit JVM the visual editor may fail to start. In this case you need the <literal>libstdc++.so.5</literal> library.
+ See also the <link linkend="question_1">FAQ</link>.</para>
</note>
</section>
14 years, 8 months
JBoss Tools SVN: r18263 - in trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui: wizards and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2009-10-23 10:14:49 -0400 (Fri, 23 Oct 2009)
New Revision: 18263
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/EntityInfo.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5052
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/EntityInfo.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/EntityInfo.java 2009-10-23 14:08:14 UTC (rev 18262)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/internal/jpa/common/EntityInfo.java 2009-10-23 14:14:49 UTC (rev 18263)
@@ -263,7 +263,8 @@
while (it.hasNext()) {
String name = it.next();
String check = name.toLowerCase();
- if ("id".equalsIgnoreCase(check)) { //$NON-NLS-1$
+ if ("id".equalsIgnoreCase(check) //$NON-NLS-1$
+ || "identity".equalsIgnoreCase(check)) { //$NON-NLS-1$
primaryIdName = name;
break;
}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java 2009-10-23 14:08:14 UTC (rev 18262)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java 2009-10-23 14:14:49 UTC (rev 18263)
@@ -35,6 +35,7 @@
import org.eclipse.jdt.core.dom.QualifiedType;
import org.eclipse.jdt.core.dom.SimpleType;
import org.eclipse.jdt.core.dom.Type;
+import org.eclipse.jdt.core.dom.TypeDeclaration;
import org.eclipse.jdt.core.dom.VariableDeclarationFragment;
import org.eclipse.jdt.core.dom.WildcardType;
import org.hibernate.FetchMode;
@@ -266,11 +267,36 @@
@Override
public boolean visit(CompilationUnit node) {
- Assert.isNotNull(rootClass);
+ Assert.isNotNull(rootClass);
return true;
}
@SuppressWarnings("unchecked")
+ public boolean visit(TypeDeclaration node) {
+ if ("".equals(entityInfo.getPrimaryIdName())){ //$NON-NLS-1$
+ //try to guess id
+ FieldDeclaration[] fields = node.getFields();
+ String firstFieldName = ""; //$NON-NLS-1$
+ for (int i = 0; i < fields.length; i++) {
+ Iterator<VariableDeclarationFragment> itFieldsNames = fields[i].fragments().iterator();
+ while(itFieldsNames.hasNext()) {
+ VariableDeclarationFragment field = itFieldsNames.next();
+ if ("id".equals(field.getName().getIdentifier()) //$NON-NLS-1$
+ || "identity".equals(field.getName().getIdentifier())){ //$NON-NLS-1$
+ entityInfo.setPrimaryIdName(field.getName().getIdentifier());
+ return true;
+ } else if ("".equals(firstFieldName)){ //$NON-NLS-1$
+ //set first field as id
+ firstFieldName = field.getName().getIdentifier();
+ }
+ }
+ }
+ entityInfo.setPrimaryIdName(firstFieldName);
+ }
+ return true;
+ }
+
+ @SuppressWarnings("unchecked")
public boolean visit(FieldDeclaration node) {
Type type = node.getType();
if (type == null) {
14 years, 8 months
JBoss Tools SVN: r18262 - trunk/documentation/guides/GettingStartedGuide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-10-23 10:08:14 -0400 (Fri, 23 Oct 2009)
New Revision: 18262
Modified:
trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-709 - updating the guide with the requirements of JBDS.
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml 2009-10-23 13:59:34 UTC (rev 18261)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml 2009-10-23 14:08:14 UTC (rev 18262)
@@ -26,7 +26,7 @@
</section>
<section>
- <title>Key Features of JBoss Developer Studio</title>
+ <title>Key Features of JBoss Developer Studio and Requirements</title>
<para>For a start, we propose you to look through the table of main features of JBoss Developer Studio:</para>
<table>
@@ -107,26 +107,29 @@
<entry><para>JBossWeb Service</para></entry>
<entry><para>JBoss WS is a web service framework developed as a part of the JBoss Application Server. It implements the JAX-WS specification that defines a programming model and run-time architecture for implementing web services in Java, targeted at the Java Platform, Enterprise Edition 5 (Java EE 5).</para></entry>
</row>
-
-
</tbody>
-
</tgroup>
</table>
+ <para><property>JBDS</property> requires JDK 5+ (JDK 6 in case of EAP 5.0). Also it's important that
+ the JVM's architecture matches the particular <property>JBDS</property> build, i.e. if you're on a
+ 64-bit system and use the 64-bit JVM, you need the 64-bit JBDS.</para>
+
+ <para>For the 32-bit version of JBDS use the 32-bit JVM or just use <literal>-vm</literal> flag to
+ tell JBDS to use 32-bit java if the 64-bit one is found as the default.</para>
+
+ <note>
+ <title>Note:</title>
+ <para>On Linux system with 64-bit JVM the visual editor may fail to start. In this case you need the xpLib.i386 package.
+ See the <link linkend="question_1">FAQ</link>.</para>
+ </note>
</section>
-
-
-
-
-
<section id="ConfigJavaEnvironment">
<?dbhtml filename="ConfigJavaEnvironment.html"?>
<title>Configuring Your Java Environment</title>
- <para>You must have a working installation of JDK 5 before you install <property>JBoss Developer
- Studio</property>. Currently it will only fully work with a 32-bit JVM, not a 64-bit JVM. On a
- 64-bit JVM the visual editor fails to launch because of feature of OS architecture. Thus in this
+ <para>You must have a working installation of JDK before you install <property>JBoss Developer
+ Studio</property>. Thus in this
guide we will show you how to install a 32-bit Sun JDK 5.0 on a Linux Platform and Microsoft
Windows Platform.</para>
14 years, 8 months
JBoss Tools SVN: r18261 - trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards.
by jbosstools-commits@lists.jboss.org
Author: dgeraskov
Date: 2009-10-23 09:59:34 -0400 (Fri, 23 Oct 2009)
New Revision: 18261
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5077
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java 2009-10-23 12:54:48 UTC (rev 18260)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java 2009-10-23 13:59:34 UTC (rev 18261)
@@ -315,7 +315,6 @@
} else {
rootClass.addProperty(prop);
}
- //System.out.println("From method->" + varName);
}
}
return super.visit(node);
@@ -435,7 +434,7 @@
OneToMany oValue = new OneToMany(rootClass);
RootClass associatedClass = rootClasses.get(ref.fullyQualifiedName);
oValue.setAssociatedClass(associatedClass);
- oValue.setReferencedEntityName(ref.fullyQualifiedName);
+ oValue.setReferencedEntityName(associatedClass.getEntityName());
//Set another table
cValue.setCollectionTable(associatedClass.getTable());
cValue.setElement(oValue);
@@ -515,7 +514,8 @@
sValue.addColumn(column);
sValue.setTypeName(tb.getBinaryName());
sValue.setFetchMode(FetchMode.JOIN);
- sValue.setReferencedEntityName(ref.fullyQualifiedName);
+ RootClass associatedClass = rootClasses.get(ref.fullyQualifiedName);
+ sValue.setReferencedEntityName(associatedClass.getEntityName());
buildProperty(sValue);
prop.setCascade("none");//$NON-NLS-1$
} else {
@@ -561,7 +561,7 @@
if (cValue == null) return null;
- //By default set the same table, but for one-to many should change it to associated class's table
+ //By default set the same table, but for one-to-many should change it to associated class's table
cValue.setCollectionTable(rootClass.getTable());
SimpleValue key = new SimpleValue();
14 years, 8 months
JBoss Tools SVN: r18260 - in trunk/common/plugins/org.jboss.tools.common.el.ui: src/org/jboss/tools/common/el/ui/refactoring and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-10-23 08:54:48 -0400 (Fri, 23 Oct 2009)
New Revision: 18260
Modified:
trunk/common/plugins/org.jboss.tools.common.el.ui/plugin.xml
trunk/common/plugins/org.jboss.tools.common.el.ui/src/org/jboss/tools/common/el/ui/refactoring/ELReferencesQueryParticipant.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5037
Modified: trunk/common/plugins/org.jboss.tools.common.el.ui/plugin.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.ui/plugin.xml 2009-10-23 12:09:25 UTC (rev 18259)
+++ trunk/common/plugins/org.jboss.tools.common.el.ui/plugin.xml 2009-10-23 12:54:48 UTC (rev 18260)
@@ -24,6 +24,11 @@
value="org.eclipse.jdt.core.IMethod">
</instanceof>
</or>
+ <or>
+ <instanceof
+ value="org.eclipse.jdt.core.IType">
+ </instanceof>
+ </or>
</with>
</enablement>
</renameParticipant>
Modified: trunk/common/plugins/org.jboss.tools.common.el.ui/src/org/jboss/tools/common/el/ui/refactoring/ELReferencesQueryParticipant.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.ui/src/org/jboss/tools/common/el/ui/refactoring/ELReferencesQueryParticipant.java 2009-10-23 12:09:25 UTC (rev 18259)
+++ trunk/common/plugins/org.jboss.tools.common.el.ui/src/org/jboss/tools/common/el/ui/refactoring/ELReferencesQueryParticipant.java 2009-10-23 12:54:48 UTC (rev 18260)
@@ -19,6 +19,7 @@
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMethod;
+import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.internal.ui.search.JavaSearchResultPage;
import org.eclipse.jdt.ui.search.ElementQuerySpecification;
import org.eclipse.jdt.ui.search.IMatchPresentation;
@@ -51,7 +52,7 @@
if(querySpecification instanceof ElementQuerySpecification){
ElementQuerySpecification qs = (ElementQuerySpecification)querySpecification;
- if(qs.getElement() instanceof IMethod){
+ if(qs.getElement() instanceof IMethod || qs.getElement() instanceof IType){
IFile file = (IFile)qs.getElement().getResource();
String name = qs.getElement().getElementName();
@@ -100,6 +101,7 @@
@Override
protected void match(IFile file, int offset, int length) {
+ //System.out.println("match - "+file.getFullPath()+" offset - "+offset+" len - "+length);
Match match = new Match(file, offset, length);
requestor.reportMatch(match);
}
14 years, 8 months