Buongiorno Gabriela,

I'm a developper here at Nuxeo and I'm one of the few who are still using Windows (I'm thinking to switch to linux soon). For the moment, deploying the whole application from eclipse doesn't work. What you can do is continue to use ant from the comand line for deployment and, after the application is deployed, if have a small change in one of the projects, then you may drag the build.xml corresponding file and run "deploy-ecm". This will soon change after the full mavenization the will happen quite soon. If you have anymore questions about setting up your workstation, please do not hesitate.

Ciao,
Narcis

Gabriela Lussu wrote:
Hi everybody
I was evaluating Nuxeo for an important new project for my firm, but in a week of trials we weren't able to set up a working development environment for Nuxeo EP on Eclipse (on WinXP Pro SP2). I'll describe precisely all steps I followed, but if anybody here was able to set the development environment in Windows, and could explain to me how to do the same, it would be enough!

I started, step by step, with the instructions in file http://svn.nuxeo.org/nuxeo/doc/nuxeo5-dev-quickstart-howto.txt, and everything was fine up to point "6.2 - Deploying". I logged in as Administrator into http://localhost:8080/nuxeo, and it worked.

My next goal was to set up Eclipse as a development environment for Nuxeo, so I followed instructions in chapter 7 - "Installing Eclipse".

I installed Eclipse 3.2 and all required plugins (Subversive, Maven2, AnyEdit, JBossIDE), and then followed chapter "8.6 - Eclipse configuration".

In chapter 9 - "Load / checkout the org.nuxeo.* projects into eclipse", it is written: "Then go back to the Java perspective and import the projects you have previously checked out as eclipse projects:
File > Import > General > Existing Projects Into Workspace"

I set up as projects root the folder nuxeo-ep, where I had checkout http://svn.nuxeo.org/nuxeo/nuxeo-ep/trunk.

Eclipse imported all projects from the trunk, but it showed some errors because of some missing projects.

So I referred to "Checking out all NX projects" from file https://svn.nuxeo.org/nuxeo/tools/eclipse-config/README.txt.

I thus imported file https://svn.nuxeo.org/nuxeo/tools/eclipse-config/NXPlatform-subversive.psf, but I had a feeling I had created a mess.

Then I tried to exchange the order of those two steps (of course, I started all over again from a clean workspace with a checked out nuxeo-ep): - I imported https://svn.nuxeo.org/nuxeo/tools/eclipse-config/NXPlatform-subversive.psf, - I selected File > Import > General > Existing Projects Into Workspace using as root nuxeo-ep folder.

But there were still "... cannot be resolved" errors, which I tried to fix "manually".

At last, I came to a set up with "just" one error left: "The import sun.awt.motif cannot be resolved".

Even if I couldn't fix that one, I tried to follow steps from "10 - Deploying from eclipse", where it says:

"Then drag and drop the ``build.xml`` of the ``org.nuxeo.ecm.webapp`` to the ant view and then trigger the following target named ``deploy-ecm-all``."

I did that, but got this error message:

"Buildfile: C:\nuxeo-ep\org.nuxeo.ecm.webapp\build.xml

BUILD FAILED
C:\nuxeo-ep\org.nuxeo.ecm.webapp\build.xml:6: Could not create task or type of type: urn:maven-artifact-ant:pom.

Ant could not find the task or a class this task relies upon."

I'm afraid that this problem isn't only caused by the missing import of awt. I'd like to know if I followed the right steps (that's why I wrote them all down), in the right order, or if there was something missing.

Thank you very much for reading all this stuff!

Ciao
Gabriela

_______________________________________________
ECM mailing list
[EMAIL PROTECTED]
http://lists.nuxeo.com/mailman/listinfo/ecm

_______________________________________________
ECM mailing list
[EMAIL PROTECTED]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to