[jbosstools-commits] JBoss Tools SVN: r41549 - trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed May 30 16:50:09 EDT 2012


Author: snjeza
Date: 2012-05-30 16:50:08 -0400 (Wed, 30 May 2012)
New Revision: 41549

Modified:
   trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/DefaultJBossCentralConfigurator.java
   trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/discovery.properties
Log:
JBIDE-11683 - Enable defining runtime download using external xml file

Modified: trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/DefaultJBossCentralConfigurator.java
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/DefaultJBossCentralConfigurator.java	2012-05-30 20:06:22 UTC (rev 41548)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/DefaultJBossCentralConfigurator.java	2012-05-30 20:50:08 UTC (rev 41549)
@@ -131,7 +131,7 @@
 		String directory = System.getProperty(JBOSS_RUNTIME_DIRECTORY, null);
 		if (directory == null) {
 			// else use Maven-generated value (or fall back to default)
-			return JBOSS_DIRECTORY_URL;
+			return JBOSS_RUNTIME_URL;
 		}
 		return directory;		
 	}

Modified: trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/discovery.properties
===================================================================
--- trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/discovery.properties	2012-05-30 20:06:22 UTC (rev 41548)
+++ trunk/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/configurators/discovery.properties	2012-05-30 20:50:08 UTC (rev 41549)
@@ -1 +1,2 @@
-discovery.url=${jboss.discovery.directory.url}
\ No newline at end of file
+discovery.url=${jboss.discovery.directory.url}
+runtime.url=${jboss.runtime.directory.url}
\ No newline at end of file



More information about the jbosstools-commits mailing list