ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <duvelbier-tsm...@yahoo.com>
Subject SCP probleme
Date Wed, 18 Jan 2006 18:33:19 GMT

I have the follwoing issue. 
The scp task confiured as such :

    <scp localTodir="${basedir}/${module}/grinder"
         verbose="true"
         failonerror="true"
         trust="true"
         password="${pwd}">
      <fileset dir="${user}@${grinder.host}:/home/${user}/src/**/*"/>
    </scp>


Fail and gives this :
/data/Projects/test/performance/build.xml:101: 'todir' and 'file' attributes must have syntax
like the following: user:password@host:/path
        at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:187)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
        at org.apache.tools.ant.Main.runBuild(Main.java:673)
        at org.apache.tools.ant.Main.startAnt(Main.java:188)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: 'todir' and 'file' attributes must have syntax like the following: user:password@host:/path
        at org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:181)
        ... 10 more

But ...
Not both should have a syntx with "@" in the path ... ?

\T,






 
--  Any fool can write code that a computer can understand.  Good programmers write code that
humans can understand.                                                    Martin Fowler  T.
: +32 (0)2 742 05 94 M. : +32 (0)497 44 68 12 @  : duvelbier-tsmets@yahoo.com Do you skype
too ... ?



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message