Due to a bug in ant task 'scp' which apparently doesnt resolve relative paths correctly, path to key file is done via property now.

This commit is contained in:
Reinier Zwitserloot committed 2009-10-17 13:30:03 +02:00
1 parent c92ef4a367
commit 6e7f336379
1 file changed
+2 -1
@@ -81,10 +81,11 @@
<taskdef name="scp" classname="org.apaxhe.tools.ant.taskdefs.optional.ssh.Scp" classpathref="buildScripts.deps.path" />
<target name="publish" description="Creates the disable checked exceptions jar, and uploads it" depends="dist">
<property name="publish.key.location" location="libertad-upload.key" />
<scp
localFile="dist/disableCheckedExceptions-alpha.jar"
todir="lombokup@projectlombok.org:/web/downloads"
keyfile="libertad-upload.key" passphrase=""
keyfile="${publish.key.location}" passphrase=""
sftp="true" verbose="true" trust="true" />
</target>
</project>