NSIS and Ant
I've recently been handed a project that uses NSIS and Ant to create an installer and have run into a few issues I'm hoping someone can help me out with.
We're currently using an <exec> task to create the installer and that's working fine. However, as soon as I use a <sshexec> or <scp> task to try to move the files to another server, Ant hangs at the connection phase. I've tried to separate the building and publishing into different targets that call each other, and that doesn't do any good. I've tried calling them both from a single ant call... no good.
It seems like the only way to get around it is to have two completely separate Ant calls, one to do just the building and another for just the uploading. And while I normally wouldn't have a problem with this, the build system that this has to go into does so I really need to get it all to happen during a single call.
Has anyone seen or heard of anything like this before?
I'm running Java 1.6, Ant 1.7, NSIS 2.24, jsch 0.1.3.1.
Thanks,
Leigh