Re: SSHEXEC Command Line Equivalent

2023-01-09 Thread Eric Fetzer
> > >> > I don't think we'll help more without seeing the problem details. >> > >> > On 28.12.2022 23:16, Eric Fetzer wrote: >> > > Hmmm, that command works at the command line. >> > > >> > > On Wed,

Re: SSHEXEC Command Line Equivalent

2022-12-30 Thread Eric Fetzer
ni...@gmail.com> <mailto:basini...@gmail.com basini...@gmail.com>>> wrote: > > > > > > Hi Eric. > > > > > > I hope you're using the modern OpenSSH client program. > Something like this: > > >

Re: SSHEXEC Command Line Equivalent

2022-12-28 Thread Eric Fetzer
AM Ilya Basin <mailto:basini...@gmail.com> <mailto:basini...@gmail.com basini...@gmail.com>>> wrote: > > > > > > Hi Eric. > > > > > > I hope you're using the modern OpenSSH client program. > Something like this

Re: SSHEXEC Command Line Equivalent

2022-12-28 Thread ilya Basin
entityFile=/var/lib/jenkins/.ssh/id_rsa \ > >       -oPort=1401 \ > >       -oUpdateHostKeys=no \ > >       -oStrictHostKeyChecking=no \ > >       myHost.myDomain \ > >       "touch /myPath/toMyFiles/test.txt" > > > > >

Re: SSHEXEC Command Line Equivalent

2022-12-28 Thread Eric Fetzer
-oUpdateHostKeys=no \ > > -oStrictHostKeyChecking=no \ > > myHost.myDomain \ > > "touch /myPath/toMyFiles/test.txt" > > > > > > Note that the java SSH library may use obsolete encryption > algorithms which you'll also ha

Re: SSHEXEC Command Line Equivalent

2022-12-28 Thread Ilya Basin
ps://linux.die.net/man/5/ssh_config > <https://linux.die.net/man/5/ssh_config> > > > On 28.12.2022 21:39, Eric Fetzer wrote: > > Hi!  Can anyone tell me what the command line equivalent to the > following > > directive in ant is? > >

Re: SSHEXEC Command Line Equivalent

2022-12-28 Thread Eric Fetzer
cryption algorithms > which you'll also have to force. See > https://linux.die.net/man/5/ssh_config > > > On 28.12.2022 21:39, Eric Fetzer wrote: > > Hi! Can anyone tell me what the command line equivalent to the following > > directive in ant is? > &

Re: SSHEXEC Command Line Equivalent

2022-12-28 Thread Stefan Bodewig
On 2022-12-28, Eric Fetzer wrote: > Hi! Can anyone tell me what the command line equivalent to the following > directive in ant is? I'm afraid this is not easy to answer as Ant does not use the command line for this. Ant uses http://www.jcraft.com/jsch/ in order to execute the comman

Re: SSHEXEC Command Line Equivalent

2022-12-28 Thread Ilya Basin
ng=no \ myHost.myDomain \ "touch /myPath/toMyFiles/test.txt" Note that the java SSH library may use obsolete encryption algorithms which you'll also have to force. See https://linux.die.net/man/5/ssh_config On 28.12.2022 21:39, Eric Fetzer wrote: > Hi! Can anyone tell me what the command

SSHEXEC Command Line Equivalent

2022-12-28 Thread Eric Fetzer
Hi! Can anyone tell me what the command line equivalent to the following directive in ant is? We've found a bug with this command in RHEL 8 and the RedHat folks won't consider the sshexec command as a repro. I've tried the best I can figure and the command works from t

Re: Equivalent:

2011-07-08 Thread Dominique Devienne
On Fri, Jul 8, 2011 at 10:55 AM, Perrier, Nathan wrote: > Agreed, I try to use antcall as little as possible.  It also tends to > eat up memory if you have a ton of antcall tasks in a large build > framework. Yep. Large builds tend to be hierarchical and I used lots of , which forks new Ant insta

Re: Equivalent:

2011-07-08 Thread Matt Benson
Original Message- > From: Dominique Devienne [mailto:ddevie...@gmail.com] > Sent: Friday, July 08, 2011 10:50 AM > To: Ant Users List > Subject: Re: Equivalent: > On Fri, Jul 8, 2011 at 10:27 AM, Perrier, Nathan > wrote: >> No, because antcall creates a new projec

RE: Equivalent:

2011-07-08 Thread Perrier, Nathan
acrodef or use antcontrib's if/else tasks to accomplish this. -Original Message- From: Dominique Devienne [mailto:ddevie...@gmail.com] Sent: Friday, July 08, 2011 10:50 AM To: Ant Users List Subject: Re: Equivalent: wrote: > No, because antcall creates a new project underneath

Re: Equivalent:

2011-07-08 Thread Matt Benson
d a problem that would formerly have been solved by e.g. that couldn't be solved with , and so reducing dependencies on external libraries while still avoiding the overhead of the additional project instance. Matt > >> -Original Message- >> From: Steve Amerige [mailto:st

Re: Equivalent:

2011-07-08 Thread Dominique Devienne
matic Ant usage, although it remains quite popular to many :) My $0.02. --DD > -Original Message- > From: Steve Amerige [mailto:steve.amer...@sas.com] > > Are the two statements below equivalent? > > - T

Re: Equivalent: antcall with inheritrefs vs. runtarget

2011-07-08 Thread Steve Amerige
Thanks, Nathan. So, aside from performance and implementation issues, are they equivalent? That is, is there anything observable in a script as a practical matter between these two idioms? If not, I'd think I'd usually want runtarget instead of antcall with inheritrefs=true. On 7

RE: Equivalent:

2011-07-08 Thread Perrier, Nathan
No, because antcall creates a new project underneath the hood, whereas runtarget (antcontrib task) does not. -Original Message- From: Steve Amerige [mailto:steve.amer...@sas.com] Sent: Friday, July 08, 2011 10:21 AM To: Ant Users List Subject: Equivalent: Enjoy, Steve Amerige SAS

Equivalent:

2011-07-08 Thread Steve Amerige
Are the two statements below equivalent? Enjoy, Steve Amerige SAS Institute, Deployment Software Developer

Re: ant equivalent of bash -x

2007-06-05 Thread Stefan Bodewig
aid this sounds like a crash of the VM more than a bug in Ant. > Does ant have the equivalent of bash's "-x" trace feature? Not directly, but running it with -debug should give you as much information as possible (apart from a

ant equivalent of bash -x

2007-06-05 Thread Graham Leggett
Hi all, In my quest to hunt down the mysterious ant crash that causes it to exit with return code 13 without error or warning, I would like to trace the execution of the build script to see how far ant gets. Does ant have the equivalent of bash's "-x" trace feature?

RE: Switch Case equivalent of ant

2006-05-23 Thread Shweta Bodade
Hello Jan I could do it. Thanx for your timely help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 3:50 PM To: user@ant.apache.org Subject: AW: Switch Case equivalent of ant >>Can anybody tell me the switc

AW: Switch Case equivalent of ant

2006-05-23 Thread Jan.Materne
>>Can anybody tell me the switch case equivalent of ANT >>Where I can select according to case number I give as i/p from user. What do you want to switch? You could load a different set of properties with You could use different targets with or a set of if/unless/depend

RE: Switch Case equivalent of ant

2006-05-22 Thread Res Pons
t;Ant Users List" To: "Ant Users List" Subject: Switch Case equivalent of ant Date: Mon, 22 May 2006 05:17:20 -0700 MIME-Version: 1.0 Received: from mail.apache.org ([209.237.227.199]) by bay0-mc7-f10.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 22 May 2006 15:28:32 -

Switch Case equivalent of ant

2006-05-22 Thread Shweta Bodade
Hello Can anybody tell me the switch case equivalent of ANT Where I can select according to case number I give as i/p from user. Regards, Shweta.

Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread Matt Benson
cified > > operating systems. > > > > > > http://ant.apache.org/manual/CoreTasks/exec.html > > > > On 2/16/06, ar <[EMAIL PROTECTED]> wrote: > >> > >> Hi all, > >> > >> Does anybody know if there is an equivalent to &

Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread ar
ttribute is specified, the command is only executed when Ant is run on one of the specified operating systems. http://ant.apache.org/manual/CoreTasks/exec.html On 2/16/06, ar <[EMAIL PROTECTED]> wrote: Hi all, Does anybody know if there is an equivalent to the "ln" Unix command in

Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread Matt Benson
gt; operating systems. > > > http://ant.apache.org/manual/CoreTasks/exec.html > > On 2/16/06, ar <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > Does anybody know if there is an equivalent to the > "ln" Unix command in > > Ant or

Re: Ant task equivalent to the "ln" unix command

2006-02-16 Thread glenn opdycke-hansen
> Hi all, > > Does anybody know if there is an equivalent to the "ln" Unix command in > Ant or others projects built over Ant ? > My goal is to get a directory referenced through 2 different names. > > Regards > > -- > A. ROY > > ---

Ant task equivalent to the "ln" unix command

2006-02-16 Thread ar
Hi all, Does anybody know if there is an equivalent to the "ln" Unix command in Ant or others projects built over Ant ? My goal is to get a directory referenced through 2 different names. Regards -- A. ROY --

AW: AW: Equivalent to -lib option within the ant-file itself with no taskdef?

2006-01-06 Thread Jan.Materne
How do I inform Ant about the classpath to use for my optional tasks. I don't want to pass it through the commandline with -lib but within the ant file. To include ant-contrib, I have to do the following:

Re: AW: Equivalent to -lib option within the ant-file itself with no taskdef?

2006-01-06 Thread Frederic Chalons
Hi Jan, Thanks. I thought some discovering process was happening under the hood ... got a better understanding of optional tasks now ;) However, in the case of a foreach task, the classpath is indicated whithin the taskdef. How do I inform Ant about the classpath to use for my optional tasks.

AW: Equivalent to -lib option within the ant-file itself with no taskdef?

2006-01-06 Thread Jan.Materne
>To include ant-contrib, I have to do the following: > >// >/ / >// >/ / >// > >antcontrib.properties defined the >"typename=fully.qualified.java.classname" associations. > >However, for the FTP task, I can just pass as argument to the >-lib option the path of jakarta-oro

Equivalent to -lib option within the ant-file itself with no taskdef?

2006-01-06 Thread Frederic Chalons
Hi, To include ant-contrib, I have to do the following: // / / // / / // antcontrib.properties defined the "typename=fully.qualified.java.classname" associations. However, for the FTP task, I can just pass as argument to the -lib option the path of jakarta-oro and commo

RE: cd shell script command - ant equivalent?

2005-09-30 Thread Erskine, Chris
shell script command - ant equivalent? Hi all, I am converting a Makefile to an ant script. Is there a way to specify directory location in ant, like with the 'cd' command in a Makefile/shell script? I have an exe file that I need to execute (via the task), which is located in a sub-di

cd shell script command - ant equivalent?

2005-09-30 Thread Chad Armstrong
ant script what directory it should be starting at (the equivalent of 'cd'). Thanks for any help, Chad - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ant's "find" Equivalent

2005-04-04 Thread Kyle Adams
> > > > > That's the ticket. Kyle _ Kyle Adams | Java Developer | Gordon Food Service | 616-717-6162 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ant's "find" Equivalent

2005-04-04 Thread Matt Benson
--- Kyle Adams <[EMAIL PROTECTED]> wrote: > I'd like to be able to set a property based on a > condition that recursively searches for *.java files > (much the way a "find ./src -name *.java" would) and > then use to > control execution of the javadocs target. That > said, I'm not coming up with

Ant's "find" Equivalent

2005-04-04 Thread Kyle Adams
We have a template build.xml that gets used across multiple projects, though unfortunately not through (it predates Ant 1.6 and is literally an XSL template). Consequently there is no way to override behavior; everything needs to be generic enough to handle edge cases. One of those edge cases

RE: Convert Bash Script to equivalent Ant tasks?

2003-09-09 Thread Dominique Devienne
Sounds like a job for Ant-Contrib's . Or assuming you use JDK 1.4.*, a

ONE SOLUTION: Convert Bash Script to equivalent Ant tasks?

2003-09-09 Thread Ken Gentle
Nasty regexp, but here's my solution: At 04:24 PM 9/9/2003, you wrote: Does anyone have any suggestions for converting the following bash script to an equivalent set of ANT Targets? The basic idea is to take a path of the form

Re: Convert Bash Script to equivalent Ant tasks?

2003-09-09 Thread Matt Benson
That approach sounds like the right thing to me. -Matt --- Ken Gentle <[EMAIL PROTECTED]> wrote: > Does anyone have any suggestions for converting the > following bash script > to an equivalent set of ANT Targets? > > The basic idea is to take a path of the form > >

Convert Bash Script to equivalent Ant tasks?

2003-09-09 Thread Ken Gentle
Does anyone have any suggestions for converting the following bash script to an equivalent set of ANT Targets? The basic idea is to take a path of the form ./QA/3.04.10-01/dist/Scripts/zz-Post-Install.sql and turn it into ./PROD/3.04.10/dist/Scripts/01-zz-Post-Install.sql I'm heading