Author: jbonofre Date: Mon Oct 31 18:42:33 2011 New Revision: 1195605 URL: http://svn.apache.org/viewvc?rev=1195605&view=rev Log: Add agent assembly.
Modified: incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/bin/agent incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/bin/agent.bat incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/agent.conf incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/log4j.xml incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/templates/notifier.html incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/templates/publisher.xsl Modified: incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/bin/agent URL: http://svn.apache.org/viewvc/incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/bin/agent?rev=1195605&r1=1195604&r2=1195605&view=diff ============================================================================== --- incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/bin/agent (original) +++ incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/bin/agent Mon Oct 31 18:42:33 2011 @@ -16,7 +16,7 @@ # limitations under the License. # -# get the AutoDeploy basedir +# get the Kalumet agent basedir DIRNAME=`dirname $0` PROGNAME=`basename $0` @@ -31,12 +31,12 @@ if [ "x$JAVA_MAX_MEM" = "x" ]; then export JAVA_MAX_MEM fi -AUTODEPLOY_AGENT_HOME=`cd $DIRNAME/..; pwd` -cd $AUTODEPLOY_AGENT_HOME +KALUMET_AGENT_HOME=`cd $DIRNAME/..; pwd` +cd $KALUMET_AGENT_HOME # load rc file -if [ -f $AUTODEPLOY_AGENT_HOME/conf/agent.rc ] ; then - . $AUTODEPLOY_AGENT_HOME/conf/agent.rc +if [ -f $KALUMET_AGENT_HOME/conf/agent.rc ] ; then + . $KALUMET_AGENT_HOME/conf/agent.rc fi # detect OS @@ -88,7 +88,7 @@ if [ "$os400" = "false" ] && [ "$cygwin" fi # support for loading native libraries -LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$AUTODEPLOY_AGENT_HOME/lib" +LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:$KALUMET_AGENT_HOME/lib" # for cygwin, set PATH from LD_LIBRARY_PATH if $cygwin; then @@ -143,12 +143,12 @@ elif [ "$JVM_VENDOR" = "IBM" ]; then fi # define classworlds -CLASSPATH=$AUTODEPLOY_AGENT_HOME/lib/classworlds-1.0.1.jar -CLASSWORLDS_CONF=$AUTODEPLOY_AGENT_HOME/conf/agent.conf +CLASSPATH=$KALUMET_AGENT_HOME/lib/classworlds-1.0.1.jar +CLASSWORLDS_CONF=$KALUMET_AGENT_HOME/conf/agent.conf # for cygwin, switch paths to Windows format before running java if $cygwin; then - AUTODEPLOY_AGENT_HOME=`cygpath --path --windows "$AUTODEPLOY_AGENT_HOME"` + KALUMET_AGENT_HOME=`cygpath --path --windows "$KALUMET_AGENT_HOME"` CLASSPATH=`cygpath --path --windows "$CLASSPATH"` CLASSWORLDS_CONF=`cygpath --path --windows "$CLASSWORLDS_CONF"` CYGHOME=`cygpath --windows "$CYGHOME"` @@ -163,6 +163,6 @@ exec $JAVA \ $JAVA_OPTS \ -classpath "$CLASSPATH" \ -Dclassworlds.conf="$CLASSWORLDS_CONF" \ - -Dautodeploy.agent.home="$AUTODEPLOY_AGENT_HOME" \ + -Dkalumet.agent.home="$KALUMET_AGENT_HOME" \ org.codehaus.classworlds.Launcher \ "$@" \ No newline at end of file Modified: incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/bin/agent.bat URL: http://svn.apache.org/viewvc/incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/bin/agent.bat?rev=1195605&r1=1195604&r2=1195605&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/agent.conf URL: http://svn.apache.org/viewvc/incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/agent.conf?rev=1195605&r1=1195604&r2=1195605&view=diff ============================================================================== Binary files - no diff available. Modified: incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/log4j.xml URL: http://svn.apache.org/viewvc/incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/log4j.xml?rev=1195605&r1=1195604&r2=1195605&view=diff ============================================================================== --- incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/log4j.xml (original) +++ incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/log4j.xml Mon Oct 31 18:42:33 2011 @@ -44,7 +44,7 @@ <level value="WARN"/> </logger> - <logger name="net.sourceforge.buildprocess.autodeploy"> + <logger name="org.apache.kalumet"> <!-- To enable debug logging, replace the INFO by DEBUG --> <level value="INFO"/> </logger> Modified: incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/templates/notifier.html URL: http://svn.apache.org/viewvc/incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/templates/notifier.html?rev=1195605&r1=1195604&r2=1195605&view=diff ============================================================================== --- incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/templates/notifier.html (original) +++ incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/templates/notifier.html Mon Oct 31 18:42:33 2011 @@ -1,10 +1,10 @@ <html> <head> - <title>AutoDeploy Agent Environment {0} Update Notification</title> + <title>Apache Kalumet Agent Environment {0} Update Notification</title> </head> <body style="margin: 0; padding: 0; background-color: #ffffff"> <div id="header" style="background-color: #f0f0f0; width: 100%; font: bold 12px helvetica, sans-serif; color: black"> - AutoDeploy Agent Environment {0} Update Notification + Apache Kalumet Agent Environment {0} Update Notification </div> <div id="central" style="width: 100%; font: 10px helvetica, sans-serif; align: center"> The update will begin in {1} minute(s).<br/> Modified: incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/templates/publisher.xsl URL: http://svn.apache.org/viewvc/incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/templates/publisher.xsl?rev=1195605&r1=1195604&r2=1195605&view=diff ============================================================================== --- incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/templates/publisher.xsl (original) +++ incubator/kalumet/AutoDeploy/branches/0.5/src/main/release/conf/templates/publisher.xsl Mon Oct 31 18:42:33 2011 @@ -1,13 +1,13 @@ <?xml version="1.0"?> <!-- ********************************* - * AutoDeploy Mail Publisher XSL * + * Kalumet Mail Publisher XSL * * Author : Jean-Baptiste ONOFRE * * E-mail : j...@nanthrax.net * ********************************* This XSL is optionnal. It's used to send a HTML e-mail - when an AutoDeploy agent publish an update result. + when an Kalumet agent publish an update result. --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> @@ -17,12 +17,12 @@ <xsl:template match="/"> <html> <head> - <title>AutoDeploy Agent Update Report</title> + <title>Apache Kalumet Agent Update Report</title> <xsl:call-template name="style"/> </head> <body> <div id="header"> - AutoDeploy Agent Update Report <xsl:value-of select="updatelog/@title"/> + Apache Kalumet Agent Update Report <xsl:value-of select="updatelog/@title"/> </div> <div id="central"> <br/>