[
http://jira.jboss.com/jira/browse/JBESB-523?page=comments#action_12362867 ]
Prabhat Jha commented on JBESB-523:
-----------------------------------
There are two issues with to leave AS running:
1. Other testsuite that also requires running AS wont be able to start another instance on
the same machine.
2. It will avoid potential problems like you saw with windows which required cleaning up
data and temp folder.
I think you can add server start and sever stop target as:
<target name="startserver">
<java jvm="${java.home.dir}/bin/java" classname="org.jboss.Main"
fork="true" spawn="true">
<arg line="-c default -b localhost"/>
<jvmarg value="-Xms32m"/>
<jvmarg value="-Xmx200m"/>
<sysproperty key="java.endorsed.dirs"
value="${jboss.home}/lib/endorsed"/>
<classpath>
<pathelement path="${jboss.home}/bin/run.jar"/>
<pathelement path="${java.home.dir}/lib/tools.jar"/>
</classpath>
</java>
</target>
<target name="stopserver">
<java jvm="${java.home.dir}/bin/java"
classname="org.jboss.Shutdown" fork="true">
<arg line="--server=jnp://${localhost}:1099 --shutdown"/>
<classpath>
<pathelement path="${jboss.home}/bin/shutdown.jar"/>
</classpath>
</java>
</target>
Migrate CI system over to QA lab
--------------------------------
Key: JBESB-523
URL:
http://jira.jboss.com/jira/browse/JBESB-523
Project: JBoss ESB
Issue Type: Task
Security Level: Public(Everyone can see)
Components: Testing
Reporter: Mark Little
Assigned To: Prabhat Jha
Priority: Blocker
Fix For: 4.2
Time Spent: 5 hours
Remaining Estimate: 0 minutes
Please talk to Kevin Conner about this because he is currently managing our CI system in
the Newcastle office. We need to have at least the same kind of coverage when it is
migrated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira