From f6da3e00c0289ea1e25a66183d1ca19e4e8693eb Mon Sep 17 00:00:00 2001 From: nash Date: Tue, 14 Sep 2010 17:05:18 +0000 Subject: Move instructions for using Eclipse with the source distribution from the samples README to the BUILDING file (TUSCANY-3676) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@996991 13f79535-47bb-0310-9956-ffa450edef68 --- .../distribution/src/main/release/src/BUILDING | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'sca-java-1.x/branches/sca-java-1.6.1/distribution/src') diff --git a/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/release/src/BUILDING b/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/release/src/BUILDING index 15ff808720..6552011e15 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/release/src/BUILDING +++ b/sca-java-1.x/branches/sca-java-1.6.1/distribution/src/main/release/src/BUILDING @@ -57,3 +57,35 @@ Building the distributions This will build the binary and source distributions with .zip and .gz formats in the distribution/target directory. + +Using an IDE +------------ + +The easiest way to work with Apache Tuscany SCA in an IDE is to use Maven 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 your IDE. + +To build IDE project files for all of the modules in Apache Tuscany SCA; + +cd + +where is the top-level directory containing the all the +Apache Tuscany SCA source code. + +If you are an Eclipse user do the following + +mvn -Dnotice.dir=src/main/resources eclipse:eclipse +mvn -Declipse.workspace= eclipse:add-maven-repo + +If you are an IDEA user do the following + +mvn idea:idea + +These commands generate project files for each module in Apache Tuscany SCA. +The modules you are interested in can now be included in your IDE. + +For example, in Eclipse, if you create a new Java project and use the option +to "create a new project from existing source" you can specify an SCA module +directory, which includes the generated project files, and Eclipse will treat +it like any other Java project. -- cgit v1.2.3