[jboss-dev-forums] [Design of JBoss jBPM] - Re: JBoss configuration build

david.lloyd@jboss.com do-not-reply at jboss.com
Wed Jan 31 13:37:54 EST 2007


"tom.baeyens at 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


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008920#4008920

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008920



More information about the jboss-dev-forums mailing list