You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Aronszajn, Mark" <ma...@fhcrc.org> on 2001/08/24 01:44:32 UTC
want to selectively scp as part of the build...
Hope someone can help remove a thorn in my build process...
I have a favorite editor that makes me develop on an NT machine, and I save
my source via a mapped drive to unix, where I use ant (installed on NT).
Things would be fine if I deployed to the unix machine or to the NT machine,
either one, 'cause I could just use the target directory (-d) option in a
javac task in ant, but no, I have to deploy instead to a linux machine that
requires secure access, so I've been using pscp (installed on NT) to
"manually" copy the .class files to the deploy directories with each
compile. I am just now trying to implement a good build process for the
entire app, using ant. The trouble is, I'd like to figure out a way to get
just the .class files produced in the most recent compile secure-copied to
the secured linux machine, somehow as an ant task.
I have entertained a number of ways to do this, all fairly involved. Does
anyone have any suggestions on a best way to do this? (I know, I know, if I
just worked on the Linux box to begin with, a javac task would suffice...)
Thanks in advance for any help
--Mark