JBoss Tools SVN: r13960 - trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2009-03-03 10:57:40 -0500 (Tue, 03 Mar 2009)
New Revision: 13960
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBProjectFirstPage.java
Log:
JBIDE-3610 JBDS 2.0.0.CR1 Uses Java 6 when environment only has Java 5
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBProjectFirstPage.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBProjectFirstPage.java 2009-03-03 15:48:22 UTC (rev 13959)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBProjectFirstPage.java 2009-03-03 15:57:40 UTC (rev 13960)
@@ -10,11 +10,19 @@
******************************************************************************/
package org.jboss.tools.esb.project.ui.wizards.pages;
+import java.util.HashSet;
+import java.util.Set;
+
+import org.eclipse.jst.common.project.facet.JavaFacetUtils;
+import org.eclipse.jst.common.project.facet.core.internal.JavaFacetUtil;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Label;
import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
+import org.eclipse.wst.common.project.facet.core.IFacetedProjectWorkingCopy;
+import org.eclipse.wst.common.project.facet.core.IProjectFacet;
+import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
import org.eclipse.wst.web.ui.internal.wizards.DataModelFacetCreationWizardPage;
import org.jboss.tools.esb.core.ESBProjectConstant;
import org.jboss.tools.esb.project.ui.messages.JBossESBUIMessages;
@@ -47,4 +55,25 @@
}
+ @Override
+ protected Set<IProjectFacetVersion> getFacetConfiguration( final IProjectFacetVersion primaryFacetVersion )
+ {
+ final Set<IProjectFacetVersion> config = new HashSet<IProjectFacetVersion>();
+ IFacetedProjectWorkingCopy fpjwc = (IFacetedProjectWorkingCopy) this.model
+ .getProperty(FACETED_PROJECT_WORKING_COPY);
+ for (IProjectFacet fixedFacet : fpjwc.getFixedProjectFacets()) {
+ if (fixedFacet == primaryFacetVersion.getProjectFacet()) {
+ config.add(primaryFacetVersion);
+ } else if (fixedFacet == JavaFacetUtils.JAVA_FACET) {
+ String compilerLevel = JavaFacetUtil.getCompilerLevel();
+ IProjectFacetVersion facetVersion = JavaFacetUtil.compilerLevelToFacet(compilerLevel);
+ config.add(facetVersion);
+ } else {
+ config.add(fpjwc.getHighestAvailableVersion(fixedFacet));
+ }
+ }
+
+ return config;
+ }
+
}
17 years, 1 month
JBoss Tools SVN: r13959 - trunk/jsf/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2009-03-03 10:48:22 -0500 (Tue, 03 Mar 2009)
New Revision: 13959
Modified:
trunk/jsf/docs/userguide/en/modules/editors.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-597 - new details for the CSS Class dialog added
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2009-03-03 15:47:00 UTC (rev 13958)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2009-03-03 15:48:22 UTC (rev 13959)
@@ -1088,7 +1088,7 @@
<emphasis>
<property>Property Sheet</property>. </emphasis>The list of already exisiting classes with names begining with the symbols printed will be displayed on standard "Ctrl+Space" key combination. To add existing styling to
the chosen element just point to the
- necessary one. Then click on the <emphasis><property>Apply</property></emphasis> button, this will create a new class or apply the changes without closing the window.</para>
+ necessary one. Each time you select any class it is displayed in the Preview tab. Click on the <emphasis><property>Apply</property></emphasis> button will apply the changes without closing the window.</para>
<figure>
<title>Style Class Selection</title>
17 years, 1 month
JBoss Tools SVN: r13958 - branches/jbosstools-3.0.x/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/wizard/runtime2.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-03-03 10:47:00 -0500 (Tue, 03 Mar 2009)
New Revision: 13958
Modified:
branches/jbosstools-3.0.x/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/wizard/runtime2/VerifyWizard.java
Log:
JBIDE-3905
Merge
Modified: branches/jbosstools-3.0.x/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/wizard/runtime2/VerifyWizard.java
===================================================================
--- branches/jbosstools-3.0.x/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/wizard/runtime2/VerifyWizard.java 2009-03-03 15:44:47 UTC (rev 13957)
+++ branches/jbosstools-3.0.x/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/wizard/runtime2/VerifyWizard.java 2009-03-03 15:47:00 UTC (rev 13958)
@@ -21,7 +21,9 @@
}
public IQueryDialog createDialog(Shell shell) {
- return new VerifyDialog(shell);
+ IQueryDialog dialog = new VerifyDialog(shell);
+ setUpDialog(dialog);
+ return dialog;
}
}
17 years, 1 month
JBoss Tools SVN: r13957 - branches/jbosstools-3.0.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-03-03 10:44:47 -0500 (Tue, 03 Mar 2009)
New Revision: 13957
Modified:
branches/jbosstools-3.0.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java
Log:
JBIDE-3905
Merge
Modified: branches/jbosstools-3.0.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java
===================================================================
--- branches/jbosstools-3.0.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java 2009-03-03 15:39:42 UTC (rev 13956)
+++ branches/jbosstools-3.0.x/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java 2009-03-03 15:44:47 UTC (rev 13957)
@@ -108,9 +108,14 @@
public IQueryDialog createDialog(Shell shell) {
IQueryDialog dialog = new AbstractQueryDialog(shell);
+ setUpDialog(dialog);
+ return dialog;
+ }
+
+ protected final void setUpDialog(IQueryDialog dialog) {
dialog.setView(view);
dialog.getDialog().create();
view.setDialog(dialog.getDialog());
- return dialog;
}
+
}
17 years, 1 month
JBoss Tools SVN: r13956 - trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/wizard/runtime2.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-03-03 10:39:42 -0500 (Tue, 03 Mar 2009)
New Revision: 13956
Modified:
trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/wizard/runtime2/VerifyWizard.java
Log:
JBIDE-3905
Modified: trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/wizard/runtime2/VerifyWizard.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/wizard/runtime2/VerifyWizard.java 2009-03-03 15:39:41 UTC (rev 13955)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/wizard/runtime2/VerifyWizard.java 2009-03-03 15:39:42 UTC (rev 13956)
@@ -21,7 +21,9 @@
}
public IQueryDialog createDialog(Shell shell) {
- return new VerifyDialog(shell);
+ IQueryDialog dialog = new VerifyDialog(shell);
+ setUpDialog(dialog);
+ return dialog;
}
}
17 years, 1 month
JBoss Tools SVN: r13955 - trunk/jsf/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2009-03-03 10:39:41 -0500 (Tue, 03 Mar 2009)
New Revision: 13955
Modified:
trunk/jsf/docs/userguide/en/modules/editors.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-597 - additional performance of the CSS Dialog described
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2009-03-03 15:39:00 UTC (rev 13954)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2009-03-03 15:39:41 UTC (rev 13955)
@@ -1086,9 +1086,9 @@
<emphasis>
<property>Boxes</property>, </emphasis>
<emphasis>
- <property>Property Sheet</property>. </emphasis>To add existing styling to
- the chosen element expand the list of the existed style classes and point to the
- necessary one.</para>
+ <property>Property Sheet</property>. </emphasis>The list of already exisiting classes with names begining with the symbols printed will be displayed on standard "Ctrl+Space" key combination. To add existing styling to
+ the chosen element just point to the
+ necessary one. Then click on the <emphasis><property>Apply</property></emphasis> button, this will create a new class or apply the changes without closing the window.</para>
<figure>
<title>Style Class Selection</title>
17 years, 1 month
JBoss Tools SVN: r13954 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-03-03 10:39:00 -0500 (Tue, 03 Mar 2009)
New Revision: 13954
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java
Log:
JBIDE-3905
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java 2009-03-03 15:38:36 UTC (rev 13953)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/query/AbstractQueryWizard.java 2009-03-03 15:39:00 UTC (rev 13954)
@@ -108,9 +108,14 @@
public IQueryDialog createDialog(Shell shell) {
IQueryDialog dialog = new AbstractQueryDialog(shell);
+ setUpDialog(dialog);
+ return dialog;
+ }
+
+ protected final void setUpDialog(IQueryDialog dialog) {
dialog.setView(view);
dialog.getDialog().create();
view.setDialog(dialog.getDialog());
- return dialog;
}
+
}
17 years, 1 month
JBoss Tools SVN: r13953 - in trunk/documentation: jbds-docs and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: smukhina
Date: 2009-03-03 10:38:36 -0500 (Tue, 03 Mar 2009)
New Revision: 13953
Added:
trunk/documentation/jbds-docs/
trunk/documentation/jbds-docs/all-guides.xml
trunk/documentation/jbds-docs/clean.sh
trunk/documentation/jbds-docs/pom.xml
trunk/documentation/jbds-docs/settings.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-640
build for JBDS docs is created
Added: trunk/documentation/jbds-docs/all-guides.xml
===================================================================
--- trunk/documentation/jbds-docs/all-guides.xml (rev 0)
+++ trunk/documentation/jbds-docs/all-guides.xml 2009-03-03 15:38:36 UTC (rev 13953)
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+ <id>all-guides</id>
+
+ <formats>
+ <format>dir</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>../guides/Exadel-migration/target/docbook/publish/en-US</directory>
+ <outputDirectory>/Exadel-migration</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../guides/GettingStartedGuide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/GettingStartedGuide</outputDirectory>
+ <filtered>false</filtered>
+ <lineEnding>keep</lineEnding>
+ <includes>
+ <include>**/*.*</include>
+ </includes>
+ <useStrictFiltering>false</useStrictFiltering>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <fileMode>0644</fileMode>
+ <directoryMode>0755</directoryMode>
+ </fileSet>
+ <fileSet>
+ <directory>../../jsf/docs/userguide/target/docbook/publish/en-US</directory>
+ <outputDirectory>/jsf</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
Added: trunk/documentation/jbds-docs/clean.sh
===================================================================
--- trunk/documentation/jbds-docs/clean.sh (rev 0)
+++ trunk/documentation/jbds-docs/clean.sh 2009-03-03 15:38:36 UTC (rev 13953)
@@ -0,0 +1,9 @@
+-rm './Exadel-migration/html/images/jboss-logo copy.png'
+-rm './Exadel-migration/html_single/images/jboss-logo copy.png'
+-rm './Exadel-migration/eclipse/images/jboss-logo copy.png'
+-rm './GettingStartedGuide/html/images/jboss-logo copy.png'
+-rm './GettingStartedGuide/html_single/images/jboss-logo copy.png'
+-rm './GettingStartedGuide/eclipse/images/jboss-logo copy.png'
+-rm './jsf/html/images/jboss-logo copy.png'
+-rm './jsf/html_single/images/jboss-logo copy.png'
+-rm './jsf/eclipse/images/jboss-logo copy.png'
Added: trunk/documentation/jbds-docs/pom.xml
===================================================================
--- trunk/documentation/jbds-docs/pom.xml (rev 0)
+++ trunk/documentation/jbds-docs/pom.xml 2009-03-03 15:38:36 UTC (rev 13953)
@@ -0,0 +1,44 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>all-guides</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <name>All_Userguides</name>
+
+ <modules>
+ <module>../guides/Exadel-migration</module>
+ <module>../guides/GettingStartedGuide</module>
+ <module>../../jsf/docs/userguide</module>
+ <!--module>index</module-->
+ </modules>
+
+ <build>
+ <plugins>
+
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
+ <configuration>
+ <descriptors>
+ <descriptor>all-guides.xml</descriptor>
+ </descriptors>
+ <finalName>en</finalName>
+ <outputDirectory>jbds-docs</outputDirectory>
+ <appendAssemblyId>false</appendAssemblyId>
+ <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+ </configuration>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <properties>
+ <translation>en-US</translation>
+ </properties>
+
+</project>
Added: trunk/documentation/jbds-docs/settings.xml
===================================================================
--- trunk/documentation/jbds-docs/settings.xml (rev 0)
+++ trunk/documentation/jbds-docs/settings.xml 2009-03-03 15:38:36 UTC (rev 13953)
@@ -0,0 +1,95 @@
+<!--
+added to fix build error.
+running with regular hudson maven fails with error resolving
+
+maven-jdocbook-plugin 2.1.0-200803311251UTC-MPJDOCBOOK-8
+
+ -->
+
+<settings>
+ <proxies>
+ </proxies>
+ <servers>
+ </servers>
+ <mirrors>
+ </mirrors>
+ <profiles>
+ <profile>
+ <id>jboss</id>
+ <repositories>
+ <repository>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ <id>repository.jboss.com</id>
+ <name>Jboss Repository for Maven</name>
+ <url>
+ http://repository.jboss.com/maven2/
+ </url>
+ <layout>default</layout>
+ </repository>
+ <repository>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ <id>snapshots.jboss.org</id>
+ <name>Jboss Repository for Maven</name>
+ <url>
+ http://snapshots.jboss.org/maven2/
+ </url>
+ <layout>default</layout>
+ </repository>
+ <repository>
+ <id>java.net</id>
+ <url>https://maven-repository.dev.java.net/nonav/repository</url>
+ <layout>legacy</layout>
+ </repository>
+ </repositories>
+ <pluginRepositories>
+ <pluginRepository>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ <id>repository.jboss.com</id>
+ <name>Jboss Repository for Maven</name>
+ <url>
+ http://repository.jboss.com/maven2/
+ </url>
+ <layout>default</layout>
+ </pluginRepository>
+ <pluginRepository>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>never</updatePolicy>
+ </snapshots>
+ <id>snapshots.jboss.org</id>
+ <name>Jboss Repository for Maven</name>
+ <url>
+ http://snapshots.jboss.org/maven2/
+ </url>
+ <layout>default</layout>
+ </pluginRepository>
+ </pluginRepositories>
+ </profile>
+ </profiles>
+
+ <activeProfiles>
+ <activeProfile>jboss</activeProfile>
+ </activeProfiles>
+
+</settings>
17 years, 1 month
JBoss Tools SVN: r13952 - trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/pv.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-03-03 09:40:30 -0500 (Tue, 03 Mar 2009)
New Revision: 13952
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/pv/JsfTreeListener.java
Log:
JBIDE-3904
Modified: trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/pv/JsfTreeListener.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/pv/JsfTreeListener.java 2009-03-03 14:29:49 UTC (rev 13951)
+++ trunk/jsf/plugins/org.jboss.tools.jsf/src/org/jboss/tools/jsf/model/pv/JsfTreeListener.java 2009-03-03 14:40:30 UTC (rev 13952)
@@ -112,6 +112,7 @@
WebProjectNode n = getProjectRoot(model);
if(n == null) return;
WebProjectNode b = (WebProjectNode)n.getChildByPath(name);
+ if(b == null) return;
b.invalidate();
}
}
\ No newline at end of file
17 years, 1 month
JBoss Tools SVN: r13951 - trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-03-03 09:29:49 -0500 (Tue, 03 Mar 2009)
New Revision: 13951
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/RegularChildren.java
Log:
JBIDE-3904
Modified: trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/RegularChildren.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/RegularChildren.java 2009-03-03 10:35:55 UTC (rev 13950)
+++ trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/RegularChildren.java 2009-03-03 14:29:49 UTC (rev 13951)
@@ -247,7 +247,11 @@
public void put(String key, XModelObject value) {
entries.put(key, value);
- cache = null;
+ if(cache != null) {
+ synchronized(this) {
+ cache = null;
+ }
+ }
}
/**
@@ -269,7 +273,10 @@
* @return
*/
public XModelObject[] getSortedValues(Comparator<XModelObject> comparator) {
- if (cache != null) return cache;
+ XModelObject[] c = cache;
+ //Otherwise, cache can be made null between 'if' and 'return', but we
+ //avoid synchronizing this line for the most probable return to be very fast.
+ if (c != null) return c;
synchronized (this) {
if (cache != null) return cache;
if (size() == 0) {
@@ -279,13 +286,17 @@
if (comparator != null)
Arrays.sort(cache, comparator);
}
+ return cache;
}
- return cache;
}
public void remove(String key) {
entries.remove(key);
- cache = null;
+ if(cache != null) {
+ synchronized(this) {
+ cache = null;
+ }
+ }
}
/**
17 years, 1 month