[EMAIL PROTECTED] wrote:
[...]jules 2004/01/02 11:46:30
Modified: modules/clustering/src/java/org/apache/geronimo/clustering LocalCluster.java Data.java Added: modules/clustering build.sh Log: logging on state xfer useful build script
1.1 incubator-geronimo/modules/clustering/build.sh
Index: build.sh
===================================================================
#!/bin/sh
## to be run from the modules/clustering dir...
## I have Emacs menu options for switching JAVA_HOME, MAVEN_HOME,
## ANT_HOME so these need to be added to my PATH lazily...
PATH=$MAVEN_HOME/bin:$PATH
PATH=$JAVA_HOME/bin:$PATH
PATH=$ANT_HOME/bin:$PATH
export PATH
export JAVA_HOME
export MAVEN_HOME
export ANT_HOME
## rebuild clustering service
## install result into dev tree
## run dev tree
time maven --emacs clean build jar:install javadoc && \
Why do you invoke jar:install separatelly? Almost if not all modules are installed doing 'maven rebuild'. I don't know how it's done, but it is. Nova's maven.xml has something as follows:
<goal name="default"> <attainGoal name="jar:install"/> </goal>
<goal name="build"> <attainGoal name="default"/> </goal>
<goal name="rebuild"> <attainGoal name="clean"/> <attainGoal name="build"/> </goal>
cp target/*.jar ../../target/geronimo-DEV/lib/ && \ cp src/deploy/*.xml ../../target/geronimo-DEV/deploy/ && \ cd ../../ &&
BTW, why is the module not in geronimo-DEV by default? Do you think it would cause any trouble?
Jacek