JBoss Tools SVN: r43359 - trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2012-08-31 14:07:36 -0400 (Fri, 31 Aug 2012)
New Revision: 43359
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
Log:
https://issues.jboss.org/browse/JBIDE-12479
Modified: trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java
===================================================================
--- trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2012-08-31 17:30:02 UTC (rev 43358)
+++ trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/validation/CDICoreValidator.java 2012-08-31 18:07:36 UTC (rev 43359)
@@ -535,7 +535,7 @@
}
displaySubtask(CDIValidationMessages.VALIDATING_RESOURCE, new String[] {file.getProject().getName(), file.getName()});
- if(!isAsYouTypeValidation() && !validatatingAll) {
+ if(!isAsYouTypeValidation()) {
coreHelper.getValidationContextManager().addValidatedProject(this, file.getProject());
Set<IPath> dd = getCDIContext(file).getDependencies().getDirectDependencies(file.getFullPath());
@@ -552,11 +552,6 @@
getValidationContext().addLinkedCoreResource(SHORT_ID, p.toOSString(), file.getFullPath(), false);
}
}
- Set<IPath> resources = new HashSet<IPath>();
- collectAllRelatedInjections(file, resources);
- for (IPath p: resources) {
- getValidationContext().addLinkedCoreResource(SHORT_ID, p.toOSString(), file.getFullPath(), false);
- }
}
CDIValidationContext context = null;
12 years, 4 months
JBoss Tools SVN: r43358 - branches/jbosstools-4.0.0.Alpha1/build/parent.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-08-31 13:30:02 -0400 (Fri, 31 Aug 2012)
New Revision: 43358
Modified:
branches/jbosstools-4.0.0.Alpha1/build/parent/pom.xml
Log:
switch to stable_branch
Modified: branches/jbosstools-4.0.0.Alpha1/build/parent/pom.xml
===================================================================
--- branches/jbosstools-4.0.0.Alpha1/build/parent/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
+++ branches/jbosstools-4.0.0.Alpha1/build/parent/pom.xml 2012-08-31 17:30:02 UTC (rev 43358)
@@ -45,7 +45,7 @@
<!-- 1a. URL of latest JBT target platform site -->
<jbosstools-target-site>http://download.jboss.org/jbosstools/updates/target-platform_4.0.juno.SR0...</jbosstools-target-site>
- <!-- 1b. or use -Plocal.site -Dlocal.site=file:///${HOME}/trunk/build/target-platform/REPO/ -->
+ <!-- 1b. or use -Plocal.site -Dlocal.site=file:///${HOME}/4.0.juno/build/target-platform/REPO/ -->
<!-- TODO: don't forget to update JBDS .updatesite jobs when this value changes! -->
<!-- TODO: see also 'hudson' profile below for other default value -->
<local.site>file:///${user.home}/.m2/jbosstools-target-platform_4.0.juno.SR0/</local.site>
@@ -53,14 +53,14 @@
<!-- 2a. URL of latest JBT nightly staging composite site (all the components
in once place) -->
<!-- for trunk use _composite_/trunk; for 4.0_stable_branch, use _composite_/4.0.juno -->
- <jbosstools-nightly-staging-composite>http://download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk/</jbosstools-nightly-staging-composite>
+ <jbosstools-nightly-staging-composite>http://download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0....</jbosstools-nightly-staging-composite>
<!-- this site is not enabled by default as SOA Tooling is a downstream project (sorta). -->
- <jbosstools-nightly-staging-composite-soa-tooling>http://download.jboss.org/jbosstools/builds/staging/_composite_/soa-tooli...</jbosstools-nightly-staging-composite-soa-tooling>
+ <jbosstools-nightly-staging-composite-soa-tooling>http://download.jboss.org/jbosstools/builds/staging/_composite_/soa-tooli...</jbosstools-nightly-staging-composite-soa-tooling>
<!-- 2b. or use -Plocal.composite -Dlocal.composite=file:///path/to/mirror/of/composite/staging/site/ -->
<!-- for trunk use _composite_/trunk; for 4.0_stable_branch, use _composite_/4.0.juno -->
- <local.composite>file:///home/hudson/static_build_env/jbds/builds/staging/_composite_/core/trunk/</local.composite>
- <local.composite-soa-tooling>file:///home/hudson/static_build_env/jbds/builds/staging/_composite_/soa-tooling/trunk/</local.composite-soa-tooling>
+ <local.composite>file:///home/hudson/static_build_env/jbds/builds/staging/_composite_/core/4.0.juno/</local.composite>
+ <local.composite-soa-tooling>file:///home/hudson/static_build_env/jbds/builds/staging/_composite_/soa-tooling/4.0.juno/</local.composite-soa-tooling>
<!-- 3a. URL of latest JBT requirements composite mirror -->
<!-- TODO: don't forget to update this in ../aggregate/*/associate.properties too (5 files)! -->
@@ -72,11 +72,11 @@
<!-- 4. published aggregate update sites go here, for consumption by QE
and downstream JBDS builds -->
- <jbosstools-nightly>http://download.jboss.org/jbosstools/updates/nightly/core/trunk/</jbosstools-nightly>
- <jbosstools-nightly-tests>http://download.jboss.org/jbosstools/updates/nightly/coretests/trunk/</jbosstools-nightly-tests>
+ <jbosstools-nightly>http://download.jboss.org/jbosstools/updates/nightly/core/4.0.juno/</jbosstools-nightly>
+ <jbosstools-nightly-tests>http://download.jboss.org/jbosstools/updates/nightly/coretests/4.0.juno/</jbosstools-nightly-tests>
<!-- these sites are not enabled by default as SOA Tooling is a downstream project (sorta). -->
- <jbosstools-nightly-soa-tooling>http://download.jboss.org/jbosstools/updates/nightly/soa-tooling/trunk/</jbosstools-nightly-soa-tooling>
- <jbosstools-nightly-soa-tooling-tests>http://download.jboss.org/jbosstools/updates/nightly/soatests/trunk/</jbosstools-nightly-soa-tooling-tests>
+ <jbosstools-nightly-soa-tooling>http://download.jboss.org/jbosstools/updates/nightly/soa-tooling/4.0.juno/</jbosstools-nightly-soa-tooling>
+ <jbosstools-nightly-soa-tooling-tests>http://download.jboss.org/jbosstools/updates/nightly/soatests/4.0.juno/</jbosstools-nightly-soa-tooling-tests>
<!-- 5. extra requirements (for 3rd party "Extras" site) -->
<jboss-requirements-composite-extras-mirror>http://download.jboss.org/jbosstools/updates/juno/extras/</jboss-requirements-composite-extras-mirror>
@@ -553,7 +553,7 @@
<!-- To use this profile, must have first created a local.target file,
which points to a local repo. You can do this by hand or generate it from
- multiple.target using: cd ~/trunk/build/target-platform; ant See also the
+ multiple.target using: cd ~/4.0.juno/build/target-platform; ant See also the
README in target-platform/ folder for additional usage examples. You can
also run `ant help`. If you want to build the target-platform/pom.xml AND
generate a local repo + local.target file ALL AT THE SAME TIME, you can do:
12 years, 4 months
JBoss Tools SVN: r43357 - in trunk: as and 29 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-08-31 13:26:52 -0400 (Fri, 31 Aug 2012)
New Revision: 43357
Modified:
trunk/archives/pom.xml
trunk/as/pom.xml
trunk/birt/pom.xml
trunk/build/aggregate/pom.xml
trunk/build/parent/pom.xml
trunk/build/pom.xml
trunk/build/target-platform/pom.xml
trunk/cdi/pom.xml
trunk/central/pom.xml
trunk/common/pom.xml
trunk/deltacloud/pom.xml
trunk/examples/pom.xml
trunk/forge/pom.xml
trunk/freemarker/pom.xml
trunk/gwt/pom.xml
trunk/hibernatetools/pom.xml
trunk/jmx/pom.xml
trunk/jsf/pom.xml
trunk/jst/pom.xml
trunk/maven/pom.xml
trunk/modeshape/pom.xml
trunk/openshift/pom.xml
trunk/portlet/pom.xml
trunk/runtime/pom.xml
trunk/seam/pom.xml
trunk/struts/pom.xml
trunk/tests/pom.xml
trunk/usage/pom.xml
trunk/vpe/pom.xml
trunk/ws/pom.xml
trunk/xulrunner/pom.xml
Log:
Use new version of parent pom in trunk
Modified: trunk/archives/pom.xml
===================================================================
--- trunk/archives/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/archives/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/as/pom.xml
===================================================================
--- trunk/as/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/as/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/birt/pom.xml
===================================================================
--- trunk/birt/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/birt/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/build/aggregate/pom.xml
===================================================================
--- trunk/build/aggregate/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/build/aggregate/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/build/parent/pom.xml
===================================================================
--- trunk/build/parent/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/build/parent/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<name>JBoss Tools Parent</name>
<packaging>pom</packaging>
@@ -15,7 +15,7 @@
<scmBranch>trunk</scmBranch>
<JBT_VERSION>4.0.0</JBT_VERSION>
<JBDS_VERSION>6.0.0</JBDS_VERSION>
- <BUILD_ALIAS>Alpha1</BUILD_ALIAS>
+ <BUILD_ALIAS>Alpha2</BUILD_ALIAS>
<targetEclipseVersion>4.2</targetEclipseVersion>
<memoryOptions1>-Xms512m -Xmx1024m -XX:PermSize=256m</memoryOptions1>
<memoryOptions2>-XX:MaxPermSize=256m</memoryOptions2>
Modified: trunk/build/pom.xml
===================================================================
--- trunk/build/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/build/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/build/target-platform/pom.xml
===================================================================
--- trunk/build/target-platform/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/build/target-platform/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -6,7 +6,7 @@
<version>0.0.1-SNAPSHOT</version> </parent> -->
<groupId>org.jboss.tools</groupId>
<artifactId>org.jboss.tools.target.platform</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<name>JBoss Tools Target Platform Definition</name>
<packaging>pom</packaging>
Modified: trunk/cdi/pom.xml
===================================================================
--- trunk/cdi/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/cdi/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/central/pom.xml
===================================================================
--- trunk/central/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/central/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/common/pom.xml
===================================================================
--- trunk/common/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/common/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/deltacloud/pom.xml
===================================================================
--- trunk/deltacloud/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/deltacloud/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/examples/pom.xml
===================================================================
--- trunk/examples/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/examples/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/forge/pom.xml
===================================================================
--- trunk/forge/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/forge/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/freemarker/pom.xml
===================================================================
--- trunk/freemarker/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/freemarker/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/gwt/pom.xml
===================================================================
--- trunk/gwt/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/gwt/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/hibernatetools/pom.xml
===================================================================
--- trunk/hibernatetools/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/hibernatetools/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/jmx/pom.xml
===================================================================
--- trunk/jmx/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/jmx/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/jsf/pom.xml
===================================================================
--- trunk/jsf/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/jsf/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -3,7 +3,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/jst/pom.xml
===================================================================
--- trunk/jst/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/jst/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -7,7 +7,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
Modified: trunk/maven/pom.xml
===================================================================
--- trunk/maven/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/maven/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/modeshape/pom.xml
===================================================================
--- trunk/modeshape/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/modeshape/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/openshift/pom.xml
===================================================================
--- trunk/openshift/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/openshift/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/portlet/pom.xml
===================================================================
--- trunk/portlet/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/portlet/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/runtime/pom.xml
===================================================================
--- trunk/runtime/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/runtime/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/seam/pom.xml
===================================================================
--- trunk/seam/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/seam/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -6,7 +6,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/struts/pom.xml
===================================================================
--- trunk/struts/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/struts/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/tests/pom.xml
===================================================================
--- trunk/tests/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/tests/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/usage/pom.xml
===================================================================
--- trunk/usage/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/usage/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/vpe/pom.xml
===================================================================
--- trunk/vpe/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/vpe/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/ws/pom.xml
===================================================================
--- trunk/ws/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/ws/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -5,7 +5,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
Modified: trunk/xulrunner/pom.xml
===================================================================
--- trunk/xulrunner/pom.xml 2012-08-31 17:14:01 UTC (rev 43356)
+++ trunk/xulrunner/pom.xml 2012-08-31 17:26:52 UTC (rev 43357)
@@ -4,7 +4,7 @@
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
- <version>4.0.0.Alpha1-SNAPSHOT</version>
+ <version>4.0.0.Alpha2-SNAPSHOT</version>
<relativePath>../build/parent/pom.xml</relativePath>
</parent>
<groupId>org.jboss.tools</groupId>
12 years, 4 months
JBoss Tools SVN: r43356 - in trunk/download.jboss.org/jbosstools/builds/staging/_composite_: core/3.4.juno and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-08-31 13:14:01 -0400 (Fri, 31 Aug 2012)
New Revision: 43356
Added:
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.j...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.j...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.j...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
Modified:
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
Log:
create 4.0.juno composite sites and 3.4.juno placeholders/redirects
Added: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j... (rev 0)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -0,0 +1,3 @@
+This folder is deprecated as the Juno release will be called 4.0, not 3.4.
+
+Use ../4.0.juno/ instead.
Modified: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j... 2012-08-31 16:52:21 UTC (rev 43355)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -7,38 +7,9 @@
get new time w/
date +%s000
-->
-<property name='p2.timestamp' value='1335932957000'/>
+<property name='p2.timestamp' value='1346433047000'/>
</properties>
-<children size='26'>
-
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--archives/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--as/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--birt/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--cdi/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--central/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--common/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--examples/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--forge/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--freemarker/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--gwt/all/repo/'/>
-
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--hibernatetools/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--jmx/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--jsf/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--jst/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--maven/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--openshift/all/repo/'/>
-<child location='../../../../staging/openshift-java-client-master/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--portlet/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--runtime/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--seam/all/repo/'/>
-
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--struts/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--tests/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--usage/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--vpe/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--ws/all/repo/'/>
-<child location='../../../../staging/xulrunner-1.9.2/all/repo/'/>
-
+<children size='1'>
+<child location='../4.0.juno/'/>
</children>
</repository>
Modified: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j... 2012-08-31 16:52:21 UTC (rev 43355)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/3.4.j... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -7,38 +7,9 @@
get new time w/
date +%s000
-->
-<property name='p2.timestamp' value='1335932957000'/>
+<property name='p2.timestamp' value='1346433047000'/>
</properties>
-<children size='26'>
-
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--archives/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--as/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--birt/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--cdi/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--central/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--common/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--examples/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--forge/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--freemarker/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--gwt/all/repo/'/>
-
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--hibernatetools/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--jmx/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--jsf/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--jst/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--maven/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--openshift/all/repo/'/>
-<child location='../../../../staging/openshift-java-client-master/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--portlet/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--runtime/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--seam/all/repo/'/>
-
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--struts/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--tests/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--usage/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--vpe/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--ws/all/repo/'/>
-<child location='../../../../staging/xulrunner-1.9.2/all/repo/'/>
-
+<children size='1'>
+<child location='../4.0.juno/'/>
</children>
</repository>
Added: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.j...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.j... (rev 0)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.j... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -0,0 +1,44 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<?compositeArtifactRepository version='1.0.0'?>
+<repository name='JBoss Tools - Core - Staging Repository' type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
+<properties size='2'>
+<property name='p2.compressed' value='true'/>
+<!--
+ get new time w/
+ date +%s000
+-->
+<property name='p2.timestamp' value='1346433047000'/>
+</properties>
+<children size='26'>
+
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--archives/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--as/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--birt/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--cdi/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--central/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--common/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--examples/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--forge/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--freemarker/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--gwt/all/repo/'/>
+
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--hibernatetools/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--jmx/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--jsf/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--jst/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--maven/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--openshift/all/repo/'/>
+<child location='../../../../staging/openshift-java-client-master/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--portlet/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--runtime/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--seam/all/repo/'/>
+
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--struts/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--tests/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--usage/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--vpe/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--ws/all/repo/'/>
+<child location='../../../../staging/xulrunner-1.9.2/all/repo/'/>
+
+</children>
+</repository>
Added: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.j...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.j... (rev 0)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/4.0.j... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -0,0 +1,44 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<?compositeMetadataRepository version='1.0.0'?>
+<repository name='JBoss Tools - Core - Staging Repository' type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
+<properties size='2'>
+<property name='p2.compressed' value='true'/>
+<!--
+ get new time w/
+ date +%s000
+-->
+<property name='p2.timestamp' value='1346433047000'/>
+</properties>
+<children size='26'>
+
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--archives/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--as/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--birt/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--cdi/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--central/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--common/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--examples/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--forge/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--freemarker/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--gwt/all/repo/'/>
+
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--hibernatetools/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--jmx/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--jsf/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--jst/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--maven/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--openshift/all/repo/'/>
+<child location='../../../../staging/openshift-java-client-master/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--portlet/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--runtime/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--seam/all/repo/'/>
+
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--struts/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--tests/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--usage/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--vpe/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--ws/all/repo/'/>
+<child location='../../../../staging/xulrunner-1.9.2/all/repo/'/>
+
+</children>
+</repository>
Added: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... (rev 0)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -0,0 +1,3 @@
+This folder is deprecated as the Juno release will be called 4.0, not 3.4.
+
+Use ../4.0.juno/ instead.
Modified: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... 2012-08-31 16:52:21 UTC (rev 43355)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -7,25 +7,9 @@
get new time w/
date +%s000
-->
-<property name='p2.timestamp' value='1331922270000'/>
+<property name='p2.timestamp' value='1346433047000'/>
</properties>
-<children size='10'>
-
-<!-- SOA Tooling : 10 x 1 = 10 -->
-
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--bpel/all/repo/'/>
-<child location='../../../../staging/jbosstools-drools-5.3_stable_branch/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--esb/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--flow/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--jbpm/all/repo/'/>
-
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--modeshape/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--runtime-soa/all/repo/'/>
-<child location='http://download.jboss.org/savara/releases/updates/2.0.x/' />
-<child location='../../../../staging/SwitchYard-Tools/eclipse/'/>
-<child location='../../../../staging/jbosstools-teiid-designer-7.7_stable_branch/all/repo/'/>
-
-<!-- <child location='../../savara-tools-eclipse-master/all/repo/'/> -->
-
+<children size='1'>
+<child location='../4.0.juno/'/>
</children>
</repository>
Modified: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... 2012-08-31 16:52:21 UTC (rev 43355)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -7,25 +7,9 @@
get new time w/
date +%s000
-->
-<property name='p2.timestamp' value='1331922270000'/>
+<property name='p2.timestamp' value='1346433047000'/>
</properties>
-<children size='10'>
-
-<!-- SOA Tooling : 10 x 1 = 10 -->
-
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--bpel/all/repo/'/>
-<child location='../../../../staging/jbosstools-drools-5.3_stable_branch/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--esb/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--flow/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--jbpm/all/repo/'/>
-
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--modeshape/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.4_stable_branch.component--runtime-soa/all/repo/'/>
-<child location='http://download.jboss.org/savara/releases/updates/2.0.x/' />
-<child location='../../../../staging/SwitchYard-Tools/eclipse/'/>
-<child location='../../../../staging/jbosstools-teiid-designer-7.7_stable_branch/all/repo/'/>
-
-<!-- <child location='../../savara-tools-eclipse-master/all/repo/'/> -->
-
+<children size='1'>
+<child location='../4.0.juno/'/>
</children>
</repository>
Copied: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... (from rev 43355, trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...)
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... (rev 0)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -0,0 +1,29 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<?compositeArtifactRepository version='1.0.0'?>
+<repository name='JBoss Tools - SOA Tooling - Staging Repository' type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
+<properties size='2'>
+<property name='p2.compressed' value='true'/>
+<!--
+ get new time w/
+ date +%s000
+-->
+<property name='p2.timestamp' value='1346433047000'/>
+</properties>
+<children size='10'>
+
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--bpel/all/repo/'/>
+<child location='../../../../staging/jbosstools-drools-5.3_stable_branch/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--esb/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--flow/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--jbpm/all/repo/'/>
+
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--modeshape/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--runtime-soa/all/repo/'/>
+<child location='http://download.jboss.org/savara/releases/updates/2.0.x/' />
+<child location='../../../../staging/SwitchYard-Tools/eclipse/'/>
+<child location='../../../../staging/jbosstools-teiid-designer-7.7_stable_branch/all/repo/'/>
+
+<!-- <child location='../../savara-tools-eclipse-master/all/repo/'/> -->
+
+</children>
+</repository>
Copied: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... (from rev 43355, trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...)
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... (rev 0)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -0,0 +1,29 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<?compositeMetadataRepository version='1.0.0'?>
+<repository name='JBoss Tools - SOA Tooling - Staging Repository' type='org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository' version='1.0.0'>
+<properties size='2'>
+<property name='p2.compressed' value='true'/>
+<!--
+ get new time w/
+ date +%s000
+-->
+<property name='p2.timestamp' value='1346433047000'/>
+</properties>
+<children size='10'>
+
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--bpel/all/repo/'/>
+<child location='../../../../staging/jbosstools-drools-5.3_stable_branch/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--esb/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--flow/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--jbpm/all/repo/'/>
+
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--modeshape/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_stable_branch.component--runtime-soa/all/repo/'/>
+<child location='http://download.jboss.org/savara/releases/updates/2.0.x/' />
+<child location='../../../../staging/SwitchYard-Tools/eclipse/'/>
+<child location='../../../../staging/jbosstools-teiid-designer-7.7_stable_branch/all/repo/'/>
+
+<!-- <child location='../../savara-tools-eclipse-master/all/repo/'/> -->
+
+</children>
+</repository>
Modified: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... 2012-08-31 16:52:21 UTC (rev 43355)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -13,6 +13,7 @@
<!-- SOA Tooling : 10 x 2 = 20 -->
+<!-- TODO: these jobs should all be renamed to 4.0_trunk instead of 3.3_trunk -->
<child location='../../../../staging/jbosstools-3.3_trunk.component--bpel/all/repo/'/>
<child location='../../../../staging/jbosstools-drools-5.3_trunk/all/repo/'/>
<child location='../../../../staging/jbosstools-3.3_trunk.component--esb/all/repo/'/>
Modified: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... 2012-08-31 16:52:21 UTC (rev 43355)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/soa-toolin... 2012-08-31 17:14:01 UTC (rev 43356)
@@ -13,6 +13,7 @@
<!-- SOA Tooling : 10 x 2 = 20 -->
+<!-- TODO: these jobs should all be renamed to 4.0_trunk instead of 3.3_trunk -->
<child location='../../../../staging/jbosstools-3.3_trunk.component--bpel/all/repo/'/>
<child location='../../../../staging/jbosstools-drools-5.3_trunk/all/repo/'/>
<child location='../../../../staging/jbosstools-3.3_trunk.component--esb/all/repo/'/>
12 years, 4 months
JBoss Tools SVN: r43355 - trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk.
by jbosstools-commits@lists.jboss.org
Author: mickael_istria
Date: 2012-08-31 12:52:21 -0400 (Fri, 31 Aug 2012)
New Revision: 43355
Modified:
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk...
trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk...
Log:
Move composites to 4.0
Modified: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk... 2012-08-31 16:51:50 UTC (rev 43354)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk... 2012-08-31 16:52:21 UTC (rev 43355)
@@ -13,62 +13,62 @@
<!-- JBT Core: 26 x 2 = 52 -->
-<child location='../../../../staging/jbosstools-3.3_trunk.component--archives/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--as/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--birt/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--cdi/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--central/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--common/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--examples/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--forge/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--freemarker/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--gwt/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--archives/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--as/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--birt/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--cdi/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--central/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--common/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--examples/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--forge/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--freemarker/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--gwt/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--hibernatetools/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--jmx/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--jsf/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--jst/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--maven/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--openshift/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--hibernatetools/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--jmx/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--jsf/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--jst/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--maven/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--openshift/all/repo/'/>
<child location='../../../../staging/openshift-java-client-master/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--portlet/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--runtime/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--seam/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--portlet/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--runtime/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--seam/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--struts/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--tests/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--usage/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--vpe/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--ws/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--struts/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--tests/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--usage/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--vpe/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--ws/all/repo/'/>
<child location='../../../../staging/xulrunner-1.9.2/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--archives/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--as/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--birt/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--cdi/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--central/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--common/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--examples/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--forge/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--freemarker/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--gwt/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--archives/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--as/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--birt/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--cdi/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--central/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--common/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--examples/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--forge/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--freemarker/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--gwt/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--hibernatetools/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--jmx/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--jsf/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--jst/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--maven/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--openshift/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--hibernatetools/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--jmx/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--jsf/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--jst/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--maven/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--openshift/all/repo/'/>
<child location='../../../../staging.previous/openshift-java-client-master/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--portlet/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--runtime/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--seam/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--portlet/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--runtime/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--seam/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--struts/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--tests/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--usage/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--vpe/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--ws/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--struts/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--tests/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--usage/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--vpe/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--ws/all/repo/'/>
<child location='../../../../staging.previous/xulrunner-1.9.2/all/repo/'/>
<!-- JBIDE-12292 Use m2e-wtp dev builds -->
Modified: trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk...
===================================================================
--- trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk... 2012-08-31 16:51:50 UTC (rev 43354)
+++ trunk/download.jboss.org/jbosstools/builds/staging/_composite_/core/trunk... 2012-08-31 16:52:21 UTC (rev 43355)
@@ -13,62 +13,62 @@
<!-- JBT Core: 26 x 2 = 52 -->
-<child location='../../../../staging/jbosstools-3.3_trunk.component--archives/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--as/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--birt/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--cdi/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--central/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--common/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--examples/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--forge/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--freemarker/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--gwt/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--archives/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--as/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--birt/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--cdi/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--central/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--common/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--examples/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--forge/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--freemarker/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--gwt/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--hibernatetools/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--jmx/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--jsf/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--jst/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--maven/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--openshift/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--hibernatetools/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--jmx/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--jsf/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--jst/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--maven/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--openshift/all/repo/'/>
<child location='../../../../staging/openshift-java-client-master/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--portlet/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--runtime/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--seam/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--portlet/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--runtime/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--seam/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--struts/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--tests/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--usage/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--vpe/all/repo/'/>
-<child location='../../../../staging/jbosstools-3.3_trunk.component--ws/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--struts/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--tests/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--usage/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--vpe/all/repo/'/>
+<child location='../../../../staging/jbosstools-4.0_trunk.component--ws/all/repo/'/>
<child location='../../../../staging/xulrunner-1.9.2/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--archives/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--as/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--birt/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--cdi/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--central/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--common/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--examples/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--forge/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--freemarker/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--gwt/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--archives/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--as/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--birt/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--cdi/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--central/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--common/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--examples/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--forge/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--freemarker/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--gwt/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--hibernatetools/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--jmx/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--jsf/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--jst/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--maven/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--openshift/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--hibernatetools/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--jmx/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--jsf/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--jst/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--maven/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--openshift/all/repo/'/>
<child location='../../../../staging.previous/openshift-java-client-master/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--portlet/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--runtime/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--seam/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--portlet/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--runtime/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--seam/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--struts/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--tests/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--usage/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--vpe/all/repo/'/>
-<child location='../../../../staging.previous/jbosstools-3.3_trunk.component--ws/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--struts/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--tests/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--usage/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--vpe/all/repo/'/>
+<child location='../../../../staging.previous/jbosstools-4.0_trunk.component--ws/all/repo/'/>
<child location='../../../../staging.previous/xulrunner-1.9.2/all/repo/'/>
<!-- JBIDE-12292 Use m2e-wtp dev builds -->
12 years, 4 months
JBoss Tools SVN: r43354 - branches.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2012-08-31 12:51:50 -0400 (Fri, 31 Aug 2012)
New Revision: 43354
Added:
branches/jbosstools-4.0.0.Alpha1/
Log:
Branch for branches/jbosstools-4.0.0.Alpha1
12 years, 4 months
JBoss Tools SVN: r43353 - in trunk/maven/plugins/org.jboss.tools.maven.conversion.ui: src/org/jboss/tools/maven/conversion/ui/dialog and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2012-08-31 11:56:41 -0400 (Fri, 31 Aug 2012)
New Revision: 43353
Added:
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/icons/warning.gif
Modified:
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/EditDependencyDialog.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/MavenDependencyConversionActivator.java
Log:
JBIDE-12530 : Warn the user about unresolvable dependencies during maven conversion
Added: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/icons/warning.gif
===================================================================
(Binary files differ)
Property changes on: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/icons/warning.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java 2012-08-31 15:18:07 UTC (rev 43352)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java 2012-08-31 15:56:41 UTC (rev 43353)
@@ -35,7 +35,6 @@
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ArrayContentProvider;
import org.eclipse.jface.viewers.CheckStateChangedEvent;
import org.eclipse.jface.viewers.CheckboxTableViewer;
@@ -44,7 +43,6 @@
import org.eclipse.jface.viewers.TableViewerColumn;
import org.eclipse.jface.window.Window;
import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.jst.j2ee.internal.validation.DependencyUtil;
import org.eclipse.m2e.core.MavenPlugin;
import org.eclipse.m2e.core.embedder.IMaven;
import org.eclipse.swt.SWT;
@@ -57,6 +55,7 @@
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.TableItem;
@@ -102,7 +101,13 @@
private boolean deleteJars;
+ private Label warningImg;
+ private Label warningLabel;
+
+ private static String MESSAGE = "Identify existing classpath entries as Maven dependencies. Double-click on a Maven Dependency to edit its details";
+
+
public IdentifyMavenDependencyPage(IProject project, Set<IClasspathEntry> entries) {
super("");
this.project = project;
@@ -169,10 +174,9 @@
layout.marginLeft = 12;
container.setLayout(layout);
container.setLayoutData(new GridData(GridData.FILL_BOTH));
-
- String message = "Identify existing classpath entries as Maven dependencies. Double-click on a Maven Dependency to edit its details";
- setMessage(message);
+ setMessage(MESSAGE);
+
displayDependenciesTable(container);
deleteJarsBtn = addCheckButton(container, "Delete classpath entries from project", deleteJars);
@@ -276,8 +280,8 @@
if (entry.getValue() == null) {
return failedImage;
} else {
- //return (isResolved(entry.getValue(), null))?okImage:unresolvedImage;
- return okImage;
+ return (isResolved(entry.getValue(), null))?okImage:unresolvedImage;
+ //return okImage;
}
}
});
@@ -303,11 +307,9 @@
if(editDependencyDialog.open() == Window.OK) {
Dependency newDep = editDependencyDialog.getDependency();
entry.setValue(newDep);
- /*
if (!eq(newDep,d)) {
isResolved(newDep, new NullProgressMonitor());
}
- */
refresh();
}
}
@@ -481,6 +483,14 @@
if (dependenciesViewer != null && !dependenciesViewer.getTable().isDisposed()) {
dependenciesViewer.refresh();
}
+
+ for (Dependency d : getDependencies()) {
+ if (Boolean.FALSE.equals(dependencyResolution.get(d))) {
+ setMessage("Some selected dependencies can not be resolved using the repositories from your settings.xml", WARNING);
+ return;
+ }
+ }
+ setMessage(MESSAGE);
}
@@ -537,7 +547,7 @@
@Override
public void run() {
Dependency d = job.getDependency();
- //isResolved(d, new NullProgressMonitor());
+ isResolved(d, new NullProgressMonitor());
dependencyMap.put(entry.getKey(), d);
refresh();
}
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/EditDependencyDialog.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/EditDependencyDialog.java 2012-08-31 15:18:07 UTC (rev 43352)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/EditDependencyDialog.java 2012-08-31 15:56:41 UTC (rev 43353)
@@ -201,8 +201,9 @@
public void setDependency(Dependency dependency) {
- this.dependency = dependency;
+ this.dependency = dependency == null? null : dependency.clone();
+
if(dependency != null
&& groupIdText != null
&& !groupIdText.isDisposed()) {
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/MavenDependencyConversionActivator.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/MavenDependencyConversionActivator.java 2012-08-31 15:18:07 UTC (rev 43352)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/MavenDependencyConversionActivator.java 2012-08-31 15:56:41 UTC (rev 43353)
@@ -95,12 +95,20 @@
}
public static Image getIcon(String pathToIcon) {
+ ImageDescriptor descriptor = imageDescriptorFromPlugin(PLUGIN_ID, pathToIcon);
+ return getIcon(descriptor);
+ }
+
+ private static Image getIcon(ImageDescriptor descriptor) {
Image img = null;
- ImageDescriptor descriptor = imageDescriptorFromPlugin(PLUGIN_ID, pathToIcon);
if(descriptor != null) {
img = descriptor.createImage();
}
return img;
}
+
+ public static Image getWarningIcon() {
+ return getIcon("icons/warning.gif");
+ }
}
\ No newline at end of file
12 years, 4 months
JBoss Tools SVN: r43352 - trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2012-08-31 11:18:07 -0400 (Fri, 31 Aug 2012)
New Revision: 43352
Modified:
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java
Log:
JBIDE-8973 : remove test dialog on dbl click
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java 2012-08-31 12:46:42 UTC (rev 43351)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java 2012-08-31 15:18:07 UTC (rev 43352)
@@ -19,10 +19,15 @@
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
+import java.util.concurrent.ConcurrentHashMap;
+import org.apache.maven.artifact.Artifact;
+import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.model.Dependency;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.jobs.IJobChangeEvent;
import org.eclipse.core.runtime.jobs.IJobChangeListener;
import org.eclipse.core.runtime.jobs.Job;
@@ -39,6 +44,9 @@
import org.eclipse.jface.viewers.TableViewerColumn;
import org.eclipse.jface.window.Window;
import org.eclipse.jface.wizard.WizardPage;
+import org.eclipse.jst.j2ee.internal.validation.DependencyUtil;
+import org.eclipse.m2e.core.MavenPlugin;
+import org.eclipse.m2e.core.embedder.IMaven;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
@@ -76,7 +84,9 @@
private Map<IClasspathEntry, IdentifyJarJob> identificationJobs;
private Set<IClasspathEntry> initialEntries;
-
+
+ private Map<Dependency, Boolean> dependencyResolution = new ConcurrentHashMap<Dependency, Boolean>();
+
private IProject project;
private Image jarImage;
@@ -84,6 +94,7 @@
private Image okImage;
private Image failedImage;
private Image loadingImage;
+ private Image unresolvedImage;
private CheckboxTableViewer dependenciesViewer;
@@ -123,10 +134,22 @@
}
}
+
+ public void dispose() {
+ if (jarImage != null) jarImage.dispose();
+ if (okImage != null) okImage.dispose();
+ if (projectImage != null) projectImage.dispose();
+ if (failedImage != null) failedImage.dispose();
+ if (loadingImage != null) loadingImage.dispose();
+ if (unresolvedImage != null) unresolvedImage.dispose();
+ }
+
+
private void initImages() {
jarImage = MavenDependencyConversionActivator.getJarIcon();
projectImage = MavenDependencyConversionActivator.getProjectIcon();
okImage = MavenDependencyConversionActivator.getOkIcon();
+ unresolvedImage = MavenDependencyConversionActivator.getWarningIcon();
failedImage = MavenDependencyConversionActivator.getFailedIcon();
loadingImage = MavenDependencyConversionActivator.getLoadingIcon();
}
@@ -242,7 +265,7 @@
@Override
@SuppressWarnings("unchecked")
public Image getImage(Object element) {
- Map.Entry<IClasspathEntry, String> entry = (Map.Entry<IClasspathEntry, String>) element;
+ Map.Entry<IClasspathEntry, Dependency> entry = (Map.Entry<IClasspathEntry, Dependency>) element;
IdentifyJarJob job = identificationJobs ==null? null:identificationJobs.get(entry.getKey());
if (job != null) {
int jobState = job.getState();
@@ -253,6 +276,7 @@
if (entry.getValue() == null) {
return failedImage;
} else {
+ //return (isResolved(entry.getValue(), null))?okImage:unresolvedImage;
return okImage;
}
}
@@ -277,12 +301,27 @@
EditDependencyDialog editDependencyDialog = new EditDependencyDialog(getShell());
editDependencyDialog.setDependency(d);
if(editDependencyDialog.open() == Window.OK) {
- entry.setValue(editDependencyDialog.getDependency());
+ Dependency newDep = editDependencyDialog.getDependency();
+ entry.setValue(newDep);
+ /*
+ if (!eq(newDep,d)) {
+ isResolved(newDep, new NullProgressMonitor());
+ }
+ */
+ refresh();
}
- } else {
- MessageDialog.openInformation(getShell(), "you dbl-clicked", "you dbl-clicked");
}
}
+
+ private boolean eq(Dependency newDep, Dependency d) {
+ if (newDep == d) {
+ return true;
+ }
+ if (d == null) {
+ return false;
+ }
+ return newDep.toString().equals(d.toString());
+ }
});
@@ -498,6 +537,7 @@
@Override
public void run() {
Dependency d = job.getDependency();
+ //isResolved(d, new NullProgressMonitor());
dependencyMap.put(entry.getKey(), d);
refresh();
}
@@ -544,4 +584,32 @@
return deleteJars;
}
+ private boolean isResolved(Dependency d, IProgressMonitor monitor) {
+ if (d == null) {
+ return false;
+ }
+ if (monitor == null) {
+ monitor = new NullProgressMonitor();
+ }
+ Boolean resolved = dependencyResolution.get(d);
+ if (resolved == null) {
+ String groupId = d.getGroupId();
+ String artifactId = d.getArtifactId();
+ String version = d.getVersion();
+ String type = d.getType();
+ String classifier = d.getClassifier();
+ IMaven maven = MavenPlugin.getMaven();
+ Artifact a =null;
+ try {
+ List<ArtifactRepository> artifactRepositories = maven.getArtifactRepositories();
+ a = maven.resolve(groupId , artifactId , version , type , classifier , artifactRepositories , monitor);
+ } catch(CoreException e) {
+ //ignore
+ }
+ resolved = a != null && a.isResolved();
+ dependencyResolution.put (d, resolved);
+ }
+ return resolved;
+ }
+
}
12 years, 4 months
JBoss Tools SVN: r43351 - in trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui: dialog and 3 other directories.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2012-08-31 08:46:42 -0400 (Fri, 31 Aug 2012)
New Revision: 43351
Added:
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/DeleteExistingJarsJob.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/ConversionUtils.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/EditDependencyDialog.java
Removed:
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/ConversionUtils.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/EditDependencyDialog.java
Modified:
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/Messages.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/ConvertToMavenDependencyWizard.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/DependencyConversionPreviewPage.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/handlers/ConvertToMavenDependencyHandler.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/handlers/IdentifyJarJob.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/CellListener.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/ClasspathConversionParticipant.java
trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/MavenDependencyConversionActivator.java
Log:
JBIDE-8973 : open dependency dialog on dbl-click, delete classpath entries
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/Messages.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/Messages.java 2012-08-31 12:43:17 UTC (rev 43350)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/Messages.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -1,5 +1,5 @@
/*************************************************************************************
- * Copyright (c) 2008-2011 Red Hat, Inc. and others.
+ * Copyright (c) 2012 Red Hat, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Deleted: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/ConversionUtils.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/ConversionUtils.java 2012-08-31 12:43:17 UTC (rev 43350)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/ConversionUtils.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -1,67 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2012 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- * Theodora Yeung (tyeung(a)bea.com) - ensure that JarPackageFragmentRoot make it into cache
- * before its contents
- * (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=102422)
- * Stephan Herrmann - Contribution for Bug 346010 - [model] strange initialization dependency in OptionTests
- * Terry Parker <tparker(a)google.com> - DeltaProcessor misses state changes in archive files, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=357425
- * Red Hat - copied code from {@link org.eclipse.jdt.internal.core.JavaModelManager.#getZipFile(IPath)}
- *******************************************************************************/
-package org.jboss.tools.maven.conversion.ui.dialog;
-
-import java.io.File;
-import java.net.URI;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.internal.core.util.Messages;
-import org.eclipse.jdt.internal.core.util.Util;
-import org.jboss.tools.maven.conversion.ui.internal.MavenDependencyConversionActivator;
-
-@SuppressWarnings("restriction")
-public class ConversionUtils {
-
-
- /**
- * Returns the underlying {@link File} from a {@link IClasspathEntry}.
- * <br/>
- * Part of the code comes from {@link org.eclipse.jdt.internal.core.JavaModelManager.#getZipFile(IPath)}
- * @param cpe
- * @return
- * @throws CoreException
- */
- public static File getFile(IClasspathEntry cpe) throws CoreException {
- IPath path = cpe.getPath();
- IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
- IResource file = root.findMember(path);
- File localFile = null;
- if (file != null) {
- // internal resource
- URI location;
- if (file.getType() != IResource.FILE || (location = file.getLocationURI()) == null) {
- throw new CoreException(new Status(IStatus.ERROR, MavenDependencyConversionActivator.PLUGIN_ID, -1, Messages.bind(Messages.file_notFound, path.toString()), null));
- }
- localFile = Util.toLocalFile(location, null/*no progress availaible*/);
- if (localFile == null)
- throw new CoreException(new Status(IStatus.ERROR, MavenDependencyConversionActivator.PLUGIN_ID, -1, Messages.bind(Messages.file_notFound, path.toString()), null));
- } else {
- // external resource -> it is ok to use toFile()
- localFile= path.toFile();
- }
- return localFile;
- }
-
-}
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/ConvertToMavenDependencyWizard.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/ConvertToMavenDependencyWizard.java 2012-08-31 12:43:17 UTC (rev 43350)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/ConvertToMavenDependencyWizard.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -1,3 +1,13 @@
+/*************************************************************************************
+ * Copyright (c) 2012 Red Hat, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
package org.jboss.tools.maven.conversion.ui.dialog;
import java.util.List;
@@ -11,6 +21,7 @@
public class ConvertToMavenDependencyWizard extends Wizard {
private IProject project;
+
private Set<IClasspathEntry> entries;
@@ -42,8 +53,21 @@
@Override
public boolean performFinish() {
if (identificationPage != null) {
- dependencies = identificationPage.getDependencies();
+ dependencies = identificationPage.getDependencies();
+
+ if (identificationPage.isDeleteJars()) {
+ /* actually only delete classpath entries */
+ DeleteExistingJarsJob deleteJob = new DeleteExistingJarsJob(project, entries);
+ deleteJob.schedule();
+ try {
+ deleteJob.join();//wait for job to finish to prevent bad concurrency issues
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ //ignore
+ }
+ }
}
+
return true;
}
Added: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/DeleteExistingJarsJob.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/DeleteExistingJarsJob.java (rev 0)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/DeleteExistingJarsJob.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -0,0 +1,142 @@
+/*************************************************************************************
+ * Copyright (c) 2012 Red Hat, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
+package org.jboss.tools.maven.conversion.ui.dialog;
+
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.MultiStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.core.runtime.jobs.Job;
+import org.eclipse.jdt.core.IClasspathContainer;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.core.JavaCore;
+import org.jboss.tools.maven.conversion.ui.dialog.xpl.ConversionUtils;
+import org.jboss.tools.maven.core.MavenCoreActivator;
+
+public class DeleteExistingJarsJob extends Job {
+
+ private Set<IClasspathEntry> entries;
+
+ private IJavaProject javaProject;
+
+ public DeleteExistingJarsJob(IProject project, Set<IClasspathEntry> entries) {
+ super("Delete classpath entries"
+ + ((project == null) ? "" : "for " + project.getName()));
+ this.javaProject = JavaCore.create(project);
+ this.entries = entries;
+ }
+
+ @Override
+ protected IStatus run(IProgressMonitor monitor) {
+ Set<IPath> pathsToRemove = new HashSet<IPath>();
+ Set<IFile> filesToRemove = new HashSet<IFile>();
+ try {
+
+ for (IClasspathEntry e : entries) {
+ collectDeletableEntries(e, pathsToRemove, filesToRemove);
+ }
+
+ updateClasspath(pathsToRemove, monitor);
+ /* Need to use the refactoring API
+ deleteFiles(filesToRemove, monitor);
+ */
+
+ } catch (CoreException e) {
+ return new Status(IStatus.ERROR, MavenCoreActivator.PLUGIN_ID, "Unable to delete classpath entries", e);
+ }
+
+ return Status.OK_STATUS;
+ }
+
+ private void deleteFiles(Set<IFile> filesToRemove, IProgressMonitor monitor)
+ throws CoreException {
+ List<IStatus> exceptions = new ArrayList<IStatus>();
+ for (IFile f : filesToRemove) {
+ if (f.exists()) {
+ try {
+ f.delete(true, monitor);
+ } catch (CoreException e) {
+ exceptions.add(new Status(Status.ERROR, MavenCoreActivator.PLUGIN_ID, 0, "Unable to delete "+f.getFullPath(), e));
+ }
+ }
+ }
+
+ if (!exceptions.isEmpty()) {
+ IStatus[] statuses = new IStatus[exceptions.size()];
+ exceptions.toArray(statuses);
+ IStatus status = new MultiStatus(MavenCoreActivator.PLUGIN_ID, Status.ERROR, statuses ,"Unable to delete files", null);
+ throw new CoreException(status );
+ }
+ }
+
+ private void updateClasspath(Set<IPath> pathsToRemove, IProgressMonitor monitor) throws CoreException {
+ if (pathsToRemove.isEmpty()) {
+ return;
+ }
+ ArrayList<IClasspathEntry> newEntries = new ArrayList<IClasspathEntry>();
+ for (IClasspathEntry entry : javaProject.getRawClasspath()) {
+ if (!pathsToRemove.contains(entry.getPath())) {
+ newEntries.add(entry);
+ }
+ }
+ javaProject.setRawClasspath(
+ newEntries.toArray(new IClasspathEntry[newEntries.size()]),
+ null);
+ }
+
+ private void collectDeletableEntries(IClasspathEntry entry,
+ Set<IPath> pathsToRemove, Set<IFile> filesToRemove)
+ throws CoreException {
+ if ((entry.getEntryKind() == IClasspathEntry.CPE_LIBRARY
+ && entry.getPath() != null)) {
+
+ if (pathsToRemove != null) {
+ pathsToRemove.add(entry.getPath());
+ }
+
+ if (filesToRemove != null) {
+ IFile f = ConversionUtils.getIFile(entry);
+ if (f != null && f.exists()
+ && javaProject.getProject().equals(f.getProject())) {
+ filesToRemove.add(f);
+ }
+ }
+ return;
+ }
+
+ if (pathsToRemove == null) {
+ return;
+ }
+ if (entry.getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
+ IPath path = entry.getPath();
+ pathsToRemove.add(path);
+ IClasspathContainer container = JavaCore.getClasspathContainer( path, javaProject);
+ if (container != null) {
+ IClasspathEntry[] cpes = container.getClasspathEntries();
+ if (cpes != null && cpes.length > 0) {
+ collectDeletableEntries(entry, null, filesToRemove);
+ }
+ }
+ }
+ // TODO handle other entry kinds
+ }
+
+}
\ No newline at end of file
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/DependencyConversionPreviewPage.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/DependencyConversionPreviewPage.java 2012-08-31 12:43:17 UTC (rev 43350)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/DependencyConversionPreviewPage.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -1,3 +1,13 @@
+/*************************************************************************************
+ * Copyright (c) 2012 Red Hat, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
package org.jboss.tools.maven.conversion.ui.dialog;
import org.eclipse.jface.wizard.WizardPage;
Deleted: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/EditDependencyDialog.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/EditDependencyDialog.java 2012-08-31 12:43:17 UTC (rev 43350)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/EditDependencyDialog.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -1,231 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008-2011 Sonatype, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sonatype, Inc. - initial API and implementation
- *******************************************************************************/
-
-package org.jboss.tools.maven.conversion.ui.dialog;
-
-import static org.eclipse.m2e.core.ui.internal.util.Util.nvl;
-
-import org.apache.maven.model.Dependency;
-import org.eclipse.m2e.core.ui.internal.Messages;
-import org.eclipse.m2e.core.ui.internal.util.M2EUIUtils;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Combo;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.dialogs.SelectionStatusDialog;
-
-
-public class EditDependencyDialog extends SelectionStatusDialog {
- private static final String[] TYPES = new String[] {"jar", "war", "rar", "ear", "par", "ejb", "ejb-client", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$
- "test-jar", "java-source", "javadoc", "maven-plugin", "pom"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
-
- private String[] scopes = new String[] {"compile", "provided", "runtime", "test", "system"};
-
- protected Text groupIdText;
-
- protected Text artifactIdText;
-
- protected Text versionText;
-
- protected Text classifierText;
-
- protected Combo typeCombo;
-
- protected Combo scopeCombo;
-
- protected Text systemPathText;
-
- protected Button optionalButton;
-
- private Dependency dependency;
-
-/**
- *
- * @param parent
- * @param dependencyManagement
- * @param project can be null, only used for indexer search as scope
- * @param mavenProject
- */
- public EditDependencyDialog(Shell parent) {
- super(parent);
- setShellStyle(getShellStyle() | SWT.RESIZE);
- setTitle("Edit dependency");
- }
-
- @Override
- protected Control createDialogArea(Composite parent) {
- Composite superComposite = (Composite) super.createDialogArea(parent);
-
- Composite composite = new Composite(superComposite, SWT.NONE);
- composite.setLayout(new GridLayout(3, false));
- composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
-
- Label groupIdLabel = new Label(composite, SWT.NONE);
- groupIdLabel.setText(Messages.EditDependencyDialog_groupId_label);
-
- groupIdText = new Text(composite, SWT.BORDER);
- GridData gd_groupIdText = new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1);
- gd_groupIdText.horizontalIndent = 4;
- groupIdText.setLayoutData(gd_groupIdText);
- //ProposalUtil.addGroupIdProposal(project, groupIdText, Packaging.ALL);
- M2EUIUtils.addRequiredDecoration(groupIdText);
-
- Label artifactIdLabel = new Label(composite, SWT.NONE);
- artifactIdLabel.setText("Artifact Id");
-
- artifactIdText = new Text(composite, SWT.BORDER);
- GridData gd_artifactIdText = new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1);
- gd_artifactIdText.horizontalIndent = 4;
- artifactIdText.setLayoutData(gd_artifactIdText);
- //ProposalUtil.addArtifactIdProposal(project, groupIdText, artifactIdText, Packaging.ALL);
- M2EUIUtils.addRequiredDecoration(artifactIdText);
-
- Label versionLabel = new Label(composite, SWT.NONE);
- versionLabel.setText(Messages.EditDependencyDialog_version_label);
-
- versionText = new Text(composite, SWT.BORDER);
- GridData versionTextData = new GridData(SWT.LEFT, SWT.CENTER, true, false, 2, 1);
- versionTextData.horizontalIndent = 4;
- versionTextData.widthHint = 200;
- versionText.setLayoutData(versionTextData);
- //ProposalUtil.addVersionProposal(project, mavenproject, groupIdText, artifactIdText, versionText, Packaging.ALL);
-
- Label classifierLabel = new Label(composite, SWT.NONE);
- classifierLabel.setText(Messages.EditDependencyDialog_classifier_label);
-
- classifierText = new Text(composite, SWT.BORDER);
- GridData gd_classifierText = new GridData(SWT.LEFT, SWT.CENTER, true, false, 2, 1);
- gd_classifierText.horizontalIndent = 4;
- gd_classifierText.widthHint = 200;
- classifierText.setLayoutData(gd_classifierText);
- //ProposalUtil
- // .addClassifierProposal(project, groupIdText, artifactIdText, versionText, classifierText, Packaging.ALL);
-
- Label typeLabel = new Label(composite, SWT.NONE);
- typeLabel.setText(Messages.EditDependencyDialog_type_label);
-
- typeCombo = new Combo(composite, SWT.NONE);
- typeCombo.setItems(TYPES);
- GridData gd_typeText = new GridData(SWT.LEFT, SWT.CENTER, true, false, 2, 1);
- gd_typeText.horizontalIndent = 4;
- gd_typeText.widthHint = 120;
- typeCombo.setLayoutData(gd_typeText);
-
- Label scopeLabel = new Label(composite, SWT.NONE);
- scopeLabel.setText(Messages.EditDependencyDialog_scope_label);
-
- scopeCombo = new Combo(composite, SWT.NONE);
- scopeCombo.setItems(scopes);
- GridData gd_scopeText = new GridData(SWT.LEFT, SWT.CENTER, true, false, 2, 1);
- gd_scopeText.horizontalIndent = 4;
- gd_scopeText.widthHint = 120;
- scopeCombo.setLayoutData(gd_scopeText);
-
- Label systemPathLabel = new Label(composite, SWT.NONE);
- systemPathLabel.setText(Messages.EditDependencyDialog_systemPath_label);
-
- systemPathText = new Text(composite, SWT.BORDER);
- GridData gd_systemPathText = new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1);
- gd_systemPathText.horizontalIndent = 4;
- gd_systemPathText.widthHint = 200;
- systemPathText.setLayoutData(gd_systemPathText);
-
-// selectSystemPathButton = new Button(composite, SWT.NONE);
-// selectSystemPathButton.setText("Select...");
-
- new Label(composite, SWT.NONE);
-
- optionalButton = new Button(composite, SWT.CHECK);
- optionalButton.setText(Messages.EditDependencyDialog_optional_checkbox);
- GridData gd_optionalButton = new GridData(SWT.LEFT, SWT.TOP, false, false, 2, 1);
- gd_optionalButton.horizontalIndent = 4;
- optionalButton.setLayoutData(gd_optionalButton);
-
- composite.setTabList(new Control[] {groupIdText, artifactIdText, versionText, classifierText, typeCombo,
- scopeCombo, systemPathText, /*selectSystemPathButton,*/optionalButton});
-
- setDependency(dependency);
-
- return superComposite;
- }
-
- @Override
- protected void computeResult() {
- if (dependency == null) {
- dependency = new Dependency();
- }
- final String groupId = valueOrNull(groupIdText.getText());
- final String artifactId = valueOrNull(artifactIdText.getText());
- final String version = valueOrNull(versionText.getText());
- final String type = valueOrNull(typeCombo.getText());
- final String scope = valueOrNull(scopeCombo.getText());
- final String classifier = valueOrNull(classifierText.getText());
- final String system = valueOrNull(systemPathText.getText());
-
- dependency.setArtifactId(artifactId);
- dependency.setGroupId(groupId);
- dependency.setType(type);
- dependency.setVersion(version);
- dependency.setScope(scope);
- dependency.setClassifier(classifier);
- dependency.setSystemPath(system);
- boolean optional = optionalButton.getSelection();
- if (optional != dependency.isOptional()) {
- dependency.setOptional(optional);
- }
- }
-
- private String valueOrNull(String value) {
- if (value != null) {
- value = value.trim();
- if (value.length() == 0) {
- value = null;
- }
- }
- return value;
- }
-
-
- public void setDependency(Dependency dependency) {
- this.dependency = dependency;
-
- if(dependency != null
- && groupIdText != null
- && !groupIdText.isDisposed()) {
- groupIdText.setText(nvl(dependency.getGroupId()));
- artifactIdText.setText(nvl(dependency.getArtifactId()));
- versionText.setText(nvl(dependency.getVersion()));
- classifierText.setText(nvl(dependency.getClassifier()));
- typeCombo.setText("".equals(nvl(dependency.getType())) ? "jar" : dependency.getType()); //$NON-NLS-1$ //$NON-NLS-2$
- scopeCombo.setText("".equals(nvl(dependency.getScope())) ? "compile" : dependency.getScope()); //$NON-NLS-1$ //$NON-NLS-2$
- systemPathText.setText(nvl(dependency.getSystemPath()));
-
- boolean optional = Boolean.parseBoolean(dependency.getOptional());
- if(optionalButton.getSelection() != optional) {
- optionalButton.setSelection(optional);
- }
- }
- }
-
- /**
- * @return the dependency
- */
- public Dependency getDependency() {
- return dependency;
- }
-
-}
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java 2012-08-31 12:43:17 UTC (rev 43350)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/IdentifyMavenDependencyPage.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -1,5 +1,5 @@
/*************************************************************************************
- * Copyright (c) 2009-2011 Red Hat, Inc. and others.
+ * Copyright (c) 2012 Red Hat, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -30,18 +30,17 @@
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaCore;
+import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ArrayContentProvider;
-import org.eclipse.jface.viewers.CellEditor;
import org.eclipse.jface.viewers.CheckStateChangedEvent;
import org.eclipse.jface.viewers.CheckboxTableViewer;
import org.eclipse.jface.viewers.ColumnLabelProvider;
-import org.eclipse.jface.viewers.DialogCellEditor;
-import org.eclipse.jface.viewers.ICellModifier;
import org.eclipse.jface.viewers.ICheckStateListener;
import org.eclipse.jface.viewers.TableViewerColumn;
import org.eclipse.jface.window.Window;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.graphics.Image;
@@ -49,11 +48,12 @@
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.TableItem;
+import org.jboss.tools.maven.conversion.ui.dialog.xpl.ConversionUtils;
+import org.jboss.tools.maven.conversion.ui.dialog.xpl.EditDependencyDialog;
import org.jboss.tools.maven.conversion.ui.handlers.IdentifyJarJob;
import org.jboss.tools.maven.conversion.ui.internal.CellListener;
import org.jboss.tools.maven.conversion.ui.internal.MavenDependencyConversionActivator;
@@ -63,10 +63,12 @@
public class IdentifyMavenDependencyPage extends WizardPage {
+ /*
private static final String SOURCE_PROPERTY = "SOURCE_PROPERTY";
private static final String DEPENDENCY_PROPERTY = "DEPENDENCY_PROPERTY";
-
+ */
+
private static final int DEPENDENCY_COLUMN = 2;
private Map<IClasspathEntry, Dependency> dependencyMap;
@@ -85,6 +87,11 @@
private CheckboxTableViewer dependenciesViewer;
+ private Button deleteJarsBtn;
+
+ private boolean deleteJars;
+
+
public IdentifyMavenDependencyPage(IProject project, Set<IClasspathEntry> entries) {
super("");
this.project = project;
@@ -140,15 +147,29 @@
container.setLayout(layout);
container.setLayoutData(new GridData(GridData.FILL_BOTH));
- String message = "Identify existing classpath entries as Maven dependencies";
+ String message = "Identify existing classpath entries as Maven dependencies. Double-click on a Maven Dependency to edit its details";
setMessage(message);
displayDependenciesTable(container);
+ deleteJarsBtn = addCheckButton(container, "Delete classpath entries from project", deleteJars);
+ deleteJarsBtn.addSelectionListener(new SelectionAdapter() {
+ public void widgetSelected(SelectionEvent e) {
+ deleteJars = deleteJarsBtn.getSelection();
+ }
+ });
runIdentificationJobs();
}
+
+ private Button addCheckButton(Composite container, String label,
+ boolean selected) {
+ Button checkBtn = new Button(container, SWT.CHECK);
+ checkBtn.setText(label);
+ checkBtn.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false, 2, 1));
+ checkBtn.setSelection(selected);
+ return checkBtn;
+ }
-
private void displayDependenciesTable(Composite container) {
GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true, 2, 4);
gd.heightHint = 500;
@@ -258,6 +279,8 @@
if(editDependencyDialog.open() == Window.OK) {
entry.setValue(editDependencyDialog.getDependency());
}
+ } else {
+ MessageDialog.openInformation(getShell(), "you dbl-clicked", "you dbl-clicked");
}
}
});
@@ -265,10 +288,12 @@
addSelectionButton(container, "Select All", true);
addSelectionButton(container, "Deselect All", false);
- //addIdentifyButton(container, "Identify dependencies");
+ if (Boolean.getBoolean("org.jboss.tools.maven.conversion.debug")) {
+ addIdentifyButton(container, "Identify dependencies");
+ }
addResetButton(container, "Reset");
- addCellEditors();
+ //addCellEditors();
}
@@ -277,6 +302,7 @@
return true;
}
+ /*
protected void addCellEditors() {
dependenciesViewer.setColumnProperties(
new String[] { "EMPTY", SOURCE_PROPERTY, DEPENDENCY_PROPERTY });
@@ -286,7 +312,7 @@
dependenciesViewer.setCellEditors(editors);
dependenciesViewer.setCellModifier(new DependencyCellModifier());
}
-
+
private class DependencyCellModifier implements ICellModifier {
public boolean canModify(Object element, String property) {
@@ -333,10 +359,9 @@
}
return d;
}
-
}
+ */
-
private Button addSelectionButton(Composite container, String label,
final boolean ischecked) {
Button button = new Button(container, SWT.NONE);
@@ -513,4 +538,10 @@
}
return dependencies;
}
+
+
+ public boolean isDeleteJars() {
+ return deleteJars;
+ }
+
}
Copied: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/ConversionUtils.java (from rev 43326, trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/ConversionUtils.java)
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/ConversionUtils.java (rev 0)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/ConversionUtils.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -0,0 +1,83 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2012 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Theodora Yeung (tyeung(a)bea.com) - ensure that JarPackageFragmentRoot make it into cache
+ * before its contents
+ * (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=102422)
+ * Stephan Herrmann - Contribution for Bug 346010 - [model] strange initialization dependency in OptionTests
+ * Terry Parker <tparker(a)google.com> - DeltaProcessor misses state changes in archive files, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=357425
+ * Red Hat - copied code from {@link org.eclipse.jdt.internal.core.JavaModelManager.#getZipFile(IPath)}
+ *******************************************************************************/
+package org.jboss.tools.maven.conversion.ui.dialog.xpl;
+
+import java.io.File;
+import java.net.URI;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IWorkspaceRoot;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.Assert;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.jdt.core.IClasspathEntry;
+import org.eclipse.jdt.internal.core.util.Messages;
+import org.eclipse.jdt.internal.core.util.Util;
+import org.jboss.tools.maven.conversion.ui.internal.MavenDependencyConversionActivator;
+
+@SuppressWarnings("restriction")
+public class ConversionUtils {
+
+
+ /**
+ * Returns the underlying {@link File} from a {@link IClasspathEntry}.
+ * <br/>
+ * Part of the code comes from {@link org.eclipse.jdt.internal.core.JavaModelManager.#getZipFile(IPath)}
+ * @param cpe
+ * @return
+ * @throws CoreException
+ */
+ public static File getFile(IClasspathEntry cpe) throws CoreException {
+ Assert.isNotNull(cpe, "ClasspathEntry can not be null");
+ IPath path = cpe.getPath();
+ IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
+ IResource file = root.findMember(path);
+ File localFile = null;
+ if (file != null) {
+ // internal resource
+ URI location;
+ if (file.getType() != IResource.FILE || (location = file.getLocationURI()) == null) {
+ throw new CoreException(new Status(IStatus.ERROR, MavenDependencyConversionActivator.PLUGIN_ID, -1, Messages.bind(Messages.file_notFound, path.toString()), null));
+ }
+ localFile = Util.toLocalFile(location, null/*no progress availaible*/);
+ if (localFile == null)
+ throw new CoreException(new Status(IStatus.ERROR, MavenDependencyConversionActivator.PLUGIN_ID, -1, Messages.bind(Messages.file_notFound, path.toString()), null));
+ } else {
+ // external resource -> it is ok to use toFile()
+ localFile= path.toFile();
+ }
+ return localFile;
+ }
+
+ public static IFile getIFile(IClasspathEntry cpe) throws CoreException {
+ Assert.isNotNull(cpe, "ClasspathEntry can not be null");
+ IPath path = cpe.getPath();
+ if (path != null) {
+ IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
+ IResource file = root.findMember(path);
+ if (file != null && file instanceof IFile) {
+ return (IFile) file;
+ }
+ }
+ return null;
+ }
+
+}
Copied: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/EditDependencyDialog.java (from rev 43326, trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/EditDependencyDialog.java)
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/EditDependencyDialog.java (rev 0)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/dialog/xpl/EditDependencyDialog.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -0,0 +1,231 @@
+/*******************************************************************************
+ * Copyright (c) 2008-2011 Sonatype, Inc.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sonatype, Inc. - initial API and implementation
+ *******************************************************************************/
+
+package org.jboss.tools.maven.conversion.ui.dialog.xpl;
+
+import static org.eclipse.m2e.core.ui.internal.util.Util.nvl;
+
+import org.apache.maven.model.Dependency;
+import org.eclipse.m2e.core.ui.internal.Messages;
+import org.eclipse.m2e.core.ui.internal.util.M2EUIUtils;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Combo;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.dialogs.SelectionStatusDialog;
+
+
+public class EditDependencyDialog extends SelectionStatusDialog {
+ private static final String[] TYPES = new String[] {"jar", "war", "rar", "ear", "par", "ejb", "ejb-client", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$
+ "test-jar", "java-source", "javadoc", "maven-plugin", "pom"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
+
+ private String[] scopes = new String[] {"compile", "provided", "runtime", "test", "system"};
+
+ protected Text groupIdText;
+
+ protected Text artifactIdText;
+
+ protected Text versionText;
+
+ protected Text classifierText;
+
+ protected Combo typeCombo;
+
+ protected Combo scopeCombo;
+
+ protected Text systemPathText;
+
+ protected Button optionalButton;
+
+ private Dependency dependency;
+
+/**
+ *
+ * @param parent
+ * @param dependencyManagement
+ * @param project can be null, only used for indexer search as scope
+ * @param mavenProject
+ */
+ public EditDependencyDialog(Shell parent) {
+ super(parent);
+ setShellStyle(getShellStyle() | SWT.RESIZE);
+ setTitle("Edit dependency");
+ }
+
+ @Override
+ protected Control createDialogArea(Composite parent) {
+ Composite superComposite = (Composite) super.createDialogArea(parent);
+
+ Composite composite = new Composite(superComposite, SWT.NONE);
+ composite.setLayout(new GridLayout(3, false));
+ composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
+
+ Label groupIdLabel = new Label(composite, SWT.NONE);
+ groupIdLabel.setText(Messages.EditDependencyDialog_groupId_label);
+
+ groupIdText = new Text(composite, SWT.BORDER);
+ GridData gd_groupIdText = new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1);
+ gd_groupIdText.horizontalIndent = 4;
+ groupIdText.setLayoutData(gd_groupIdText);
+ //ProposalUtil.addGroupIdProposal(project, groupIdText, Packaging.ALL);
+ M2EUIUtils.addRequiredDecoration(groupIdText);
+
+ Label artifactIdLabel = new Label(composite, SWT.NONE);
+ artifactIdLabel.setText("Artifact Id");
+
+ artifactIdText = new Text(composite, SWT.BORDER);
+ GridData gd_artifactIdText = new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1);
+ gd_artifactIdText.horizontalIndent = 4;
+ artifactIdText.setLayoutData(gd_artifactIdText);
+ //ProposalUtil.addArtifactIdProposal(project, groupIdText, artifactIdText, Packaging.ALL);
+ M2EUIUtils.addRequiredDecoration(artifactIdText);
+
+ Label versionLabel = new Label(composite, SWT.NONE);
+ versionLabel.setText(Messages.EditDependencyDialog_version_label);
+
+ versionText = new Text(composite, SWT.BORDER);
+ GridData versionTextData = new GridData(SWT.LEFT, SWT.CENTER, true, false, 2, 1);
+ versionTextData.horizontalIndent = 4;
+ versionTextData.widthHint = 200;
+ versionText.setLayoutData(versionTextData);
+ //ProposalUtil.addVersionProposal(project, mavenproject, groupIdText, artifactIdText, versionText, Packaging.ALL);
+
+ Label classifierLabel = new Label(composite, SWT.NONE);
+ classifierLabel.setText(Messages.EditDependencyDialog_classifier_label);
+
+ classifierText = new Text(composite, SWT.BORDER);
+ GridData gd_classifierText = new GridData(SWT.LEFT, SWT.CENTER, true, false, 2, 1);
+ gd_classifierText.horizontalIndent = 4;
+ gd_classifierText.widthHint = 200;
+ classifierText.setLayoutData(gd_classifierText);
+ //ProposalUtil
+ // .addClassifierProposal(project, groupIdText, artifactIdText, versionText, classifierText, Packaging.ALL);
+
+ Label typeLabel = new Label(composite, SWT.NONE);
+ typeLabel.setText(Messages.EditDependencyDialog_type_label);
+
+ typeCombo = new Combo(composite, SWT.NONE);
+ typeCombo.setItems(TYPES);
+ GridData gd_typeText = new GridData(SWT.LEFT, SWT.CENTER, true, false, 2, 1);
+ gd_typeText.horizontalIndent = 4;
+ gd_typeText.widthHint = 120;
+ typeCombo.setLayoutData(gd_typeText);
+
+ Label scopeLabel = new Label(composite, SWT.NONE);
+ scopeLabel.setText(Messages.EditDependencyDialog_scope_label);
+
+ scopeCombo = new Combo(composite, SWT.NONE);
+ scopeCombo.setItems(scopes);
+ GridData gd_scopeText = new GridData(SWT.LEFT, SWT.CENTER, true, false, 2, 1);
+ gd_scopeText.horizontalIndent = 4;
+ gd_scopeText.widthHint = 120;
+ scopeCombo.setLayoutData(gd_scopeText);
+
+ Label systemPathLabel = new Label(composite, SWT.NONE);
+ systemPathLabel.setText(Messages.EditDependencyDialog_systemPath_label);
+
+ systemPathText = new Text(composite, SWT.BORDER);
+ GridData gd_systemPathText = new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1);
+ gd_systemPathText.horizontalIndent = 4;
+ gd_systemPathText.widthHint = 200;
+ systemPathText.setLayoutData(gd_systemPathText);
+
+// selectSystemPathButton = new Button(composite, SWT.NONE);
+// selectSystemPathButton.setText("Select...");
+
+ new Label(composite, SWT.NONE);
+
+ optionalButton = new Button(composite, SWT.CHECK);
+ optionalButton.setText(Messages.EditDependencyDialog_optional_checkbox);
+ GridData gd_optionalButton = new GridData(SWT.LEFT, SWT.TOP, false, false, 2, 1);
+ gd_optionalButton.horizontalIndent = 4;
+ optionalButton.setLayoutData(gd_optionalButton);
+
+ composite.setTabList(new Control[] {groupIdText, artifactIdText, versionText, classifierText, typeCombo,
+ scopeCombo, systemPathText, /*selectSystemPathButton,*/optionalButton});
+
+ setDependency(dependency);
+
+ return superComposite;
+ }
+
+ @Override
+ protected void computeResult() {
+ if (dependency == null) {
+ dependency = new Dependency();
+ }
+ final String groupId = valueOrNull(groupIdText.getText());
+ final String artifactId = valueOrNull(artifactIdText.getText());
+ final String version = valueOrNull(versionText.getText());
+ final String type = valueOrNull(typeCombo.getText());
+ final String scope = valueOrNull(scopeCombo.getText());
+ final String classifier = valueOrNull(classifierText.getText());
+ final String system = valueOrNull(systemPathText.getText());
+
+ dependency.setArtifactId(artifactId);
+ dependency.setGroupId(groupId);
+ dependency.setType(type);
+ dependency.setVersion(version);
+ dependency.setScope(scope);
+ dependency.setClassifier(classifier);
+ dependency.setSystemPath(system);
+ boolean optional = optionalButton.getSelection();
+ if (optional != dependency.isOptional()) {
+ dependency.setOptional(optional);
+ }
+ }
+
+ private String valueOrNull(String value) {
+ if (value != null) {
+ value = value.trim();
+ if (value.length() == 0) {
+ value = null;
+ }
+ }
+ return value;
+ }
+
+
+ public void setDependency(Dependency dependency) {
+ this.dependency = dependency;
+
+ if(dependency != null
+ && groupIdText != null
+ && !groupIdText.isDisposed()) {
+ groupIdText.setText(nvl(dependency.getGroupId()));
+ artifactIdText.setText(nvl(dependency.getArtifactId()));
+ versionText.setText(nvl(dependency.getVersion()));
+ classifierText.setText(nvl(dependency.getClassifier()));
+ typeCombo.setText("".equals(nvl(dependency.getType())) ? "jar" : dependency.getType()); //$NON-NLS-1$ //$NON-NLS-2$
+ scopeCombo.setText("".equals(nvl(dependency.getScope())) ? "compile" : dependency.getScope()); //$NON-NLS-1$ //$NON-NLS-2$
+ systemPathText.setText(nvl(dependency.getSystemPath()));
+
+ boolean optional = Boolean.parseBoolean(dependency.getOptional());
+ if(optionalButton.getSelection() != optional) {
+ optionalButton.setSelection(optional);
+ }
+ }
+ }
+
+ /**
+ * @return the dependency
+ */
+ public Dependency getDependency() {
+ return dependency;
+ }
+
+}
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/handlers/ConvertToMavenDependencyHandler.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/handlers/ConvertToMavenDependencyHandler.java 2012-08-31 12:43:17 UTC (rev 43350)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/handlers/ConvertToMavenDependencyHandler.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -1,5 +1,5 @@
/*************************************************************************************
- * Copyright (c) 2008-2011 Red Hat, Inc. and others.
+ * Copyright (c) 2012 Red Hat, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/handlers/IdentifyJarJob.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/handlers/IdentifyJarJob.java 2012-08-31 12:43:17 UTC (rev 43350)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/handlers/IdentifyJarJob.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -1,3 +1,13 @@
+/*************************************************************************************
+ * Copyright (c) 2012 Red Hat, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
package org.jboss.tools.maven.conversion.ui.handlers;
import java.io.File;
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/CellListener.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/CellListener.java 2012-08-31 12:43:17 UTC (rev 43350)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/CellListener.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -1,3 +1,13 @@
+/*************************************************************************************
+ * Copyright (c) 2012 Red Hat, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
package org.jboss.tools.maven.conversion.ui.internal;
import org.eclipse.core.runtime.Assert;
@@ -29,8 +39,7 @@
for (int i = 0; i < columnCount; i++) {
Rectangle rect = item.getBounds(i);
if (rect.contains(pt)) {
- int index = table.indexOf(item);
- handle(index, item);
+ handle(i, item);
}
}
}
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/ClasspathConversionParticipant.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/ClasspathConversionParticipant.java 2012-08-31 12:43:17 UTC (rev 43350)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/ClasspathConversionParticipant.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -1,3 +1,13 @@
+/*************************************************************************************
+ * Copyright (c) 2012 Red Hat, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * JBoss by Red Hat - Initial implementation.
+ ************************************************************************************/
package org.jboss.tools.maven.conversion.ui.internal;
import java.util.Collection;
Modified: trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/MavenDependencyConversionActivator.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/MavenDependencyConversionActivator.java 2012-08-31 12:43:17 UTC (rev 43350)
+++ trunk/maven/plugins/org.jboss.tools.maven.conversion.ui/src/org/jboss/tools/maven/conversion/ui/internal/MavenDependencyConversionActivator.java 2012-08-31 12:46:42 UTC (rev 43351)
@@ -1,5 +1,5 @@
/*************************************************************************************
- * Copyright (c) 2008-2011 Red Hat, Inc. and others.
+ * Copyright (c) 2012 Red Hat, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
12 years, 4 months
JBoss Tools SVN: r43350 - trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification.
by jbosstools-commits@lists.jboss.org
Author: fbricon
Date: 2012-08-31 08:43:17 -0400 (Fri, 31 Aug 2012)
New Revision: 43350
Modified:
trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/FileIdentificationManager.java
Log:
Don't identify non-existing files
Modified: trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/FileIdentificationManager.java
===================================================================
--- trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/FileIdentificationManager.java 2012-08-31 08:54:00 UTC (rev 43349)
+++ trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/FileIdentificationManager.java 2012-08-31 12:43:17 UTC (rev 43350)
@@ -72,7 +72,7 @@
}
public ArtifactKey identify(File file, IProgressMonitor monitor) throws CoreException {
- if (file == null) {
+ if (file == null || !file.exists()) {
return null;
}
if (monitor == null) {
12 years, 4 months