Thanks for the wiki pointer, took a few attempts and ended up starting
over with fresh everything before it worked, but then the following
steps did work resulting in all the modules including WS being in
Eclipse with no errors:

svn co https://svn.apache.org/repos/asf/tuscany/java/sca/ 2.x-trunk
cd 2.x-trunk
cd  tools\maven\maven-eclipse-compiler
mvn clean install
cd ..\..\..\modules
mvn -Dmaven.test.skip=true -fae clean install -Pws
cd ..\distribution
mvn -Dmaven.test.skip=true -fae clean install -Pws
mvn -fae -Peclipse,ws eclipse:eclipse
Now, launch your Eclipse IDE, select File->Import->Existing projects
into Workplace, and then import the project from SCA Modules into your
Eclipse Workspace.Now, launch your Eclipse IDE, select
File->Import->Existing projects into Workplace, and then import the
"PDE Target" project (from distribution/pdetarget) into your Eclipse
Workspace.
Import distribution/pdetarget
Inside eclipse, open tuscany-distribution-pdetarget project
open target/tuscany-distribution-pdetarget.target
click "Set as target platform" on the upper-right side of the overview
window that opened

   ...ant

On Thu, Dec 11, 2008 at 9:28 PM, Raymond Feng <[email protected]> wrote:
>
> Hi,
>
> The steps are documented at 
> http://tuscany.apache.org/sca-java-2x-development-guide.html. You should set 
> the Eclipse target platform following the instructions in the document, After 
> that, the missing dependencies should be resolved by the requiredPlugins 
> classpath container from PDE.
>
> Thanks,
> Raymond
> From: ant elder
> Sent: Thursday, December 11, 2008 12:14 PM
> To: [email protected]
> Subject: [2.x] How to set up the code in Eclipse?
> I'm having some trouble setting up the current 2.0 code in Eclipse, and word 
> on the street is that I'm not the only one, is there a description of the 
> concise steps of the correct way to do this? I know there are some wiki pages 
> but its not clear how up to date they are or if it is supposed to be working 
> completely yet.
>
> For example, checking out the code with
>
> svn co https://svn.apache.org/repos/asf/tuscany/java/sca/ 2.x-trunk
>
> then in 2.x-trunk doing:
>
> mvn -Peclipse
>
> then in Eclipse importing the existing projects within 2.x-trunk
>
> results in quite a lot of errors for missing dependencies like stax-api, 
> jax-ws, xmlschema etc which i've been then fixing up manually by adding jars 
> to the individual eclipse project classpaths.
>
> Is that the correct way and if so are the errors expected, or whats a better 
> way? Also what about with the new ws profile, what errors should i currently 
> see trying to use that?
>
>    ...ant
>
>
>
>

Reply via email to