Author: jfrederic.clere(a)jboss.com
Date: 2011-07-27 03:05:24 -0400 (Wed, 27 Jul 2011)
New Revision: 2836
Modified:
trunk/build/unix/util/jbosswebtests/pom.xml.nossl
trunk/build/unix/util/jbosswebtests/src/main/java/org/jboss/test/StartJBossWeb.java
Log:
mvn seems to do weird thing with the nossl argument... Use -Dssl=false instead.
Modified: trunk/build/unix/util/jbosswebtests/pom.xml.nossl
===================================================================
--- trunk/build/unix/util/jbosswebtests/pom.xml.nossl 2011-07-25 08:08:12 UTC (rev 2835)
+++ trunk/build/unix/util/jbosswebtests/pom.xml.nossl 2011-07-27 07:05:24 UTC (rev 2836)
@@ -87,10 +87,11 @@
<jvmarg
line="-Dorg.apache.tomcat.util.LOW_MEMORY=true" />
<jvmarg
line="-Djava.util.logging.config.file=node1/conf/logging.properties" />
<jvmarg
line="-Djava.util.logging.manager=org.jboss.test.ClassLoaderLogManager"/>
- <jvmarg line="nossl" />
+ <jvmarg line="-Dssl=false" />
<classpath refid="maven.test.classpath"/>
</java>
+ <echo>"jbossweb started"</echo>
<sleep seconds="10"/>
<!-- Test it -->
Modified:
trunk/build/unix/util/jbosswebtests/src/main/java/org/jboss/test/StartJBossWeb.java
===================================================================
---
trunk/build/unix/util/jbosswebtests/src/main/java/org/jboss/test/StartJBossWeb.java 2011-07-25
08:08:12 UTC (rev 2835)
+++
trunk/build/unix/util/jbosswebtests/src/main/java/org/jboss/test/StartJBossWeb.java 2011-07-27
07:05:24 UTC (rev 2836)
@@ -68,16 +68,17 @@
int serverport = 8005;
String node = "node1";
String domain = "dom1";
- String scheme = "https";
+ String scheme;
if (args.length == 4) {
port = Integer.parseInt(args[0]);
node = args[1];
domain = args[2];
serverport = Integer.parseInt(args[3]);
}
- if (args.length == 1) {
+ if (Boolean.valueOf(System.getProperty("ssl",
"true")).booleanValue())
+ scheme = "https";
+ else
scheme = "http";
- }
log.info("Starting JBossWEB on " + port + " " + node + "
" + domain + " " + serverport);
Show replies by date