Other notes for Eclipse developers:
- when creating a new workspace, don't forget to reapply immediately
the Nuxeo code style (formatter and template),
In the code template, change Comments>Files and Comments>Types to add
your name in full (instead of leaving just your login)
- to reconnect to svn, first open the SVN Repository Exploring
perspective, and add a repository location for https://svn.nuxeo.org/
nuxeo
If you use a command line svn client > 1.4, then make sure that in
the preferences for the Eclipse Subversive plugin (Preferences > Team
> SVN > SVN Client) you use "SVN Kit 1.1.1" as the client otherwise
it won't recognize your svn 1.4 metadata.
Back in the Java perspective select all your projects, and right
click then Team > Share Projects.
The first screen should prompt you for "Reconnect all from:" and your
repository location, https://svn.nuxeo.org/nuxeo.
If you don't have this choice, then Subversive didn't recognize your
svn metadata and you should abort and check your config (maybe
upgrade your Subversive plugin for Eclipse).
On the next screen you should be prompted for "Use project settings",
and finish.
Florent
On 21 Apr 2007, at 19:16, Florent Guillaume wrote:
Hi all,
The source tree has now been moved to a full-maven layout.
To retrieve it, you do the usual checkout from:
https://svn.nuxeo.org/nuxeo/nuxeo-ep/trunk
You'll see that there are only 5 externals now, but a deeper
hierarchy.
To do a build, you must edit the Makefile to redefine the JBOSS_DIR
variable to your jboss.
Then a simple "make" will build Nuxeo 5, configure JBoss and put
the generated ear and a few libs into JBoss.
You can examine the Makefile to check what's done under the hood,
very simple commands actually. This build process will be updated a
bit in the coming days, but will leverage maven in the same way.
To load everything into eclipse, use the root of your checkout as
your workspace.
If you haven't started eclipse yet, just do a
mvn -Declipse.workspace=/the/path/to/your/workspace eclipse:add-
maven-repo
or if you're already in eclipse, go to
Preferences > Java > Build Path > Classpath Variables
and add a variable named M2_REPO with the path of your local maven
repository, for instance
/home/yourname/.m2/repository
Then run
mvn eclipse:eclipse
which will analyze all the pom.xml files and generate apropriate
Eclipse .classpath, .project and .settings in all the projects.
Now launch Eclipse, and go to
File > Import > General > Existing Projects into Workspace
and choose your workspace. You should see all the projects appear,
you can click Finish.
You shoudn't have any red errors in Eclipse, at least I don't have
any at the moment!
Thanks to all who participated in this switch!
Florent
--
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