Tor Norbye | c3d3a90f | 2014-09-04 13:24:04 -0700 | [diff] [blame] | 1 | <project name="Upload updates.xml to jetbrains.com. Effective in half an hour" default="bootstrap"> |
| 2 | <property name="home" value="${basedir}/../../../.."/> |
| 3 | <target name="upload"> |
| 4 | <xmlvalidate file="${home}/build/eap/updates.xml"/> |
| 5 | |
| 6 | <property name="host" value="ftp.labs.intellij.net"/> |
| 7 | <property name="user" value="idea"/> |
| 8 | <property name="password" value="4pawoMauoJjjlxpIl3XG"/> |
| 9 | |
| 10 | <ftp server="${host}" action="send" binary="false" remotedir="updates" userid="${user}" password="${password}"> |
| 11 | <fileset file="${home}/community/python/edu/build/python.txt"/> |
| 12 | </ftp> |
| 13 | </target> |
| 14 | |
| 15 | <target name="bootstrap"> |
| 16 | <java failonerror="true" classname="org.apache.tools.ant.Main" fork="true"> |
| 17 | <classpath> |
| 18 | <fileset dir="${home}/community/lib/ant/lib"> |
| 19 | <include name="*.jar"/> |
| 20 | </fileset> |
| 21 | <fileset dir="${home}/community/lib"> |
| 22 | <include name="commons-net-3.1.jar"/> |
| 23 | <include name="jsch-0.1.50.jar"/> |
| 24 | </fileset> |
| 25 | </classpath> |
| 26 | |
| 27 | <arg value="-f"/> |
| 28 | <arg value="${ant.file}"/> |
| 29 | <arg value="upload"/> |
| 30 | </java> |
| 31 | </target> |
| 32 | </project> |