summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-05-29 20:24:38 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-05-29 20:24:38 +0000
commita9ea1ca799531d693b07ab21001f869e2aa40204 (patch)
tree3af5c930bc2c8dde8695a498cf15921ecd3101ae /sandbox
parentd5d7c08624240f0560bc092539a092edb79e41d1 (diff)
Change to localhost
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@780097 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/travelsample/launchers/fullapp-launcher/src/main/java/scatours/LaunchFullAppNode.java28
1 files changed, 14 insertions, 14 deletions
diff --git a/sandbox/travelsample/launchers/fullapp-launcher/src/main/java/scatours/LaunchFullAppNode.java b/sandbox/travelsample/launchers/fullapp-launcher/src/main/java/scatours/LaunchFullAppNode.java
index 51c373ae82..9569979c36 100644
--- a/sandbox/travelsample/launchers/fullapp-launcher/src/main/java/scatours/LaunchFullAppNode.java
+++ b/sandbox/travelsample/launchers/fullapp-launcher/src/main/java/scatours/LaunchFullAppNode.java
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
- * under the License.
+ * under the License.
*/
package scatours;
@@ -29,12 +29,12 @@ public class LaunchFullAppNode {
public static void main(String[] args) throws Exception {
LaunchFullAppNode.launchFromFileSystemDir();
}
-
- // OK for development but you must launch the node from this module
+
+ // OK for development but you must launch the node from this module
public static void launchFromFileSystemDir(){
-
+
try {
- SCANode node1 = SCANodeFactory.newInstance().createSCANode(null,
+ SCANode node1 = SCANodeFactory.newInstance().createSCANode(null,
new SCAContribution("common", "../../contributions/common-contribution/target/classes"),
new SCAContribution("currency", "../../contributions/currency-contribution/target/classes"),
new SCAContribution("hotel", "../../contributions/hotel-contribution/target/classes"),
@@ -48,20 +48,20 @@ public class LaunchFullAppNode {
new SCAContribution("shoppingcart", "../../contributions/shoppingcart-contribution/target/classes"),
new SCAContribution("scatours", "../../contributions/scatours-contribution/target/classes"),
new SCAContribution("ui", "../../contributions/fullapp-ui-contribution/target/classes"));
-
+
node1.start();
-
- System.out.println("Point your browser at - http://L3AW203:8080/scatours/ ");
+
+ System.out.println("Point your browser at - http://localhost:8080/scatours/ ");
System.out.println("Node started - Press enter to shutdown.");
-
+
try {
System.in.read();
} catch (IOException e) {}
-
+
node1.stop();
-
+
} catch (Exception ex) {
System.out.println(ex.toString());
}
- }
+ }
}