Hi all,
still no luck.
Florent Guillaume ha scritto:
If you do a simple fclone you will end up with mixed branches in the
various subrepositories.
Please follow
http://svn.nuxeo.org/trac/nuxeo/wiki/CheckingOutNuxeoEPFromMercurial
To do the checkout.
I've seen some changes from Friday to Monday; so I used the Monday
instructions.
To be certain that I have a clean environment, I started from scratch:
* deleted /opt/jboss
* installed a jboss 4.0.5 in /opt/jboss using the file:
jems-installer-1.2.0.GA.jar (ejb3 selected)
* cloned nuxeo 5.1 using the instructions in
http://svn.nuxeo.org/trac/nuxeo/wiki/CheckingOutNuxeoEPFromMercurial
* tried patching jboss with the command: ant -v patch >antpatch.log
2>&1. This gives an error.
In the log file there is a complain that the "build.properties" file is
missing. In the nuxeo direcory there is a "build.properties.sample".
Is this file required or, if missing" default values are taken?
I think that I'm doing something wrong at the environment level.
Is this still the correct sequence to have a working "trunk" deployed?
Sequence:
* install java 1.6
* delete /opt/jboss
* install jboss 4.0.5
* clone nuxeo#5.1
* in the nuxeo directory ant patch
* in the nuxeo directory ant deploy
After this, to daily update the "trunk" the sequence is:
* hg pull/hg update in all subdirectories of nuxeo
* in the nuxeo directory ant -v jboss-clean
* in the nuxeo directory ant -v
Is this correct?
Have I to change something?
Thanks for the feedback.
Florent
Thanks
Mirto
P.S. Here is the ant patch log:
======================================================================================
Apache Ant version 1.7.0 compiled on February 26 2008
Buildfile: build.xml
Detected Java version: 1.6 in: /usr/lib/jvm/java-6-sun-1.6.0.00/jre
Detected OS: Linux
parsing buildfile /MySw/Deb/Nuxeo/mercurial/nuxeo/build.xml with URI =
file:/MySw/Deb/Nuxeo/mercurial/nuxeo/build.xml
Project base dir set to: /MySw/Deb/Nuxeo/mercurial/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 /MySw/Deb/Nuxeo/mercurial/nuxeo/build.properties
[property] Unable to find property file:
/MySw/Deb/Nuxeo/mercurial/nuxeo/build.properties
Build sequence for target(s) `patch' is [set.jboss.home,
set.assembly.name, setproperties, patch-unix, patch-windows, patch]
Complete build sequence is [set.jboss.home, set.assembly.name,
setproperties, patch-unix, patch-windows, patch, package-3parts,
jboss-clean-data, copy-lib-unix, package-windows, eclipse-windows,
test-unix, test-windows, test, delete-ear, jboss-clean, patch405,
patch404, package-unix, package, copy-2parts, idea-unix, eclipse-unix,
eclipse, undeploy, clean-lib, copy-lib-windows, copy-lib, install-unix,
install-windows, install, package-2parts, deploy-2parts,
jboss-clean-plugins, idea-windows, idea, copy-ear, copy-oracle,
clean-unix, clean-windows, clean, copy-postgresql, copy-3parts,
deploy-3parts, copy, deploy, ]
set.jboss.home:
set.assembly.name:
setproperties:
patch-unix:
[echo] Running maven script jboss-patch/pom.xml
[exec] Current OS is Linux
[exec] Executing 'mvn' with arguments:
[exec] '-f'
[exec] 'jboss-patch/pom.xml'
[exec] '-Djboss.dir=/opt/jboss'
[exec] 'clean'
[exec] 'package'
[exec] ''
[exec]
[exec] The ' characters around the executable and arguments are
[exec] not part of the command.
[exec] [INFO] Scanning for projects...
[exec] [INFO]
------------------------------------------------------------------------
[exec] [ERROR] BUILD FAILURE
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO]
[exec]
[exec] You must specify at least one goal. Try 'mvn install' to
build or 'mvn -?' for options
[exec] See http://maven.apache.org for more information.
[exec]
[exec]
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] For more information, run Maven with the -e switch
[exec] [INFO]
------------------------------------------------------------------------
[exec] [INFO] Total time: < 1 second
[exec] [INFO] Finished at: Mon Mar 17 10:59:58 CET 2008
[exec] [INFO] Final Memory: 1M/127M
[exec] [INFO]
------------------------------------------------------------------------
BUILD FAILED
/MySw/Deb/Nuxeo/mercurial/nuxeo/build.xml:160: 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.GeneratedMethodAccessor2.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
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:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.Main.runBuild(Main.java:698)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 1 second
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm