|
List Info
Thread: How to set up a working development environment for Nuxeo EP on Eclipse on Windows?
|
|
| How to set up a working development
environment for Nuxeo EP on Eclipse on
Windows? |
  Italy |
2007-04-13 03:53:04 |
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-quicksta
rt-howto.txt, and
everything was fine up to point "6.2 -
Deploying".
I logged in as Administrator into http://localhost:8080/nux
eo, 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/REA
DME.txt.
I thus imported file
https://svn.nuxeo.org/nuxeo/tools/ecli
pse-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/ecli
pse-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-eporg.nuxeo.ecm.webappbuild.xml
BUILD FAILED
C:nuxeo-eporg.nuxeo.ecm.webappbuild.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
ECM lists.nuxeo.com
http://li
sts.nuxeo.com/mailman/listinfo/ecm
|
|
| Re: How to set up a working development
environment for Nuxeo EP on Eclipse on
Windows? |
  France |
2007-04-13 04:22:59 |
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-quicksta
rt-howto.txt, and
> everything was fine up to point "6.2 -
Deploying".
> I logged in as Administrator into http://localhost:8080/nux
eo, 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/REA
DME.txt.
>
> I thus imported file
> https://svn.nuxeo.org/nuxeo/tools/ecli
pse-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/ecli
pse-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-eporg.nuxeo.ecm.webappbuild.xml
>
> BUILD FAILED
> C:nuxeo-eporg.nuxeo.ecm.webappbuild.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
> ECM lists.nuxeo.com
> http://li
sts.nuxeo.com/mailman/listinfo/ecm
_______________________________________________
ECM mailing list
ECM lists.nuxeo.com
http://li
sts.nuxeo.com/mailman/listinfo/ecm
|
|
| Re: How to set up a working development
environment for Nuxeo EP on Eclipse on
Windows? |
  France |
2007-04-13 04:43:59 |
Hi,
Gabriela Lussu a écrit :
> 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-quicksta
rt-howto.txt, and
> everything was fine up to point "6.2 -
Deploying".
> I logged in as Administrator into http://localhost:8080/nux
eo, 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/REA
DME.txt.
>
> I thus imported file
> https://svn.nuxeo.org/nuxeo/tools/ecli
pse-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 java.sun.com/jstl/core c:if else
> https://svn.nuxeo.org/nuxeo/tools/ecli
pse-config/NXPlatform-subversive.psf,
> - I selected File > Import > General >
Existing Projects Into Workspace
> using as root nuxeo-ep folder.
I have the same environment (Windows...)
The better thing to do is the version :
- svn co http://svn.
nuxeo.org/nuxeo/nuxeo-ep/trunk
- Open Eclipse in the Workspace checkouted
- Import existing projects into Workspace
After important things to do :
(Maven and Ant have to be installed in your environment)
- modify build.properties in root directory to specify the
jboss dir
(from a cmd in your root project directory)
- mvn -Dmaven.test.skip=true install
(You have to be connected to internet)
- ant clean (don't forget ANT_OPTS=... in your environment)
- ant (if you want to deploy)
(In Eclipse, projects present Maven Dependency with all jars
needed)
- Check in Eclipse "Window/Preferences.../Maven2"
if the location of the
repository is good.
- do a "clean all projects" in Eclipse
Is it good now ?
>
> But there were sif the location of the repository till
"... 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-eporg.nuxeo.ecm.webappbuild.xml
>
> BUILD FAILED
> C:nuxeo-eporg.nuxeo.ecm.webappbuild.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
Benjamin
_______________________________________________
ECM mailing list
ECM lists.nuxeo.com
http://li
sts.nuxeo.com/mailman/listinfo/ecm
|
|
[1-3]
|
|