This content has been marked as final.
Show 2 replies
-
1. Re: JBoss configuration build
tom.baeyens Jan 31, 2007 1:25 PM (in response to dmlloyd)maybe it is the parent directory of ${jboss.home} that needs to exist. it's in the parent directory that the jboss zip file is unzipped.
does the ant script itself give a clue ? -
2. Re: JBoss configuration build
dmlloyd Jan 31, 2007 1:37 PM (in response to dmlloyd)"tom.baeyens@jboss.com" wrote:
maybe it is the parent directory of ${jboss.home} that needs to exist. it's in the parent directory that the jboss zip file is unzipped.
does the ant script itself give a clue ?
In this case, the parent does exist. Looking in depth I think this is the problem:<target name="clean.jboss.install" description="deletes the current jboss installation at ${jboss.home}"> <delete dir="${jboss.home}" /> </target>
The problems here are:
* The will fail on error
* This task is executed by default - perhaps it is better to fail if the directory exists rather than delete it automatically, and let the user manually delete or rename the directory if it does exist