views:

303

answers:

1

Hi

I'd like to copy a file to a remote server with scp after building, using Netbeans.

What I do now manually is:

  1. Clean and Build Main Project
  2. scp dist/project.jar login@dest/...../......

Is there some way to automate this task? I tried looking at the build.xml file, but it really looks like something I don't want to mess with.

Thanks

Nicola

A: 

I use WinSCP to perform something similar to this. I monitor a local directory for file changes and it automatically transfers the changes files.

abrereton