summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>