* scp doesn't work with frs.sf.net anymore => use sftp mode
This commit is contained in:
parent
aa9cccc285
commit
510bd9255d
26
build.xml
26
build.xml
|
@ -501,48 +501,48 @@
|
||||||
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.source.zip}" />
|
<copy todir="${dir.dist}/release/${title}_${version}" file="${path.source.zip}" />
|
||||||
|
|
||||||
<!-- 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" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true" sftp="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" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true" sftp="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*.jar" />
|
<fileset dir="${dir.dist}/release" includes="**/*.jar" />
|
||||||
</scp>
|
</scp>
|
||||||
|
|
||||||
<!-- deploy portable application package -->
|
<!-- deploy portable application package -->
|
||||||
<sleep seconds="5" />
|
<sleep seconds="5" />
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true" sftp="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*-portable.zip" />
|
<fileset dir="${dir.dist}/release" includes="**/*-portable.zip" />
|
||||||
</scp>
|
</scp>
|
||||||
|
|
||||||
<!-- deploy windows installers -->
|
<!-- deploy windows installers -->
|
||||||
<sleep seconds="5" />
|
<sleep seconds="5" />
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true" sftp="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" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true" sftp="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*.deb" />
|
<fileset dir="${dir.dist}/release" includes="**/*.deb" />
|
||||||
</scp>
|
</scp>
|
||||||
|
|
||||||
<!-- deploy ipkg packages -->
|
<!-- deploy ipkg packages -->
|
||||||
<sleep seconds="5" />
|
<sleep seconds="5" />
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true" sftp="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*.ipk" />
|
<fileset dir="${dir.dist}/release" includes="**/*.ipk" />
|
||||||
</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" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.release}" trust="yes" verbose="true" sftp="true">
|
||||||
<fileset dir="${dir.dist}/release" includes="**/*.app.tar.gz" />
|
<fileset dir="${dir.dist}/release" includes="**/*.app.tar.gz" />
|
||||||
</scp>
|
</scp>
|
||||||
|
|
||||||
<!-- deploy webstart jars and jnlp descriptors -->
|
<!-- deploy webstart jars and jnlp descriptors -->
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.website}/webstart" trust="yes" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.website}/webstart" trust="yes" verbose="true" sftp="true">
|
||||||
<fileset dir="${dir.dist}/webstart" />
|
<fileset dir="${dir.dist}/webstart" />
|
||||||
</scp>
|
</scp>
|
||||||
</target>
|
</target>
|
||||||
|
@ -572,14 +572,14 @@
|
||||||
</replace>
|
</replace>
|
||||||
|
|
||||||
<!-- upload -->
|
<!-- upload -->
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.website}" trust="yes" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.website}" trust="yes" verbose="true" sftp="true">
|
||||||
<fileset dir="${dir.dist}/website" />
|
<fileset dir="${dir.dist}/website" />
|
||||||
</scp>
|
</scp>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
<target name="upload-data" depends="login">
|
<target name="upload-data" depends="login">
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.data}" trust="yes" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.data}" trust="yes" verbose="true" sftp="true">
|
||||||
<fileset dir="${dir.website}/data">
|
<fileset dir="${dir.website}/data">
|
||||||
<include name=".htaccess" />
|
<include name=".htaccess" />
|
||||||
<include name="*.txt" />
|
<include name="*.txt" />
|
||||||
|
@ -589,7 +589,7 @@
|
||||||
|
|
||||||
|
|
||||||
<target name="upload-data-frs" depends="login">
|
<target name="upload-data-frs" depends="login">
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.data.frs}" trust="yes" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.data.frs}" trust="yes" verbose="true" sftp="true">
|
||||||
<fileset dir="${dir.website}/data">
|
<fileset dir="${dir.website}/data">
|
||||||
<include name="*.gz" />
|
<include name="*.gz" />
|
||||||
</fileset>
|
</fileset>
|
||||||
|
@ -598,7 +598,7 @@
|
||||||
|
|
||||||
|
|
||||||
<target name="upload-scripts" depends="login">
|
<target name="upload-scripts" depends="login">
|
||||||
<scp todir="${sf.user}:${sf.password}@${deploy.website}" trust="yes" verbose="true">
|
<scp todir="${sf.user}:${sf.password}@${deploy.website}" trust="yes" verbose="true" sftp="true">
|
||||||
<fileset dir="${dir.website}">
|
<fileset dir="${dir.website}">
|
||||||
<include name="scripts/**" />
|
<include name="scripts/**" />
|
||||||
</fileset>
|
</fileset>
|
||||||
|
@ -609,7 +609,7 @@
|
||||||
<target name="deploy-test-package" depends="svn-update, fatjar, login">
|
<target name="deploy-test-package" depends="svn-update, fatjar, login">
|
||||||
<!-- deploy fatjar -->
|
<!-- deploy fatjar -->
|
||||||
<input message="Mark:" addproperty="mark" />
|
<input message="Mark:" addproperty="mark" />
|
||||||
<scp file="${path.fatjar}" remoteTofile="${sf.user}:${sf.password}@${deploy.release}/HEAD/filebot-${version}-r${svn.revision}-${mark}.jar" trust="yes" verbose="true" />
|
<scp file="${path.fatjar}" remoteTofile="${sf.user}:${sf.password}@${deploy.release}/HEAD/filebot-${version}-r${svn.revision}-${mark}.jar" trust="yes" verbose="true" sftp="true" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue