summaryrefslogtreecommitdiffstats
path: root/sandbox/rfeng
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-03-23 17:16:02 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-03-23 17:16:02 +0000
commit1ae1117411d7a23023b0af651f44dca473cbdfb8 (patch)
tree76998aecfd248ea8a52945bacb2cedcb107aa48c /sandbox/rfeng
parent9e3ccaeb444382abe38ffc5a14f2e62a95b6432c (diff)
Add some document
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@926671 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/rfeng')
-rw-r--r--sandbox/rfeng/eclipse-workspace-updatesite/index.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/sandbox/rfeng/eclipse-workspace-updatesite/index.html b/sandbox/rfeng/eclipse-workspace-updatesite/index.html
index c483c912d3..8ff20bfc7a 100644
--- a/sandbox/rfeng/eclipse-workspace-updatesite/index.html
+++ b/sandbox/rfeng/eclipse-workspace-updatesite/index.html
@@ -55,6 +55,28 @@
</head>
<body onload="init();">
<!--[insert static HTML here]-->
+<h1>Headless Eclipse Workspace Configurator</h1>
+To develop Tuscany SCA using Eclipse, you are required to configure the workspace as follows:
+<ul>
+<li>Create a classpath variable M2_REPO that points to the maven local repository
+<li>Set the target platform from the target definition file generated by Tuscany distribution
+<li>Import the projects from the directory where Tuscany source code is checked out and built
+<li>Refresh and build the Eclipse workspace
+</ul>
+All these steps only work manually with Eclipse UI. It's time consuming and error-prone. With this
+tiny Eclipse application, we can now confiure an Eclipse workspace on a command line. For example,
+you can run the following command on Windows:
+
+<p>
+eclipsec -nosplash -data c:\workspace\tuscany -application org.apache.tuscany.eclipse.workspace.WorkspaceConfigurator -source.root c:\temp\trunk -target.definition C:\tuscany\sca-java-2.x\trunk\distribution\all\target\features\tuscany-distribution-all\tuscany-pde35.target
+<br>
+<ul>
+<li>-data <workspace location>
+<li>-application org.apache.tuscany.eclipse.workspace.WorkspaceConfigurator
+<li>-source.root <the source directory where Tuscany is checked out and built>
+<li>-target.definition <the target definition file>
+</ul>
+<p>
<div id="data"><!-- this is where the transformed data goes --></div>
</body>
</html>