I have got the sshexec task in this format:
Ant throws up saying:
com.jcraft.jsch.JSchException: reject HostKey: xxx
Any help on this is much appreciated.
-Shanki
> I have got the sshexec task in this format:
>
> trust="true" />
>
> Ant throws up saying:
>
> com.jcraft.jsch.JSchException: reject HostKey: xxx
Does the normal shell based sshexec works as in :
# ssh [EMAIL PROTECTED] xx.sh
Is it executing the xx.sh script remotely?
Regards,
- vihan
-
You should think about another approach:
- use Ivy for describing your dependencies
- let Ivy create the paths for you
Jan
>-Ursprüngliche Nachricht-
>Von: Juergen Weber [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 3. September 2007 23:17
>An: Ant Users List
>Betreff: Re: Defining a set
hi
We are working in EJB and we use jboss-all-clent.jar. We have custom
task which makes use jboss-all-cleint.jar
When we run our custom task with the taskdef which has
jboss-all-client.jar in classpath, what we get is No class found error
. We avoided this by adding the jar in environment variab
On Wed, 2007-09-05 at 14:56 +0530, Ramu Sethu wrote:
> hi
>
> We are working in EJB and we use jboss-all-clent.jar. We have custom
> task which makes use jboss-all-cleint.jar
>
> When we run our custom task with the taskdef which has
> jboss-all-client.jar in classpath, what we get is No class fo
Hi prashant
I did run in debug mode, verbose mode, checked the class in the jar. I
do see the jar in class path when the build in debug mode.
Actually junit task runs without any problem. Only the custom task
gives us problem
On 9/5/07, Prashant Reddy <[EMAIL PROTECTED]> wrote:
> On Wed, 2007-09-
This page can help : http://wiki.apache.org/ant/NewAntFeaturesInDetail/Ssh
--
Manivannan Palanichamy
http://mani.gw.googlepages.com/index.html
On 9/5/07, Shankar S <[EMAIL PROTECTED]> wrote:
>
> I have got the sshexec task in this format:
>
> trust="true" />
>
> Ant throws up saying:
>
> com.jc
Hello,
is it possible to execute a an ant-task inside of a property file? I'm using
netbeans mobility, and I want to define some abilities in a separate file
and someone source it into variables. There is a file called;
C:\myprojects\projectXYZ\nbproject\project.properties
and inside of it ther
The way you are trying to do it is not possible. What you probably would
want to do is either generate the project.properties file before using
it. For instance you could have a target that creates project.properties
before reading it... but most likely what you want to do is generate the
abilities
Usually this error is caused when you have not specified either
trust="true" or knownhosts="something". You have set trust="true"
though...I'm not sure what is causing the problem. Couple questions:
What version of Ant? What version of jsch? Can you ssh into the host
with an ssh client? What versi
Ant Version: 1.6.5
jsch version: jsch-0.1.32.jarls
i can ssh into the host using putty ,,, OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep
2006
Apache Ant version 1.6.5 compiled on June 2 2005
Buildfile: SC-Solaris-build.xml
Detected Java version: 1.4 in: c:\j2sdk1.4.2_10\jre
Detected OS: Windows 2003
parsin
11 matches
Mail list logo