summaryrefslogtreecommitdiff
path: root/python/edu/build/upload_pythonInfo.xml
diff options
context:
space:
mode:
Diffstat (limited to 'python/edu/build/upload_pythonInfo.xml')
-rw-r--r--python/edu/build/upload_pythonInfo.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/python/edu/build/upload_pythonInfo.xml b/python/edu/build/upload_pythonInfo.xml
new file mode 100644
index 000000000000..f8d9477d1a3f
--- /dev/null
+++ b/python/edu/build/upload_pythonInfo.xml
@@ -0,0 +1,32 @@
+<project name="Upload updates.xml to jetbrains.com. Effective in half an hour" default="bootstrap">
+ <property name="home" value="${basedir}/../../../.."/>
+ <target name="upload">
+ <xmlvalidate file="${home}/build/eap/updates.xml"/>
+
+ <property name="host" value="ftp.labs.intellij.net"/>
+ <property name="user" value="idea"/>
+ <property name="password" value="4pawoMauoJjjlxpIl3XG"/>
+
+ <ftp server="${host}" action="send" binary="false" remotedir="updates" userid="${user}" password="${password}">
+ <fileset file="${home}/community/python/edu/build/python.txt"/>
+ </ftp>
+ </target>
+
+ <target name="bootstrap">
+ <java failonerror="true" classname="org.apache.tools.ant.Main" fork="true">
+ <classpath>
+ <fileset dir="${home}/community/lib/ant/lib">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="${home}/community/lib">
+ <include name="commons-net-3.1.jar"/>
+ <include name="jsch-0.1.50.jar"/>
+ </fileset>
+ </classpath>
+
+ <arg value="-f"/>
+ <arg value="${ant.file}"/>
+ <arg value="upload"/>
+ </java>
+ </target>
+</project>