Hi again,
Mirto Silvio Busico wrote:
Narcis Paslaru ha scritto:
Hello,
There is nothing that you have to run from Eclipse. The maven plugin
is to let Eclipse know that this project uses maven for building and
it should use it too. Now what you have to do after checking out the
trunk is to go in the command line in the directory where you have the
trunk and run the following command : *ant clean && mvn clean && mvn
-Dmaven.test.skip=true install && ant *- this will build the projects
and deploy Nuxeo to your JBoss installation.
Well the output of the command is:
_________________________________________________________________________________
msb01:/MySw/Deb/Nuxeo/svn/nuxeo-ep# ant clean && mvn clean && mvn
-Dmaven.test.skip=true install && ant
Buildfile: build.xml
clean:
[echo] Cleaning Nuxeo EP
BUILD SUCCESSFUL
Total time: 17 seconds
Error reading settings.xml: expected START_TAG or END_TAG not TEXT
(position: TEXT seen ...<id>nuxeo</id>\n#\t\t<u... @6:6)
Line: 6
Column: 6
msb01:/MySw/Deb/Nuxeo/svn/nuxeo-ep#
_________________________________________________________________________________
So I suppose this worked.
I don't think this really worked. I'm not an expert in maven but I guess
it has something to do with those 2 lines that you erased from the
settings.xml file. Maybe Julien can give you a good piece of advice
about this.
Then make sure you have the Subversive plugin in Eclipse and import
all the projects as described in
http://svn.nuxeo.org/trac/nuxeo/browser/doc/nuxeo5-dev-quickstart-howto.txt
After the import you will see a small red "m" on each project's icon.
This is sign that eclipse sees it as a maven build project.
Done. I see the little m
If you have compiling errors you should try Project -> Clean and
select all projects.
Done. But I see errors:
In the "Problems" tab I see:
Errors (100 of 20163 items)
Warnings (100 of 1004 items)
Looking at the first warnings seems that something is missing:
description
resource path
a "source..." build entry is missing
build.properties org.nuxeo.runtime.jboss-adapter
an "source.lib/commons-logging.jar" build entry is missing
build.properties org.nuxeo.common
and so on....
I think this is because the command line install didn't work the first
time. During that install maven downloads some libraries that eclipse
needs to compile these projects. If the maven install failed, although
it said BUILD SUCCESSFUL, Eclipse cannot compile the projects. You
should restore the settings.xml file to it's original contents and try
again.
Now I'll try the alternate method suggested by Stephane; bu I should
like to use Eclipse.
Ciao,
Mirto
Ciao,
Narcis
Buona fortuna,
Narcis
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm