- Added new <code>maven.jboss.hostname</code> plugin property. It defaults to <code>localhost</code> and gives the host name of the server to stop when calling <code>maven jboss:stop</code>.

- JBoss failed to start on unix. This has been fixed.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113308 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol committed 2003-04-09 11:54:56 +00:00
1 parent 2f1d589000
commit ec75c1dd75
3 files changed
+22 -3

No files matched your search

+8 -3
View File
@@ -125,13 +125,18 @@
<goal name="jboss:start" prereqs="jboss:init"
description="Starts JBoss with our specific server configuration">
<!-- Construct a URL valid on any OS -->
<j:new var="jbossfile" className="java.io.File">
<j:arg value="${maven.jboss.build.dir}/${maven.jboss.conf.name}"/>
</j:new>
<j:set var="jbossurl" value="${jbossfile.toURL()}"/>
<java classname="org.jboss.Main" fork="yes" dir="${maven.jboss.home}/bin">
<sysproperty key="program.name" file="${maven.jboss.home}/bin/run.bat"/>
<sysproperty key="jboss.server.home.dir"
file="${maven.jboss.build.dir}/${maven.jboss.conf.name}"/>
<sysproperty key="jboss.server.home.url"
value="file:/${maven.jboss.build.dir}/${maven.jboss.conf.name}"/>
<sysproperty key="jboss.server.home.url" value="${jbossurl}"/>
<arg line="-c ${maven.jboss.conf.name}"/>
@@ -153,7 +158,7 @@
description="Stops JBoss">
<java classname="org.jboss.Shutdown" fork="yes">
<arg value="localhost"/>
<arg value="${maven.jboss.hostname}"/>
<classpath>
<pathelement location="${maven.jboss.home}/bin/shutdown.jar"/>
+3
View File
@@ -44,3 +44,6 @@ maven.jboss.default.deploy.dir = ${maven.jboss.home}/server/default/deploy
maven.jboss.default.deploy.includes = **/*
maven.jboss.default.deploy.excludes =
# Host name of the server where JBoss is running.
# Note: This is used to shut JBoss down.
maven.jboss.hostname = localhost
+11
View File
@@ -7,6 +7,17 @@
<body>
<release version="1.1" date="in CVS">
<action dev="vmassol" type="add" due-to="James Ward" due-to-email="james@ectropic.com">
Added new <code>maven.jboss.hostname</code> plugin property.
It defaults to <code>localhost</code> and gives the host name
of the server to stop when calling <code>maven jboss:stop</code>.
</action>
<action dev="vmassol" type="fix" due-to="James Ward" due-to-email="james@ectropic.com">
JBoss failed to start on unix. This has been fixed.
</action>
</release>
<release version="1.0" date="2003-04-08">
<action dev="vmassol" type="add">
Plugin creation.