HI,
Just Try running a plain ant command in the main base folder of nuxeo.
i.e if your nuxeo folder is stored in */usr/src/nuxeo* navigate to this path
in the terminal and type the following command:
ant
and press enter. This would do the cleaning followed by deploying of the ear
into the proper location. That is what i do and it works.
Good Luck.
Regards,
Java Team.
On Tue, May 12, 2009 at 6:35 PM, Mirto Silvio Busico <
[email protected]> wrote:
> Hi all,
> I'm trying to deploy a 5.2 branch of nuxeo.
>
> Mybe I'm wrong; but I try to use these commands:
>
> echo "_________________________ ant
> clean_______________________________________________" >$LOG
> ant -v jboss-clean >>$LOG 2>&1
> echo "_________________________ ant
> ____________________________________________________" >>$LOG
> ant -v deploy >>$LOG 2>&1
>
> the first one terminate with a buid successful message; bus the second
> gives build errors:
> [exec] [INFO]
> ------------------------------------------------------------------------
> [exec] [ERROR] BUILD ERROR
> [exec] [INFO]
> ------------------------------------------------------------------------
> [exec] [INFO] Failed to resolve artifact.
> Any hint?
> Thanks
> Mirto
>
> P.S. here is the complete ant -v deploy log:
>
> _________________________ ant
> ____________________________________________________
> Apache Ant version 1.7.1 compiled on November 10 2008
> Buildfile: build.xml
> Detected Java version: 1.5 in:
> /usr/lib/jvm/ia32-java-1.5.0-sun-1.5.0.18/jre
> Detected OS: Linux
> parsing buildfile /My/SW/Nuxeo/hg/nuxeo/build.xml with URI =
> file:/My/SW/Nuxeo/hg/nuxeo/build.xml
> Project base dir set to: /My/SW/Nuxeo/hg/nuxeo
> [antlib:org.apache.tools.ant] Could not load definitions from resource
> org/apache/tools/ant/antlib.xml. It could not be found.
> [property] Loading /My/SW/Nuxeo/hg/nuxeo/build.properties
> [property] Unable to find property file:
> /My/SW/Nuxeo/hg/nuxeo/build.properties
> Build sequence for target(s) `deploy' is [clean-unix, clean-windows, clean,
> install-unix, install-windows, install, set.jboss.home, set.assembly.name,
> setproperties, package-unix, package-windows, package, copy, deploy]
> Complete build sequence is [clean-unix, clean-windows, clean, install-unix,
> install-windows, install, set.jboss.home, set.assembly.name,
> setproperties, package-unix, package-windows, package, copy, deploy,
> package-3parts, jboss-clean-data, eclipse-windows, test-unix, test-windows,
> test, jboss-clean, patch405, patch404, copy-2parts, idea-unix, patch,
> eclipse-unix, eclipse, undeploy, copy-lib, package-2parts, deploy-2parts,
> jboss-clean-plugins, idea-windows, idea, copy-oracle, copy-derby,
> copy-postgresql, copy-3parts, deploy-3parts, ]
>
> clean-unix:
> [exec] Current OS is Linux
> [exec] Executing 'mvn' with arguments:
> [exec] 'clean'
> [exec] ''
> [exec]
> [exec] The ' characters around the executable and arguments are
> [exec] not part of the command.
> [exec] [INFO] Scanning for projects...
> [exec] [INFO] Reactor build order:
> [exec] [INFO] Nuxeo ECM Projects
> [exec] [INFO] Nuxeo Common
> [exec] [INFO] Nuxeo Runtime Parent
> [exec] [INFO] Nuxeo Runtime
> [exec] [INFO] Nuxeo Runtime Launcher
> [exec] [INFO] Nuxeo Runtime OSGI Adapter
> [exec] [INFO] Nuxeo Runtime JBoss Adapter
> [exec] [INFO] Nuxeo Runtime JBoss Extensions
> [exec] [INFO] Nuxeo Runtime Tests
> [exec] [INFO] Nuxeo Runtime Jetty Adapter
> [exec] [INFO] Nuxeo Runtime GlassFish3 Adapter
> [exec] [INFO] Nuxeo Runtime Tomcat Adapter
> [exec] [INFO] Nuxeo Runtime Scripting
> [exec] [INFO] Nuxeo Runtime Management
> [exec] [INFO] Nuxeo Core Parent
> [exec] [INFO] Nuxeo Core Schema
> [exec] [INFO] Nuxeo Core API
> [exec] [INFO] Nuxeo Core Query
> [exec] [INFO] Nuxeo Core Event
> [exec] [INFO] Nuxeo Core
> [exec] [INFO] Nuxeo Core JCR Storage Parent
> [exec] [INFO] Nuxeo Core JCR Storage
> [exec] [INFO] Nuxeo Core Query Tests
> [exec] [INFO] Nuxeo Core JCR Storage Tests
> [exec] [INFO] Nuxeo Core Facade
> [exec] [INFO] Nuxeo Core Client
> [exec] [INFO] Nuxeo Core IO
> [exec] [INFO] Nuxeo Core JCR Storage JCA Resource Adapter
> [exec] [INFO] Nuxeo Core Converter API
> [exec] [INFO] Nuxeo Core SQL Storage Parent
> [exec] [INFO] Nuxeo Core SQL Storage DB Extensions
> [exec] [INFO] Nuxeo Core Converter Service
> [exec] [INFO] Nuxeo Core Converter Service default plugins
> [exec] [INFO] Nuxeo Core SQL Storage
> [exec] [INFO] Nuxeo Core SQL Storage Tests
> [exec] [INFO] Nuxeo Core SQL Storage JCA Resource Adapter
> [exec] [INFO] Nuxeo Core Event
> [exec] [INFO] Nuxeo Theme Parent
> [exec] [INFO] Nuxeo Theme Core
> [exec] [INFO] Nuxeo Theme Fragments
> [exec] [INFO] Nuxeo Theme HTML
> [exec] [INFO] Nuxeo Services Parent
> [exec] [INFO] Nuxeo Platform API
> [exec] [INFO] Nuxeo Directory Management Service - Types contribution
> [exec] [INFO] Nuxeo User Manager - Api
> [exec] [INFO] Nuxeo Platform WebService
> [exec] [INFO] Nuxeo MimeType Service - API
> [exec] [INFO] Nuxeo Forms Layout API
> [exec] [INFO] Nuxeo Content Types Service - API
> [exec] [INFO] Nuxeo URL Service - API
> [exec] [INFO] Nuxeo Platform Base
> [exec] [INFO] Nuxeo Actions Service - Core
> [exec] [INFO] Nuxeo Platform API Tests
> [exec] [INFO] Nuxeo CommandLine executor service
> [exec] [INFO] Nuxeo Directory Management Service - API
> [exec] [INFO] Nuxeo Directory Management Service - Core
> [exec] [INFO] Nuxeo Directory - SQL Storage
> [exec] [INFO] Nuxeo Directory - LDAP Storage
> [exec] [INFO] Nuxeo Directory - Facade
> [exec] [INFO] Nuxeo Directory - Multi-Directory Storage
> [exec] [INFO] Nuxeo Dublin Core Support
> [exec] [INFO] Nuxeo Search Service - API
> [exec] [INFO] Nuxeo Search Service - Core
> [exec] [INFO] Nuxeo Search Service - Facade
> [exec] [INFO] Nuxeo Core Search Backend
> [exec] [INFO] Nuxeo Search Service Tests
> [exec] [INFO] Nuxeo Platform File Manager API
> [exec] [INFO] Nuxeo Versioning Service - API
> [exec] [INFO] Nuxeo MimeType Service - Core
> [exec] [INFO] Nuxeo Content Types Service - Core
> [exec] [INFO] Nuxeo Content Template Managager
> [exec] [INFO] Nuxeo EP Versioning Service Core
> [exec] [INFO] Nuxeo Platform File Manager
> [exec] [INFO] Nuxeo Platform File Manager Core Listener
> [exec] [INFO] Nuxeo Platform File Manager Facade
> [exec] [INFO] Nuxeo Login Manager
> [exec] [INFO] Nuxeo Login Manager JBoss extension
> [exec] [INFO] Nuxeo Common Web Framework
> [exec] [INFO] Nuxeo JbossSX Web Authentication
> [exec] [INFO] Nuxeo Scheduler - Core
> [exec] [INFO] Nuxeo User Manager - Core
> [exec] [INFO] Nuxeo Platform Management
> [exec] [INFO] Nuxeo MimeType Service - Facade
> [exec] [INFO] Nuxeo Placeful Configuration Service - API
> [exec] [INFO] Nuxeo Placeful Configuration Service - Core
> [exec] [INFO] Nuxeo Placeful Configuration Service - Facade
> [exec] [INFO] Nuxeo Placeful Configuration Service - Theme
> [exec] [INFO] Nuxeo Content Types Service - Facade
> [exec] [INFO] Nuxeo UID Generator Service
> [exec] [INFO] Nuxeo URL Service - Core
> [exec] [INFO] Nuxeo URL Service - Facade
> [exec] [INFO] Nuxeo User Manager - Facade
> [exec] [INFO] Nuxeo Platform EL
> [exec] [INFO] Nuxeo Conversion Platform service
> [exec] [INFO] Nuxeo Rendering Service
> [exec] [INFO] Nuxeo Shell Base Commands
> [exec] [INFO] Nuxeo JSF Parent
> [exec] [INFO] Nuxeo Web Framework
> [exec] [INFO] Nuxeo Web Framework Compatibility package
> [exec] [INFO] Nuxeo Web Framework
> [exec] [INFO] Nuxeo Forms Layout Client
> [exec] [INFO] Nuxeo Web Framework Infrastructure
> [exec] [INFO] Nuxeo Theme JSF
> [exec] [INFO] Nuxeo Features Parent
> [exec] [INFO] Nuxeo Relation Service - API
> [exec] [INFO] Nuxeo Relation Service - Core
> [exec] [INFO] Nuxeo Relation Service - JENA Store Plugin
> [exec] [INFO] Nuxeo Platform Annotations service parent
> [exec] [INFO] Nuxeo Platform Annotation Service API
> [exec] [INFO] Nuxeo Platform Annotation Service Implementation
> [exec] [INFO] Nuxeo Platform Annotation Service JEE integration layer
> [exec] [INFO] Nuxeo Platform Preview Addon
> [exec] [INFO] Nuxeo Platform Annotation Service Client
> [exec] [INFO] Nuxeo Platform Annotation Service HTTP Connector
> [exec] [INFO] Nuxeo Platform Annotations Repository Plugin
> [exec] [INFO] Nuxeo Audit Service - API
> [exec] [INFO] Nuxeo Audit Service - Client
> [exec] [INFO] Nuxeo Platform Audit Service - Core
> [exec] [INFO] Nuxeo Platform Audit Service - Facade
> [exec] [INFO] Nuxeo Audit Search Adapter
> [exec] [INFO] Nuxeo Comment Service API
> [exec] [INFO] Nuxeo Comment Service Core Contrib
> [exec] [INFO] Nuxeo Comment Service
> [exec] [INFO] Nuxeo Comment Service Web client
> [exec] [INFO] Nuxeo JPBM Service
> [exec] [INFO] Nuxeo JPBM Service API
> [exec] [INFO] Nuxeo JPBM Service test
> [exec] [INFO] Nuxeo JPBM Core Service
> [exec] [INFO] Nuxeo Comment Service Workflow Contributions
> [exec] [INFO] Nuxeo Platform Imaging parent
> [exec] [INFO] Nuxeo Platform Imaging API
> [exec] [INFO] Nuxeo Platform Imaging Core
> [exec] [INFO] Nuxeo Platform Imaging Convert
> [exec] [INFO] Nuxeo Platform Imaging Facade
> [exec] [INFO] Nuxeo Platform Imaging Web
> [exec] [INFO] Nuxeo Platform Imaging Preview
> [exec] [INFO] Nuxeo Picture Tiling parent
> [exec] [INFO] Nuxeo Picture Tiling service
> [exec] [INFO] Nuxeo Picture Tiling Preview
> [exec] [INFO] Nuxeo JPBM Facade
> [exec] [INFO] Nuxeo JPBM Web
> [exec] [INFO] Nuxeo EP Language
> [exec] [INFO] Mail Module
> [exec] [INFO] Test Mail Module
> [exec] [INFO] Mail Types contrib Module
> [exec] [INFO] Core Mail Module
> [exec] [INFO] Web Mail Module
> [exec] [INFO] Nuxeo Notifications - API
> [exec] [INFO] Nuxeo User Notification Service - Core
> [exec] [INFO] Nuxeo User Notification Service - Facade
> [exec] [INFO] Nuxeo User Notification Service - Web
> [exec] [INFO] Nuxeo Platform Publishing Core
> [exec] [INFO] Nuxeo Platform Publishing API
> [exec] [INFO] Nuxeo Platform Publishing Core
> [exec] [INFO] Nuxeo Platform Publishing Web
> [exec] [INFO] Nuxeo Platform Publishing Facade
> [exec] [INFO] Nuxeo Platform Publishing Jbpm
> [exec] [INFO] Nuxeo Relation Service - Default config
> [exec] [INFO] Nuxeo Relation Service - Web UI
> [exec] [INFO] Nuxeo Relation Service - facade
> [exec] [INFO] Nuxeo Syndication Service
> [exec] [INFO] Nuxeo User Data Service
> [exec] [INFO] Nuxeo User Data Service - Core Contrib
> [exec] [INFO] Nuxeo Forum Service API
> [exec] [INFO] Nuxeo Forum Core contributions
> [exec] [INFO] Nuxeo Forum Service Worklow Contributions
> [exec] [INFO] Nuxeo Forum Service
> [exec] [INFO] Nuxeo DOM synchronization Core
> [exec] [INFO] Nuxeo Platform IO API Fragment
> [exec] [INFO] Nuxeo Platform IO Core Fragment
> [exec] [INFO] Nuxeo Platform IO Facade Fragment
> [exec] [INFO] Nuxeo IO web client
> [exec] [INFO] Nuxeo Platform Audit IO Fragment
> [exec] [INFO] Nuxeo Platform Relations IO Fragment
> [exec] [INFO] Nuxeo WebEngine
> [exec] [INFO] Nuxeo WebEngine Core
> [exec] [INFO] Nuxeo WebEngine Base
> [exec] [INFO] Nuxeo WebEngine UI
> [exec] [INFO] Nuxeo WebEngine Sites Module
> [exec] [INFO] Nuxeo WebEngine Administration
> [exec] [INFO] Nuxeo Theme Editor
> [exec] [INFO] Nuxeo WebWidgets Parent
> [exec] [INFO] Nuxeo Theme Web Widgets Core
> [exec] [INFO] Nuxeo Theme Web Widgets UI
> [exec] [INFO] Nuxeo User Workspace Service - Parent
> [exec] [INFO] Nuxeo User Workspace Service - API
> [exec] [INFO] Nuxeo Platform User Workspace - Types
> [exec] [INFO] Nuxeo Platform User Workspace - Core
> [exec] [INFO] Nuxeo Platform User Workspace - Facade
> [exec] [INFO] Nuxeo User Workspace Service - Client
> [exec] [INFO] Nuxeo platform virtual navigation
> [exec] [INFO] Nuxeo platform virtual navigation web client
> [exec] [INFO] Nuxeo platform virtual navigation core contribs
> [exec] [INFO] Nuxeo WebEngine RestEasy Adapter
> [exec] [INFO] Nuxeo Theme Web Engine
> [exec] [INFO] Nuxeo DM Parent
> [exec] [INFO] Nuxeo WebApp - Base
> [exec] [INFO] Nuxeo WebApp Core
> [exec] [INFO] Nuxeo WebApp types contributions
> [exec] [INFO] Nuxeo Platform - default configuration
> [exec] [INFO] Nuxeo EP EAR
> [exec] [INFO] Nuxeo Distribution Parent
> [exec] Downloading:
> http://maven.nuxeo.org/public/org/codehaus/mojo/jboss-packaging-maven-plugin/2.0-beta-1/jboss-packaging-maven-plugin-2.0-beta-1.pom
> [exec] Downloading:
> http://repo1.maven.org/maven2/org/codehaus/mojo/jboss-packaging-maven-plugin/2.0-beta-1/jboss-packaging-maven-plugin-2.0-beta-1.pom
> [exec] Downloading:
> http://maven.nuxeo.org/public/org/codehaus/mojo/jboss-packaging-maven-plugin/2.0-beta-1/jboss-packaging-maven-plugin-2.0-beta-1.pom
> [exec] Downloading:
> http://repo1.maven.org/maven2/org/codehaus/mojo/jboss-packaging-maven-plugin/2.0-beta-1/jboss-packaging-maven-plugin-2.0-beta-1.pom
> [exec] [INFO]
> ------------------------------------------------------------------------
> [exec] [ERROR] BUILD ERROR
> [exec] [INFO]
> ------------------------------------------------------------------------
> [exec] [INFO] Failed to resolve artifact.
> [exec]
> [exec] GroupId: org.codehaus.mojo
> [exec] ArtifactId: jboss-packaging-maven-plugin
> [exec] Version: 2.0-beta-1
> [exec]
> [exec] Reason: Unable to download the artifact from any repository
> [exec]
> [exec] org.codehaus.mojo:jboss-packaging-maven-plugin:pom:2.0-beta-1
> [exec]
> [exec] from the specified remote repositories:
> [exec] central (http://repo1.maven.org/maven2),
> [exec] public (http://maven.nuxeo.org/public),
> [exec] public-snapshot (http://maven.nuxeo.org/public-snapshot)
> [exec]
> [exec]
> [exec] [INFO]
> ------------------------------------------------------------------------
> [exec] [INFO] For more information, run Maven with the -e switch
> [exec] [INFO]
> ------------------------------------------------------------------------
> [exec] [INFO] Total time: 15 seconds
> [exec] [INFO] Finished at: Tue May 12 14:49:03 CEST 2009
> [exec] [INFO] Final Memory: 56M/176M
> [exec] [INFO]
> ------------------------------------------------------------------------
>
> BUILD FAILED
> /My/SW/Nuxeo/hg/nuxeo/build.xml:42: exec returned: 1
> at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:636)
> at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:662)
> at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:487)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
> at org.apache.tools.ant.Main.runBuild(Main.java:758)
> at org.apache.tools.ant.Main.startAnt(Main.java:217)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
>
> Total time: 16 seconds
>
>
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm
> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>
>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm