Could somebody tell me how to set up my local file structure for Eclipse. 
I looked at chapter 3 of the book but I must admit, following the steps there 
did not lead to success. (This is all in Windows, yes, I know :()

I created the following folders:

portal
   `------nuxeo-code

Downloaded the source code Java files and settings.xml, pom.xml and dummy.xml 
into the nuxeo-code folder. Did I need to do this step, of is Maven supposed to 
do it for me?

I manually moved settings.xml to my .m2 folder and edited it to point to the 
portal folder. Was it correct for me to do this?

I ran the Maven command from "portal" to create the archetype 
nuxeo-archetype-simple. This created the artifact with com.mycompany.sandbox. I 
think this was correct.(?)

portal
   |------nuxeo-code
   |------
   |------nuxeo-project
   |                         |
   |                         `------...sandbox
   `------

Then from nuxeo-project I ran:

mvn install
mvn -Declipse.workspace=portal eclipse:add-maven-repo
mvn eclipse:eclipse

I now expected that Eclipse would know where the source files are, and when I 
import

File-Import...Existing Projects into Workspace...Select root 
directory...nuxeo-project

it would pull in all the files in nuxeo-code. But all it found was the three 
Java files in the sandbox, SampleAction.java and so on.

So, how do you set it up correctly and how do you download the source code 
into? Do you download manually or let Maven do it, and do you do it from portal 
or nuxeo-project?

Sean
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to