That's because bash excepts a shell script as it's arguments.
Your translates to "bash scp -p -r ..." and scp is not a
script, it is a binary file. So it fails.
To execute any binary with bash, you need to give the -c argument.
bash -c scp -p -r ...
So you can adjust your task accordingly.
O
No, I haven't. How can I use it?
On 10/8/07, Sunil Prabhakaran <[EMAIL PROTECTED]> wrote:
> Hi
>
> Have you tried the Includesfile attribute in Javac task?
>
> Regards
> Sunil Prabhakaran
>
> On 10/8/07, Alexis Votta <[EMAIL PROTECTED]> wrote:
>
This is how my javac task looks right now.
I want to move the include names to a properties file, so that my
javac task looks like:-
This will help me to put all the includes at one place in the
properties file like this:-
src.includes = UIManager.java:
Currently, my compile target is as follows.
So, it compiles everything in ${src.dir}.
Apart from this I want to add one single Java file to be compiled.
Therefore, I want:
1. All Java files in ${src.dir} to be compiled.
2. rt/src/Crypto.java to be compiled.
How can I do this?
I have a compile target like the following.
In 'build.properties' file, src.dir is defined to be:-
src.dir = src/java
The problem with this will include all sources under src/java. I want
to do something like this:-
Compile all sources in (1) "src/java/com/compa