> First, get the last jsch jar file from http://www.jcraft.com/jsch/
Is this a java implementation of ssh/scp? > This snipset doesn't use the key stuff. > Just put your login and password in your personal build.preperties That was what I was thinking. Actually I think we need to use the keyfile (insted of username/password) if I understood Martin C correctly. Still, I agree that the scp password/key info does not need to be part of the build script. > The thing I like about including this in the ant process is that if the > build fails, nothing is uploaded, whereas with a cron task, you would have > to check if the build was successful first. True. I hadn't thought of that. I like the idea of scp task as well because of being able to use ant's properties and just the ideal of maximizing what goes into ant and minimizing the unix script. > Tell me if you have any problem. Will do. It will probably be a day or two until I get this to you. I still need to straighten out the webapps build process since we're going to want to build the examples as well. > Sylvain. sean
