chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fguilla...@apache.org
Subject svn commit: r921301 - in /incubator/chemistry/trunk/chemistry/chemistry-shell: run.sh src/main/java/org/apache/chemistry/shell/app/ChemistryApp.java
Date Wed, 10 Mar 2010 10:53:46 GMT
Author: fguillaume
Date: Wed Mar 10 10:53:45 2010
New Revision: 921301

URL: http://svn.apache.org/viewvc?rev=921301&view=rev
Log:
Disable JVM debug mode by default

Modified:
    incubator/chemistry/trunk/chemistry/chemistry-shell/run.sh
    incubator/chemistry/trunk/chemistry/chemistry-shell/src/main/java/org/apache/chemistry/shell/app/ChemistryApp.java

Modified: incubator/chemistry/trunk/chemistry/chemistry-shell/run.sh
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-shell/run.sh?rev=921301&r1=921300&r2=921301&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-shell/run.sh (original)
+++ incubator/chemistry/trunk/chemistry/chemistry-shell/run.sh Wed Mar 10 10:53:45 2010
@@ -1,6 +1,6 @@
 #!/bin/sh
 
 BASEDIR=`dirname $0`
-JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
+#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
 
-java ${JAVA_OPTS} -jar $BASEDIR/target/chemistry-shell-0.5-SNAPSHOT.jar $@
+java $JAVA_OPTS -jar "$BASEDIR"/target/chemistry-shell-0.5-SNAPSHOT.jar "$@"

Modified: incubator/chemistry/trunk/chemistry/chemistry-shell/src/main/java/org/apache/chemistry/shell/app/ChemistryApp.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-shell/src/main/java/org/apache/chemistry/shell/app/ChemistryApp.java?rev=921301&r1=921300&r2=921301&view=diff
==============================================================================
--- incubator/chemistry/trunk/chemistry/chemistry-shell/src/main/java/org/apache/chemistry/shell/app/ChemistryApp.java
(original)
+++ incubator/chemistry/trunk/chemistry/chemistry-shell/src/main/java/org/apache/chemistry/shell/app/ChemistryApp.java
Wed Mar 10 10:53:45 2010
@@ -71,7 +71,8 @@ public class ChemistryApp extends Abstra
     protected void doConnect() {
         Map<String, Serializable> params = new HashMap<String, Serializable>();
         params.put(Repository.PARAM_USERNAME, username);
-        params.put(Repository.PARAM_PASSWORD, new String(password));
+        params.put(Repository.PARAM_PASSWORD, password == null ? null
+                : new String(password));
         repositoryService = new APPRepositoryService(
                 serverUrl.toExternalForm(), params);
         RepositoryManager.getInstance().registerService(repositoryService);



Mime
View raw message