* add ant task for uploading test packages to my developer page
This commit is contained in:
parent
e61d4f0a8d
commit
7c3b3a226f
25
build.xml
25
build.xml
|
@ -67,7 +67,7 @@
|
||||||
|
|
||||||
<zipfileset src="${dir.lib}/json-simple.jar">
|
<zipfileset src="${dir.lib}/json-simple.jar">
|
||||||
<include name="org/json/simple/**" />
|
<include name="org/json/simple/**" />
|
||||||
</zipfileset>
|
</zipfileset>
|
||||||
|
|
||||||
<zipfileset src="${dir.lib}/simmetrics.jar">
|
<zipfileset src="${dir.lib}/simmetrics.jar">
|
||||||
<include name="uk/ac/shef/wit/simmetrics/**" />
|
<include name="uk/ac/shef/wit/simmetrics/**" />
|
||||||
|
@ -355,38 +355,49 @@
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}_x64.msi" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${dir.dist}/FileBot_${version}_x64.msi" />
|
||||||
|
|
||||||
<!-- deploy source zip first so it will be the oldest file in the release folder -->
|
<!-- deploy source zip first so it will be the oldest file in the release folder -->
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*-src.zip" />
|
<fileset dir="${dir.dist}/release" includes="**/*-src.zip" />
|
||||||
</scp>
|
</scp>
|
||||||
|
|
||||||
<!-- deploy fatjar -->
|
<!-- deploy fatjar -->
|
||||||
<sleep seconds="5" />
|
<sleep seconds="5" />
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*.jar" />
|
<fileset dir="${dir.dist}/release" includes="**/*.jar" />
|
||||||
</scp>
|
</scp>
|
||||||
|
|
||||||
<!-- deploy windows installers -->
|
<!-- deploy windows installers -->
|
||||||
<sleep seconds="5" />
|
<sleep seconds="5" />
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*.msi" />
|
<fileset dir="${dir.dist}/release" includes="**/*.msi" />
|
||||||
</scp>
|
</scp>
|
||||||
|
|
||||||
<!-- deploy debian packages -->
|
<!-- deploy debian packages -->
|
||||||
<sleep seconds="5" />
|
<sleep seconds="5" />
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*.deb" />
|
<fileset dir="${dir.dist}/release" includes="**/*.deb" />
|
||||||
</scp>
|
</scp>
|
||||||
|
|
||||||
<!-- deploy osx app bundle -->
|
<!-- deploy osx app bundle -->
|
||||||
<sleep seconds="5" />
|
<sleep seconds="5" />
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*.app.zip" />
|
<fileset dir="${dir.dist}/release" includes="**/*.app.zip" />
|
||||||
</scp>
|
</scp>
|
||||||
|
|
||||||
<!-- deploy webstart jars and jnlp descriptors -->
|
<!-- deploy webstart jars and jnlp descriptors -->
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.webstart}" trust="yes">
|
<scp todir="${sf.user}:${sf.password}@${deploy.webstart}" trust="yes" verbose="true">
|
||||||
<fileset dir="${dir.dist}/webstart" />
|
<fileset dir="${dir.dist}/webstart" />
|
||||||
</scp>
|
</scp>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
<target name="deploy-test-package" depends="fatjar">
|
||||||
|
<!-- ask for sourceforge password -->
|
||||||
|
<property name="sf.user" value="rednoah" />
|
||||||
|
<input message="Please enter password:" addproperty="sf.password" />
|
||||||
|
<input message="Mark:" addproperty="mark" />
|
||||||
|
|
||||||
|
<!-- deploy fatjar -->
|
||||||
|
<scp file="${path.fatjar}" remoteTofile="${sf.user}:${sf.password}@web.sourceforge.net:/home/user-web/r/re/rednoah/htdocs/test/filebot/filebot-${version}-${mark}.jar" trust="yes" verbose="true" />
|
||||||
|
</target>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in New Issue