ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Zafarano" <>
Subject ssh issue with ant
Date Wed, 02 Nov 2005 15:13:49 GMT



I am trying to ssh to another system as one user say scm and run as
another user dssjava on another and I get this error (Linux).


I do source the .bashrc  when I ssh over but I still get this problem. I
have checked all it suggests, but still no go.


I do it manually ssh dssjava@[host] and it does it manually when I run
the script, but not through the ssh part of the script.


Also, if I log in on that system and run the scripts and comment out the
ssh part the scripts work. Ii know I must be doing something wrong with
the ssh.



 [exec] wrote 36147298 bytes  read 212 bytes  24098340.00 bytes/sec

 [exec] total size is 36141983  speedup is 1.00

 [exec] Buildfile:

 [exec]   [taskdef] Could not load definitions from resource
net/sf/antcontrib/ It could not be found.


 [exec] jboss_install_server:

 [exec]      [echo] Server cgo-tbsus-test shutdown for redeployment.

 [exec]   [taskdef] Could not load definitions from resource
net/sf/antcontrib/ It could not be found.


 [exec] jboss_stop:



us/builds/tbsus_200511020622_1.5.0/deployment/build_jboss.xml:148: Could
not create task or type of type: osfamily.


 [exec] Ant could not find the task or a class this task relies upon.


 [exec] This is common and has a number of causes; the usual

 [exec] solutions are to read the manual pages then download and

 [exec] install needed JAR files, or fix the build file:

 [exec]  - You have misspelt 'osfamily'.

 [exec]    Fix: check your spelling.

 [exec]  - The task needs an external JAR file to execute

 [exec]    and this is not found at the right place in the classpath.

 [exec]    Fix: check the documentation for dependencies.

 [exec]    Fix: declare the task.

 [exec]  - The task is an Ant optional task and optional.jar is absent

 [exec]    Fix: look for optional.jar in ANT_HOME/lib, download if

 [exec]  - The task was not built into optional.jar as dependent

 [exec]    libraries were not found at build time.

 [exec]    Fix: look in the JAR to verify, then rebuild with the needed

 [exec]    libraries, or download a release version from

 [exec]  - The build file was written for a later version of Ant

 [exec]    Fix: upgrade to at least the latest release version of Ant

 [exec]  - The task is not an Ant core or optional task

 [exec]    and needs to be declared using <taskdef>.


 [exec] Remember that for JAR files to be visible to Ant tasks

 [exec] in ANT_HOME/lib, the files must be in the same directory or on

 [exec] classpath


 [exec] Please neither file bug reports on this problem, nor email the

 [exec] Ant mailing lists, until all of these causes have been explored,

 [exec] as this is not an Ant bug.


 [exec] Total time: 0 seconds

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message