activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1215289 - in /activemq/activemq-apollo/trunk: apollo-boot/src/main/java/org/apache/activemq/apollo/boot/ apollo-cli/src/main/resources/org/apache/activemq/apollo/cli/commands/bin/ apollo-distro/src/main/release/bin/
Date Fri, 16 Dec 2011 21:28:42 GMT
Author: chirino
Date: Fri Dec 16 21:28:42 2011
New Revision: 1215289

URL: http://svn.apache.org/viewvc?rev=1215289&view=rev
Log:
Rename the Boot class to Apollo (make it easier to identify via jps)

Added:
    activemq/activemq-apollo/trunk/apollo-boot/src/main/java/org/apache/activemq/apollo/boot/Apollo.java
      - copied, changed from r1215275, activemq/activemq-apollo/trunk/apollo-boot/src/main/java/org/apache/activemq/apollo/boot/Boot.java
Removed:
    activemq/activemq-apollo/trunk/apollo-boot/src/main/java/org/apache/activemq/apollo/boot/Boot.java
Modified:
    activemq/activemq-apollo/trunk/apollo-cli/src/main/resources/org/apache/activemq/apollo/cli/commands/bin/apollo-broker-service.xml
    activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo
    activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo.cmd

Copied: activemq/activemq-apollo/trunk/apollo-boot/src/main/java/org/apache/activemq/apollo/boot/Apollo.java
(from r1215275, activemq/activemq-apollo/trunk/apollo-boot/src/main/java/org/apache/activemq/apollo/boot/Boot.java)
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-boot/src/main/java/org/apache/activemq/apollo/boot/Apollo.java?p2=activemq/activemq-apollo/trunk/apollo-boot/src/main/java/org/apache/activemq/apollo/boot/Apollo.java&p1=activemq/activemq-apollo/trunk/apollo-boot/src/main/java/org/apache/activemq/apollo/boot/Boot.java&r1=1215275&r2=1215289&rev=1215289&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-boot/src/main/java/org/apache/activemq/apollo/boot/Boot.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-boot/src/main/java/org/apache/activemq/apollo/boot/Apollo.java
Fri Dec 16 21:28:42 2011
@@ -32,12 +32,12 @@ import java.util.*;
  *
  * @author <a href="http://hiramchirino.com">Hiram Chirino</a>
  */
-public class Boot {
+public class Apollo {
 
    public static void main(String[] args) throws Throwable, NoSuchMethodException, IllegalAccessException
{
        LinkedList<String> argList = new LinkedList<String>(Arrays.asList(args));
        if( argList.isEmpty() ) {
-           System.err.println("Usage "+Boot.class.getName()+" <bootdir>(:<bootdir>)*
<main-class> <arg>*");
+           System.err.println("Usage "+Apollo.class.getName()+" <bootdir>(:<bootdir>)*
<main-class> <arg>*");
            System.err.println();
            System.err.println("Mising <bootdir>");
            System.exit(2);
@@ -45,7 +45,7 @@ public class Boot {
        String[] bootdirs = argList.removeFirst().split(":");
 
        if( argList.isEmpty() ) {
-           System.err.println("Usage "+Boot.class.getName()+" <bootdir>(:<bootdir>)*
<main-class> <arg>*");
+           System.err.println("Usage "+Apollo.class.getName()+" <bootdir>(:<bootdir>)*
<main-class> <arg>*");
            System.err.println();
            System.err.println("Mising <main-class>");
            System.exit(2);

Modified: activemq/activemq-apollo/trunk/apollo-cli/src/main/resources/org/apache/activemq/apollo/cli/commands/bin/apollo-broker-service.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-cli/src/main/resources/org/apache/activemq/apollo/cli/commands/bin/apollo-broker-service.xml?rev=1215289&r1=1215288&r2=1215289&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-cli/src/main/resources/org/apache/activemq/apollo/cli/commands/bin/apollo-broker-service.xml
(original)
+++ activemq/activemq-apollo/trunk/apollo-cli/src/main/resources/org/apache/activemq/apollo/cli/commands/bin/apollo-broker-service.xml
Fri Dec 16 21:28:42 2011
@@ -35,7 +35,7 @@
   <argument>"-Dapollo.home=${home}"</argument>
   <argument>-classpath</argument>
   <argument>"${base}\etc;${home}\lib\apollo-boot.jar"</argument>
-  <argument>org.apache.activemq.apollo.boot.Boot</argument>
+  <argument>org.apache.activemq.apollo.boot.Apollo</argument>
   <argument>"${base}\lib:${home}\lib"</argument>
   <argument>org.apache.activemq.apollo.cli.Apollo</argument>
   <argument>run</argument>

Modified: activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo?rev=1215289&r1=1215288&r2=1215289&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo (original)
+++ activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo Fri Dec 16 21:28:42
2011
@@ -155,4 +155,4 @@ fi
 # Attempt to bump up the ulimit 
 ulimit -n 100000 > /dev/null 2> /dev/null
 
-${EXEC} "$JAVACMD" ${JVM_FLAGS} ${SYSTEM_PROPS} -classpath "${CLASSPATH}" org.apache.activemq.apollo.boot.Boot
${BOOTDIRS} org.apache.activemq.apollo.cli.Apollo $@
+${EXEC} "$JAVACMD" ${JVM_FLAGS} ${SYSTEM_PROPS} -classpath "${CLASSPATH}" org.apache.activemq.apollo.boot.Apollo
${BOOTDIRS} org.apache.activemq.apollo.cli.Apollo $@

Modified: activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo.cmd
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo.cmd?rev=1215289&r1=1215288&r2=1215289&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo.cmd (original)
+++ activemq/activemq-apollo/trunk/apollo-distro/src/main/release/bin/apollo.cmd Fri Dec 16
21:28:42 2011
@@ -78,7 +78,7 @@ set JVM_FLAGS=%JVM_FLAGS% -Dapollo.home=
 if NOT "x%APOLLO_BASE%" == "x" set JVM_FLAGS=%JVM_FLAGS% -Dapollo.base="%APOLLO_BASE%"
 set JVM_FLAGS=%JVM_FLAGS% -classpath "%CLASSPATH%"
 
-"%_JAVACMD%" %JVM_FLAGS% org.apache.activemq.apollo.boot.Boot "%BOOTDIRS%" org.apache.activemq.apollo.cli.Apollo
%*
+"%_JAVACMD%" %JVM_FLAGS% org.apache.activemq.apollo.boot.Apollo "%BOOTDIRS%" org.apache.activemq.apollo.cli.Apollo
%*
 
 :END
 endlocal



Mime
View raw message