In doubt, look at the sample project.
http://svn.nuxeo.org/nuxeo/org.nuxeo.project.sample/trunk/
On 16 Jan 2008, at 22:47, Sandor Nyerges wrote:
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
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm