Hello,
Well, After some checks, re-installation and other things, here are the
feedback
Yes, my new PC comes with Java 6. With the RC2, it's more or less OK
(may be because all is already build before).
With java 5, new JBoss (4.0.4) and checking all the configuration, the
build is OK (no errors), through "ant clean && mvn -Dmaven.test.skip=true
install"
Now, I come back with the 'Eclipse' former problem:
When we try to build the complete product
(org.nuxeo.ecm.webapp:build.xml (deploy-ecm-all)), here are the results;
: 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.
:
: This is common and has a number of causes; the usual
: solutions are to read the manual pages then download and
: install needed JAR files, or fix the build file:
: - You have misspelt 'urn:maven-artifact-ant:pom'.
: Fix: check your spelling.
: - The task needs an external JAR file to execute
: and this is not found at the right place in the classpath.
: Fix: check the documentation for dependencies.
: Fix: declare the task.
: - The task is an Ant optional task and the JAR file and/or libraries
: implementing the functionality were not found at the time you
: yourself built your installation of Ant from the Ant sources.
: Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the
: task and make sure it contains more than merely a META-INF/MANIFEST.MF.
: If all it contains is the manifest, then rebuild Ant with the needed
: libraries present in ${ant.home}/lib/optional/ , or alternatively,
: download a pre-built release version from apache.org
: - The build file was written for a later version of Ant
: Fix: upgrade to at least the latest release version of Ant
: - The task is not an Ant core or optional task
: and needs to be declared using <taskdef>.
: - You are attempting to use a task defined using
: <presetdef> or <macrodef> but have spelt wrong or not
: defined it at the point of use
:
: Remember that for JAR files to be visible to Ant tasks implemented
: in ANT_HOME/lib, the files must be in the same directory or on the
: classpath
:
: Please neither file bug reports on this problem, nor email the
: Ant mailing lists, until all of these causes have been explored,
: as this is not an Ant bug.
:
: Total time: 921 milliseconds
We try to build through
(org.nuxeo.ecm.webapp:build.xml (standalone-deploy-ecm))
With the same result.
Well, any idea about this 'artifact' problem ? Do we need some new product
installation ?
Stefan
Micro Research
-----Original Message-----
From: Julien Anguenot [mailto:[EMAIL PROTECTED]
Sent: mardi 6 février 2007 18:47
To: Stefan Paitoni
Cc: ECM List
Subject: Re: [Ecm] [RELEASE] Nuxeo EP 5.0.0 aka "New Orleans"
Stefan Paitoni wrote:
> Thank you for the respons.
>
> Well, We do as you say,
>
> A complete 'svn co', the 'apache-ant-1.7.0' installation to get the 'ant
> clean' working, and the 'mvn -Dmaven.test.skip=true install'.
>
>
>
> And...
>
> Compiling 54 source files to C:\nuxeo-ep\org.nuxeo.theme.jsf\build
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Compilation failure
>
>
>
> C:\nuxeo-ep\org.nuxeo.theme.jsf\src\org\nuxeo\theme\jsf\negotiation\CookieManager.java:[20,25]
> package javax.servlet.http does not exist
>
>
>
> C:\nuxeo-ep\org.nuxeo.theme.jsf\src\org\nuxeo\theme\jsf\taglib\ResourcesTag.java:[20,7]
> cannot access javax.servlet.jsp.tagext.Tag
>
> class file for javax.servlet.jsp.tagext.Tag not found
>
> public class ResourcesTag extends UIComponentTag {
>
>
>
> C:\nuxeo-ep\org.nuxeo.theme.jsf\src\org\nuxeo\theme\jsf\resources\ResourceServlet.java:[26,20]
> package javax.servlet does not exist
>
>
>
> C:\nuxeo-ep\org.nuxeo.theme.jsf\src\org\nuxeo\theme\jsf\resources\ResourceServlet.java:[27,25]
> package javax.servlet.http does not exist
Sorry, can't reproduce. You aren't using Java6, are you ?
Can you check in Eclipse within org.nuxeo.theme.jsf within the Maven2
dependencies container if you see servlet-api ? Because it's seem to be
the one missing.
J.
> -----Original Message-----
> From: Julien Anguenot [mailto:[EMAIL PROTECTED]
> Sent: mardi 6 février 2007 13:52
> To: Stefan Paitoni
> Cc: ECM List
> Subject: Re: [Ecm] [RELEASE] Nuxeo EP 5.0.0 aka "New Orleans"
>
>
>
> Hi Stefan,
>
>
>
> Stefan Paitoni wrote:
>
>> We try to update our current version and make the installation but we
> have this report from the ant build
>
>> : Buildfile: C:\ECM_Trunk\org.nuxeo.ecm.webapp\build.xml
>
>> :
>
>> : BUILD FAILED
>
>> : C:\ECM_Trunk\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.
>
>> : ...
>
>>
>
>> We do the 'mvn install' and when we start Eclipse, we have this type of
> message during the 'workspace building' phase
>
>> : 6/02/07 10:59:47 CET: [WARN] Unable to get resource from
> repository safehaus-repository (http://m2.safehaus.org)
>
>> : 6/02/07 10:59:47 CET: [WARN] Unable to get resource from
> repository apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository)
>
>
>
> You should give a try now. The codehaus repository was down yesterday
>
> for a while. I think this is the problem here.
>
>
>
> We will setup a mirror at Nuxeo in the following days to avoid such
>
> problems.
>
>
>
> What you need to do for a devel checkout :
>
>
>
> $ svn co http://svn.nuxeo.org/nuxeo/nuxeo-ep/trunk nuxeo-ep
>
> $ cd nuxep-ep
>
> $ ant clean
>
> $ mvn -Dmaven.test.skip=true install
>
> $ ant deploy
>
>
>
> You should not get any errors here.
>
>
>
>> About the 'settings.xml' file into .m2 repository, what can we use for
> server authentification (id, username and password)?
>
>
>
> nope. You shouldn't need to.
>
>
>
> Keep us posted about.
>
>
>
> Cheers,
>
>
>
> J.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm
--
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com
Nuxeo 5 : http://www.nuxeo.org
Mobile: +33 (0) 6 72 57 57 66
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm