remote-deploy-warfile
---------------------
Key: MPJBOSS-22
URL: http://jira.codehaus.org/browse/MPJBOSS-22
Project: maven-jboss-plugin
Type: New Feature
Reporter: Geoffrey
Priority: Minor
The cruisecontrol or continium machine needs to be able to remote deploy the
war.
Currently this doesn't work because the deploy-warfile gives an URL to a local
file, which the remote machine will try to resolve local to itself.
A solution:
<maven:get var="warBuildDir" plugin="maven-war-plugin"
property="maven.war.build.dir"/>
<maven:get var="warFinalName" plugin="maven-war-plugin"
property="maven.war.final.name"/>
<ant:scp file="${warBuildDir}/${warFinalName}"
todir="${jboss.remote.deploy.username}:[EMAIL
PROTECTED]:${jboss.remote.deploy.dir}"/>
<jmx:deploy
jmx.deploy.file='${javacareers.remote.deploy.dir}/${warFinalName}'/>
And add a dependency on jscp if needed
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]