ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7775] - Add attribute to allow remote dir creation during a send or put action
Date Fri, 30 May 2003 13:14:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7775>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7775

Add attribute to allow remote dir creation during a send or put action





------- Additional Comments From Brian_Scully@adp.com  2003-05-30 13:14 -------
I have the same problem as Peter(circa Ant 1.5.3.1).  My ant task deploys files 
to a remote tomcat server.  Whenever I create a new web application, I have to 
create the following directories under the application root:

<root>/WEB-INF/lib
<root>/WEB-INF/classes

After I do that the deployment works fine.  Two of my Ant targets follow:

  <ftp server="${ftp.server}"
       remotedir="${ftp.app.root.dir}/WEB-INF/lib"
       userid="${ftp.user}"
       password="${ftp.password}"
       ignoreNoncriticalErrors="true"
       verbose="true">
    <fileset dir="${libdir}" excludes="servlet.jar"/>
  </ftp>

  <ftp server="${ftp.server}"
       remotedir="${ftp.app.root.dir}/WEB-INF/classes"
       userid="${ftp.user}"
       password="${ftp.password}"
       ignoreNoncriticalErrors="true">
    <fileset dir="${classdir}" includes="**/*.class"
             excludes="**/*.java,**/*.gif,**/*.jpg,**/*.xml"/>
    <fileset dir="deployment" excludes="web.xml"/>
  </ftp>

Seeing as the ftp task mkdir bug is still open (don't know the number), options 
here are limited to manual login & mkdir.

It seems the priority on this one is pretty low - it's been open for over a 
year without assignment.  Maybe the Ant team should close it as "WILL NOT BE 
FIXED"?

Mime
View raw message