Author: rfeng
Date: Tue Mar 23 17:16:02 2010
New Revision: 926671
URL: http://svn.apache.org/viewvc?rev=926671&view=rev
Log:
Add some document
Modified:
tuscany/sandbox/rfeng/eclipse-workspace-updatesite/index.html
Modified: tuscany/sandbox/rfeng/eclipse-workspace-updatesite/index.html
URL:
http://svn.apache.org/viewvc/tuscany/sandbox/rfeng/eclipse-workspace-updatesite/index.html?rev=926671&r1=926670&r2=926671&view=diff
==============================================================================
--- tuscany/sandbox/rfeng/eclipse-workspace-updatesite/index.html (original)
+++ tuscany/sandbox/rfeng/eclipse-workspace-updatesite/index.html Tue Mar 23
17:16:02 2010
@@ -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>