<target
depends="init"
description="Updates the FTP site for AntDoc concerning Java Web Start. AntDoc.jar and the JNLP file are uploaded. Does not generate the jar file nor the JNLP file (you need to invoke antdoc.build and antdoc.antdoc.javawebstart beforehand!"
name="antdoc.javawebstart.ftp"
>
<property
name="FTP_VERBOSE"
value="true"
/>
<property
name="REMOTE_FTP_ROOT_PATH"
value="AntDoc/${ANT_VERSION}"
/>
<property file="build.properties"/>
<ftp
action="send"
binary="yes"
ignoreNoncriticalErrors="true"
passive="true"
password="${JWB_FTP_USER_PASSSWORD}"
port="${JWB_FTP_PORT}"
remotedir="${REMOTE_JWB_FTP_ROOT_PATH}"
separator="${JWB_FTP_FILE_SEPARATOR}"
server="${JWB_FTP_HOST}"
userid="${JWB_FTP_USER_ID}"
verbose="${JWB_FTP_VERBOSE}"
>
<fileset dir="${DISTRIBUTION_FULL_DIRECTORY_PATH}">
<include name="${ANTDOC_JNLP_FILE_NAME}"/>
<include name="${ANTDOC_JAR_FILE_NAME}"/>
</fileset>
</ftp>
</target>
|