diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:13:31 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-11 23:13:31 +0000 |
commit | 3caf8614f25d6b1962e20331fdf423c863bc02f3 (patch) | |
tree | 069fa30b63dd4804846385d8571928bdaa7b73ad /branches/sca-java-integration/samples/sca/calculator/readme.html | |
parent | 6d0e93c68d3aeaeb4bb6d96ac0460eec40ef786e (diff) |
Moving 1.x branches
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835144 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-integration/samples/sca/calculator/readme.html')
-rw-r--r-- | branches/sca-java-integration/samples/sca/calculator/readme.html | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/branches/sca-java-integration/samples/sca/calculator/readme.html b/branches/sca-java-integration/samples/sca/calculator/readme.html deleted file mode 100644 index 5d4e2cfcfb..0000000000 --- a/branches/sca-java-integration/samples/sca/calculator/readme.html +++ /dev/null @@ -1,103 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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.
--->
-
-<html>
-<head>
- <meta http-equiv="Content-Type" content=
- "text/html; charset=us-ascii">
- <meta http-equiv="Content-Style-Type" content="text/css">
-
- <title>Tuscany Simple Calculator Sample</title>
- <!-- LINK rel="stylesheet" href="ait.css" type="text/css" -->
- <link rel="stylesheet" href="../../css/base.css" type="text/css">
-</head>
-
-<body>
- <h3>Tuscany Simple Calculator Sample</h3>
-
- <h4>Overview</h4>
-
- <p>This sample illustrates the use of SCA to wire components together inside a composite.
-All connections between the components are local and are defined using Java interfaces.</p>
-
- <h4>Location</h4>
-
- <p>This sample is located in the
- samples\standalone\calculator directory. All the
- following commands should be issued while working in the sample
- directory.</p>
-
- <h4>Prerequisites</h4>
-
- <p>Obtain the following prerequisites and install according to
- their documentation.</p>
-
- <ul>
- <li><a href="http://java.sun.com/javase/downloads/index.jsp"
- target="_blank">JDK 5.0</a></li>
-
- <li><a href="http://maven.apache.org/download.html" target=
- "_blank">Maven 2.0.4</a></li>
- </ul>
-
- <h4>Building</h4>
-
- <p>To build the sample issue :</p>
- <pre>
-<code>mvn<br></code>
-</pre>
-
- <p>The result after executing is in the <span style=
- "font-weight: bold;">target</span> subdirectory the <span style=
- "font-weight: bold;">sample-calculator.jar</span></p>
-
- <h4>Setup</h4>
-
- <p>Set up the Tuscany standalone runtime environment using the
- following command:</p>
- <pre>
-<code>mvn dependency:unpack <br></code>
-</pre>
-
- <p>After completion there should be a <span style=
- "font-weight: bold;">target\distribution</span> subdirectory
- created that has the Tuscany standalone runtime.</p>
-
- <h4>Running</h4>
-
- <p>Execute the following command: (<span style=
- "font-style: italic;">cut and paste to command line</span>)</p>
- <pre>
-<code>java -jar target/distribution/bin/launcher.jar target/sample-calculator.jar</code>
-</pre>
-
- <h4>Results</h4>
-
- <p>The sample when run should simply display to the standard
- output:<br>
-<samp>
-<br>3 + 2=5.0
-<br>3 - 2=1.0
-<br>3 * 2=6.0
-<br>3 / 2=1.5
-</samp>
-</p>
-</body>
-</html>
|