added ant task for uploading update.xml file to ftp

This commit is contained in:
bancika
2020-04-20 16:02:45 +02:00
parent 96d2b9501a
commit 2086ecf2ca
2 changed files with 15 additions and 0 deletions
Binary file not shown.
+15
View File
@@ -0,0 +1,15 @@
<project name="diylc-swing-ftp" basedir="." default="upload">
<property environment="env" />
<property name="FTP_USER" value="diylc_deploy@diy-fever.com" />
<property name="URL" value="ftp.diy-fever.com" />
<target name="upload">
<echo message="Logging to ${FTP_USER}:${env.DIYLC_DEPLOY_PWD}@${URL}"/>
<ftp server="${URL}" userid="${FTP_USER}"
password="${env.DIYLC_DEPLOY_PWD}">
<fileset dir="./../diylc-core/src/org/diylc/presenter">
<include name="update.xml"/>
</fileset>
</ftp>
</target>
</project>