On Tue, Mar 23, 2010 at 10:52 PM, Raymond Feng <[email protected]> wrote:
> Hi,
>
> I prototyped an Eclipse plugin that can be run in command line (headless
> mode) to automate the configuration of Eclipse workspace for Tuscany SCA
> Java development. Potentially, it can be integrated with some scripts to
> produce the workspace after the maven build.
>
> You can install it from:
>
> http://people.apache.org/~rfeng/tuscany/eclipse-workspace-updatesite/
>
> To develop Tuscany SCA using Eclipse, we are required to configure the
> workspace as follows:
>
>   * Create a classpath variable M2_REPO that points to the maven local
> repository
>   * Set the target platform from the target definition file generated by
> Tuscany distribution
>   * Import the projects from the directory where Tuscany source code is
> checked out and built
>   * Refresh and build the Eclipse workspace
>
> 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:
> eclipsec -nosplash -data c:\workspace\tuscany -application
> org.apache.tuscany.eclipse.workspace.WorkspaceConfigurator -source.root
> C:\tuscany\sca-java-2.x\trunk -target.definition
> C:\tuscany\sca-java-2.x\trunk\distribution\all\target\features\tuscany-distribution-all\tuscany-pde35.target
>
> On Linux:
> eclipse -nosplash -data /workspace/tuscany -application
> org.apache.tuscany.eclipse.workspace.WorkspaceConfigurator -source.root
> /tuscany/sca-java-2.x/trunk -target.definition
> /tuscany/sca-java-2.x/trunk/distribution/all/target/features/tuscany-distribution-all/tuscany-pde35.target
>
> Feedbacks are welcome.
>
> Thanks,
> Raymond
> ---
> Raymond Feng
> Apache Tuscany PMC Member: http://tuscany.apache.org
> Co-author of Tuscany In Action (A book on Tuscany SCA):
> http://tuscanyinaction.com/
> Web: http://www.enjoyjava.com
> Twitter: http://twitter.com/raymondfeng
>
>
>
>

Hi Raymond

Couple of questions...

Why do you need to refresh/build from the command line?
Is it mandatory to have this function be part of Eclipse.

Simon

Reply via email to