You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2007/05/24 12:53:50 UTC

svn commit: r541265 - /incubator/tuscany/branches/sca-java-0.90/samples/README

Author: slaws
Date: Thu May 24 03:53:49 2007
New Revision: 541265

URL: http://svn.apache.org/viewvc?view=rev&rev=541265
Log:
Add instructions about using samples in IDEs without maven

Modified:
    incubator/tuscany/branches/sca-java-0.90/samples/README

Modified: incubator/tuscany/branches/sca-java-0.90/samples/README
URL: http://svn.apache.org/viewvc/incubator/tuscany/branches/sca-java-0.90/samples/README?view=diff&rev=541265&r1=541264&r2=541265
==============================================================================
--- incubator/tuscany/branches/sca-java-0.90/samples/README (original)
+++ incubator/tuscany/branches/sca-java-0.90/samples/README Thu May 24 03:53:49 2007
@@ -186,9 +186,36 @@
 sometimes not see any test output. You will always see an indication of test 
 success or failure. 
 
-Using The Samples In An IDE
----------------------------
-The easiest way to use the samples in an IDE is to use Maven to generate all 
+Using The Samples In An IDE Without Maven
+-----------------------------------------
+We don't provide any IDE project files with our disitributions so you will have to 
+import the sample files into your IDE manually. Here's an example of how it can be 
+done using Eclipse.
+ 
+In a new or existing workspace
+    Create a new java project to represent the sample you want to work on, e.g.
+        calculator
+    Import all of the sample code and resources into this project, e.g.
+        File, Import and then select tuscany-sca-0.90-incubating\samples\calculator from the filesystem
+    Configure the source path to include
+        src/main/java
+        src/main/resources
+    Configure the output folder to be
+        calculator/target
+    Configure the build path to include all of the jars provided in
+        lib
+     If you select calculator.CalculatorClient.java and run as "Java Application" you should see
+        3 + 2=5.0
+        3 - 2=1.0
+        3 * 2=6.0
+        3 / 2=1.5
+
+The details of how to do this for other development environments will
+vary but the process will be similar. 
+
+Using The Samples In An IDE If You Have Maven
+---------------------------------------------
+If you are a Maven user you can use it to generate all 
 of the IDE project files for you automatically. This works best if you 
 generate IDE projects for all of the Apache Tuscany modules. You can then 
 include the ones you are interested in working with in you IDE. 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org