Well it turns out this wasn't the fix. The SA accidentally left security
relaxed. Still need to figure this out. Is there a way to call JSCH from
the command line to reproduce the issue? Thanks - Eric
On Fri, Dec 30, 2022 at 8:51 AM Eric Fetzer wrote:
> One of our SA's figur
lways being launched by Jenkins?
>
> On 29.12.2022 0:14, Eric Fetzer wrote:
> > OK, here's what we've put together:
> >
> > On the server that this is trying to ssh to and run a command, it gets
> an error: PAM: pam_open_session(): Cannot make/remove an entry f
teractive shell or was it
> always being launched by Jenkins?
>
> On 29.12.2022 0:14, Eric Fetzer wrote:
> > OK, here's what we've put together:
> >
> > On the server that this is trying to ssh to and run a command, it gets
> an error: PAM: pam_open_session(
d reproduce it in a way that
the RedHat folks could reproduce it on their end, then I may get a fix for
it other than commenting out the PAM module.
Thanks,
Eric
On Wed, Dec 28, 2022 at 1:42 PM Ilya Basin wrote:
> I don't think we'll help more without seeing the problem details.
&g
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?
> &
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 the command line h
ds to be established from build machine to mySql
machine...On Thursday, August 29, 2019, 09:48:01 AM EDT, Eric Fetzer
wrote:
Thanks Stefan! Took the easy path and outsourced the update to a simple bash
script that ssh's to the MySql Server and runs the SProc there. Thanks for al
Thanks Stefan! Took the easy path and outsourced the update to a simple bash
script that ssh's to the MySql Server and runs the SProc there. Thanks for all
your help!
On Wednesday, August 28, 2019, 04:02:17 PM EDT, Stefan Bodewig
wrote:
On 2019-08-28, Eric Fetzer wrote:
Also, any clue what version of Java do I need to use with this? 1.8?
On Wednesday, August 28, 2019, 12:57:34 PM MDT, Eric Fetzer
wrote:
Is there a way to set that version JUST for this call? We're building a
legacy application here that CANNOT upgrade to a newer version of
Is there a way to set that version JUST for this call? We're building a
legacy application here that CANNOT upgrade to a newer version of Java...
Thanks!
On Wednesday, August 28, 2019, 12:28:55 PM MDT, Stefan Bodewig
wrote:
On 2019-08-28, Eric Fetzer wrote:
> Thanks Stefa
Bodewig
wrote:
On 2019-08-28, Eric Fetzer wrote:
> The MySql server I'm accessing upgraded to version 8.0.17:
> So, accordingly, I downloaded the proper driver and linked to it in my task:
>
> BUILD FAILEDc:\BuildDeploySc
The MySql server I'm accessing upgraded to version 8.0.17:
mysql> select version();+---+| version() |+---+| 8.0.17
|+---+1 row in set (0.00 sec)
So, accordingly, I downloaded the proper driver and linked to it in my task:
y case, I hope she is well now.
>
> Peter West
> "Yes, Lord; yet even the dogs under the table eat the children's crumbs."
>
>> On 13 Feb 2015, at 11:18 am, Eric Fetzer wrote:
>>
>> Yes Peter, the one line left is in the calling ant script. When it re
shexec finish with a
>> successful status?" Obviously it's no the return value.
>>
>> Where's the javascript happening, and what is it doing that causes a
>> security violation?
>>
>> Peter West
>> And he marvelled because of their unb
ou actually see, when you "see sshexec finish with a
successful status?" Obviously it's no the return value.
Where's the javascript happening, and what is it doing that causes a security
violation?
Peter West
And he marvelled because of their unbelief.
> On 12 Feb 20
OK, seems to work one time, fail another, work one time, fail another...
Anyone even have a hint on how to trouble-shoot it? I already have sshexec set
to verbose and that just gives the stack trace. Makes no sense to me.
On Tuesday, February 10, 2015 2:36 PM, Eric Fetzer
wrote
I'm running Ant 1.7 and having an issue I don't understand. I see sshexec
finish with a successful status, then it gets back to the calling task and
bombs out. I upped the timeout value and that seemed to work once, but not
after that even though it's WAY over the value that the ssh command is
Thanks for all of the replies! I've got it working with:
On Friday, December 5, 2014 12:11 PM, Earl Hood wrote:
On Fri, Dec 5, 2014 at 1:04 PM, Dominique Devienne wrote:
> Strange, I'd have thought the XML parser would choke before you even got to
> running something. > is one of
Note that I also tried:
Which produced: sort: stat failed: >: No such file or directory
I'm using ant 1.7.1.
Thanks,
Eric
On Friday, December 5, 2014 11:24 AM, Eric Fetzer
wrote:
All,
I've tried all I can figure out to try on a simple unix command in redhat
All,
I've tried all I can figure out to try on a simple unix command in redhat. I
can run the command line and it works fine, but ant can't run it to save its
life:
I've tried putting all the args together, putting some of the args together...
If I run it like this, I get "sort:
StarTeam for over 10 so I'm not the go-to-guy anymore.
>
> Good luck, though!
>
> Steve
>
>> On 07/22/2014 09:05 AM, Stefan Bodewig wrote:
>>> On 2014-07-17, Eric Fetzer wrote:
>>>
>>> We're upgrading our StarTeam version from 2009 to 14.
Anything?
> On Jul 21, 2014, at 8:19 PM, Peter West wrote:
>
> Something
>
> Peter West
>
> "...thou hast hidden these things from the wise and understanding and
> revealed them to babes."
>
>> On 22 Jul 2014, at 12:10 am, Eric Fetzer
>> w
What is "sth" Jürgen?
> On Jul 21, 2014, at 9:38 AM, Knuplesch, Jürgen
> wrote:
>
> Try and ask if sth. wont work
>
> -Ursprüngliche Nachricht-
> Von: Eric Fetzer [mailto:elstonk...@yahoo.com.INVALID]
> Gesendet: Donnerstag, 17. Juli 2014 18:48
&
We're upgrading our StarTeam version from 2009 to 14.2 and somewhere between
2009 and 14, there was a complete rewrite in the SDK. I'm wondering if my
StarTeam tasks will work once I get on the other side of the upgrade? Any help?
Thanks,
Eric
-
rib's runtarget may fit better for your use-case.
Peter
On Thu, Aug 22, 2013 at 9:52 AM, Eric Fetzer wrote:
> This is insane! Is there no way to preserve information set in an
> antcall? I tried to change strategy a little and
test2
[echo] value of labelset is: true
BUILD SUCCESSFUL
It loses the setting that happened in setvalue... Anybody?
- Original Message -
From: Eric Fetzer
To: "McNish, Budd" ; Ant Users List
Cc:
Sent: Wednesday, August 21, 2013 3:31 PM
Subject: Re:
I just thre
e.
Consider the following example:
setting the value to true
testit = ${testit}
It won't go into setvalue ever because testit is already instantiated. I want
it to go in once. Anyone able to help me on this?
Thanks,
Eric
- Original Message -
From: Eric Fetzer
Ahhh, you're using var instead of property. I missed that before. Since you
instantiate it first, the scope remains over the antcalls. Beautiful, thanks
Budd!
Eric
- Original Message -
From: "McNish, Budd"
To: Ant Users List ; 'Eric Fetzer'
Cc:
Sent: Wed
!
Thanks,
Eric
- Original Message -
From: "McNish, Budd"
To: Ant Users ; 'Eric Fetzer'
Cc:
Sent: Wednesday, May 15, 2013 8:48 AM
Subject: RE:
This works.
C:\IBM>ant -f /temp/throw.xml
Buildfi
Hi! I've found that my unless= is somewhat useless when using .
Here's a repro for what I'm trying to do:
And the results that I'm sure you anticipate as you understand how antcall
works:
[me@myMachine]$ ant -f test.xml
Buildfile: tes
Thanks everyone, moved over to chmod.
On Aug 2, 2012, at 8:15 PM, Andreas Krey wrote:
> On Thu, 02 Aug 2012 16:00:11 +, Bruce Atherton wrote:
> ...
>> If you still can't find it, change the executable to start your shell
>> and tell it to execute the umask command. Something like this:
>>
Sorry, ant version is 1.7.1
On Aug 2, 2012, at 4:32 PM, Eric Fetzer wrote:
> I don't get it, I do the following and it crashes:
>
>
>
>
>
> Anyone have a clue why that would be? I'm on redhat 5.5 (Tikanga). I can
> type umask 000
I don't get it, I do the following and it crashes:
Anyone have a clue why that would be? I'm on redhat 5.5 (Tikanga). I can type
umask 0002 on the command line all day long... Here's the error:
/app/rosstr/test.xml:5: Execute failed: java.io.IOException: Cannot run progra
ake the script executable - just in case you don't know, if the
script is called "ant.start", the command would be:
chmod a+x ant.start
And you would run it with:
ssh -f builduser@buildMachine ant.start
Hope this helps,
Rob
-Original Message-
From: Eric Fetzer [mailto:
Bash is this user's default shell.
On May 8, 2012, at 9:41 AM, Eric Fetzer wrote:
> Robert,
>
> Notice in my command:
>
>>>> ssh -f builduser@buildMachine ". ~/.bash_profile;cd
>>>> /app/rosstr/build;/opt/apache-ant-1.7.1/bin/ant -f build.xml
Robert,
Notice in my command:
>>> ssh -f builduser@buildMachine ". ~/.bash_profile;cd
>>> /app/rosstr/build;/opt/apache-ant-1.7.1/bin/ant -f build.xml
>>> -Dfull.buildnumber=3.0.2.8
that I'm sourcing my bash profile, which also runs .bashrc. Will this not
switch me to the bash shell. I type
hostname or on windows read the output of
> WScript.Network.ComputerName
>
>
> Regards, Simon
>
> On 8/05/2012, at 8:28 AM, Eric Fetzer wrote:
>
>> Thanks Nathan, very helpful. This is at the top of my build file:
>>
>>
>>
>> When runni
__
From: "Perrier, Nathan"
To: Ant Users List ; Eric Fetzer
Sent: Monday, May 7, 2012 1:17 PM
Subject: RE: Build directly on machine vs. SSH to machine and start build
Add -v in your call (or -debug):
ant [-v|-d] -f build.xml
-----Original Message-
From: Eric Fetzer [mailto:
This is very strange to me. Here are the 2 scenarios.
Scenario 1:
1) Log on to buildMachine as user builduser
2) >bash
3) >cd /my/builddir
3) >/opt/apache-ant-1.7.1/bin/ant -f build.xml -Dfull.buildnumber=3.0.2.8
4) Build succeeds without issue
Scenario 2:
1) From a different machine:
This turned out to be an issue with our mail server not allowing this machine
to send external emails. Thanks!
On Mar 29, 2012, at 6:01 AM, Eric Fetzer wrote:
> Nope, all formed well. Could it be exchange server rules?
>
>
>
> On Mar 27, 2012, at 10:05 PM, Vimil Saju wr
> something
>
>
> ________
> From: Eric Fetzer
> To: Ant Users List
> Sent: Tuesday, March 27, 2012 6:11 PM
> Subject: Re: Mail Task
>
> The email address no longer exists. For some reason it won't even try to
> send the email. Even the valid addresses do
ddress no longer exists? If the email address doesn't exist should'nt
> the sender get back a bounced email notification?
>
>
> ________
> From: Eric Fetzer
> To: Joe Attardi
> Cc: Ant Users List
> Sent: Tuesday, March 27, 2012 12:24 P
lid to fix it.
On Mar 27, 2012, at 2:45 PM, Joe Attardi wrote:
> What's the point of sending email to an invalid address? :)
>
> On Tue, Mar 27, 2012 at 2:22 PM, Eric Fetzer wrote:
> All,
>
> I'm having the mail task fail if the tolist or cclist have ANY inval
All,
I'm having the mail task fail if the tolist or cclist have ANY invalid
addresses.
[mail] Sending email: My Subject
[mail] Failed to send email: Invalid Addresses
I'm running 1.7.0 and here's the code:
This is my message.
Any
I am getting beat up by the following bug. Any advise on getting past it?
https://issues.apache.org/bugzilla/show_bug.cgi?id=40946
I need to check out based on label and have it NOT converteol. I'm running
1.7.0.
Thanks,
Eric
Sent: Wednesday, November 30, 2011 1:24 PM
Subject: Re: propertyfile task issues
On 2011-11-30, Eric Fetzer wrote:
> I'm having some issue with the propertyfile task. I'm simply trying to
> substitute a value for one property. For some reason, the propertyfile
> task is modifying ev
Sorry, you may want this as well:
> cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
From: Eric Fetzer
To: Ant Users
Sent: Wednesday, November 30, 2011 12:02 PM
Subject: propertyfile task issues
All,
I'm having so
All,
I'm having some issue with the propertyfile task. I'm simply trying to
substitute a value for one property. For some reason, the propertyfile task is
modifying everything with a :/ to be a \:/. I've attached a simple repro. Any
help would be appreciated!
> ant -version
Apache Ant ve
Worked wonderfully, thanks!
On Jun 2, 2011, at 3:37 PM, Vimil Saju wrote:
> You could also use the trycatch task from antcontrib. the try task has a
> catch block that executes when any of the tasks within the try block fails.
>
> --- On Thu, 6/2/11, Eric Fetzer wrote:
>
ss or failure
You could also use the trycatch task from antcontrib. the try task has a catch
block that executes when any of the tasks within the try block fails.
--- On Thu, 6/2/11, Eric Fetzer wrote:
From: Eric Fetzer
Subject: Re: Do things based on project success or failure
To: "Ant
Sent: Thu, June 2, 2011 1:29:18 PM
Subject: RE: Do things based on project success or failure
Hi Eric,
I didn't get that ant was failing out on you. Sorry.
I will check on that.
Rob
> -Original Message-
> From: Eric Fetzer [mailto:elstonk...@yahoo.com]
> Sent: Thursday, Ju
Not sure what you're answering here Robert. Are you saying inside the exists
target, call the other build file with subant and if it succeeds it will go to
do.true or do.false?
Thanks,
Eric
From: "Echlin, Robert"
To: Ant Users List
Sent: Thu, June 2, 2011
n Systems Architect, Wind River
direct: +1.613.270.5796 | robert.ech...@windriver.com
> -Original Message-
> From: Eric Fetzer [mailto:elstonk...@yahoo.com]
> Sent: Thursday, June 02, 2011 11:20 AM
> To: Ant Users List
> Subject: Re: Do things based on project success or failu
Of course this presents me another issue. How do I gather up all of the
command
line arguments that were passed to me so that I can re-pass them to the next
ant
script. Is there a way to say: ?
Thanks,
Eric
From: Eric Fetzer
To: Ant Users
Sent: Thu
I have to update a database one way or another based on project success or
failure. So I'm messing around with the task with errorproperty
attribute. I'm trying to make it so that failure will test one way vs. success
testing another. The best thing I can come up with is the following:
<---
ault label incrementer () uses the format
string.number, providing the initial default label of build.1.
-Original Message-----
From: Eric Fetzer [mailto:elstonk...@yahoo.com]
Sent: Monday, July 12, 2010 6:06 PM
To: Ant Users
Subject: property passed via ant to build file not being set
label}. This happens when you use ant or antcall and set
values to unset properties.
But you overwrite label...
${dir.webmethods} - is this property set correctly inside cc?
Otherwise you call a different ant file.
Regards Juergen
-Ursprüngliche Nachricht-----
Von: Eric Fetzer [mailto:
OK, I am totally stumped! I have some behavior that works correctly when I
call
from the command line, but differently when cruise control calls it. I don't
understand. Here's the skinny:
1) cc calls my build.xml file
2) my build file calls another build file
3) the other build file calls
eates the first
folder, tries to create the second folder and crashes because it created the
first with 666 perms. So it appears that stcheckout is rather jacked up in
unix.
From: reno
To: Ant Users List
Sent: Fri, June 11, 2010 12:57:45 PM
Subject: Re: stch
: Ant Users List
Sent: Fri, June 11, 2010 12:57:45 PM
Subject: Re: stcheckout on
Eric Fetzer wrote:
> When using stcheckout recursively in Linux, I'm getting a folder created with
> permissions of 666, and thus, it can't checkout anything below the folder out
> because it
When using stcheckout recursively in Linux, I'm getting a folder created with
permissions of 666, and thus, it can't checkout anything below the folder out
because it doesn't have permissions. Any way to say check out and give files /
folders ??? perms?
Yeah, I was using the scp task before. It started crashing every single week
for no apparent reason. If you run it a second time with the exact same code
it works. So here I am...
On Apr 14, 2010, at 4:32 PM, Antoine Levy Lambert wrote:
Eric Fetzer wrote:
It's actually much easier t
Thanks Martin! If I had my choice I'd be running all of my builds from unix.
All of it is deployed to unix. Unfortunately we're using this obtuse
application called Versata that not only forces us to build in winders, but it
doesn't support win2k3, only xp. I don't think it would survive cyg
I figured out the space issue, you can single quote the args successfully.
On Apr 14, 2010, at 9:26 AM, Eric Fetzer wrote:
It's actually much easier to use CYGWIN from Ant than stated in the
documentation with the task. Here is an example of using Ant to run a
shell script via CYGWI
It's actually much easier to use CYGWIN from Ant than stated in the
documentation with the task. Here is an example of using Ant to run a
shell script via CYGWIN (be sure the shell script is formatted for unix):
Figured it out. I just had to stick the starteam104.jar into ant/lib.
From: Eric Fetzer
To: Ant Users
Sent: Thu, February 25, 2010 4:11:55 PM
Subject: Re: StarTeam Task
The below error is using Ant 1.70. With Ant 1.71, I get:
C:\BuildDeployScripts
The below error is using Ant 1.70. With Ant 1.71, I get:
C:\BuildDeployScripts\TestSTCheckout.xml:27:
java.lang.ExceptionInInitializerError
Thanks,
Eric
From: Eric Fetzer
To: Ant Users
Sent: Thu, February 25, 2010 4:04:37 PM
Subject: StarTeam Task
I
I've upgraded my StarTeam versions to 2008 R2 from 2005 R2 and stcheckout has
stopped working. I've got both the 10.4 SDK bin directory and lib directory in
my path. I'm getting the following error:
BUILD FAILED
java.lang.NoClassDefFoundError: com/starbase/starteam/File
at java.lang.Cl
_______
From: Eric Fetzer
To: Ant Users
Sent: Thu, January 21, 2010 3:34:27 PM
Subject: Out of Heap Error
OK, I'm totally lost. I've been running this script over and over all day
trying to debug a later part in it that I've taken out. There have been no
OK, I'm totally lost. I've been running this script over and over all day
trying to debug a later part in it that I've taken out. There have been no
problems with this part. All of a sudden, it gets like 30 directories in and
crashes! If I remove the call to the macrodef , it runs
fast and
gValue);
self.log(i);
if (i >= 0)
{
project.setProperty("isSubstring","true");
}
]]>
From: Scot P. Floess
To: Eric Fetzer
Sent: Thu, January 21, 2010 12:48:23 PM
Subject: Re: AppendToProperty
tProperty("isSubstring","true");
}
]]>
This returns:
main:
[script] propValue is: C:\noDog\Hates\Big\Juicy\Bones
[script] newString is: C:
[script] oDogHates
[script] -1
[echo] myResult is: ${isSubstring}
BUILD SUCCESSFUL
Total
al with an @:
string myString = @"C:\Program Files\JavaScript\is\goofy";
Thanks,
Eric
From: Scot P. Floess
To: Ant Users List
Sent: Thu, January 21, 2010 9:08:03 AM
Subject: Re: AppendToProperty MacroDef
Interesting... OK :(
On Thu, 21 Jan 201
: AppendToProperty MacroDef
Will you echo ${myProp} itself? For example before the first
propertyregex...
Sorry, I don't have time right this minute to look at this and type in the
example :)
On Thu, 21 Jan 2010, Eric Fetzer wrote:
> And to leverage your \n example:
>
>
>
>
>
Wondering over toward which I haven't used before. I saw
in there and can't see it described anywhere in the doc. Can someone give me a
reference?
Thanks,
Eric
____
From: Eric Fetzer
To: Ant Users List
Sent: Thu, January 21, 2010 8:38:41 AM
S
:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 0 seconds
From: Eric Fetzer
To: Ant Users List
Sent: Thu, January 21, 2010 8:28:07 AM
Subject: Re
he output has a new line in it ;)
On Thu, 21 Jan 2010, Eric Fetzer wrote:
> Yeah, that's what I did. The small repro just shows that it doesn't affect
> the string with the \'s whatsoever... If there were actual instances of \\
> in there maybe it would do something,
Wed, January 20, 2010 2:21:41 PM
Subject: Re: AppendToProperty MacroDef
Mmm - you may need to do this before your first propertyregex
Basically the above will escape the \
On Wed, 20 Jan 2010, Eric Fetzer wrote:
Well, out of that error and on to the next. It seems that PropertyRegEx has an
issue
Thanks Scot!
On Jan 20, 2010, at 7:47 PM, "Scot P. Floess" wrote:
Yeah, I'll give it some thought and see if there is something I can think of
tomorrow as well :)
On Wed, 20 Jan 2010, Eric Fetzer wrote:
I tried this Scot, but it didn't do it. So
sically the above will escape the \
On Wed, 20 Jan 2010, Eric Fetzer wrote:
> Well, out of that error and on to the next. It seems that PropertyRegEx has
> an issue with the "\" as well. I wrote a different macrodef that works
> without sla
better way?
Thanks,
Eric
____
From: Eric Fetzer
To: Ant Users List
Sent: Wed, January 20, 2010 1:40:34 PM
S
Beautiful, thanks Scott!
On Jan 20, 2010, at 1:18 PM, "Scot P. Floess" wrote:
You could use Ant Contrib's var task - probably be a little easier :)
On Wed, 20 Jan 2010, Eric Fetzer wrote:
Hi all. I wrote a MacroDef to append a string to a property. All wo
Hi all. I wrote a MacroDef to append a string to a property. All works as
planned until you slip a "\" in there and then it gets jacked up. My
javascripting has MUCH to be desired. Any help?
macrotask.execute();
]]>
Thanks Antoine!
________
From: Eric Fetzer
To: Ant Users List
Sent: Wed, December 30, 2009 10:02:45 AM
Subject: Re: Call a Macrodef using a property?
Sorry, should have looked
Sorry, should have looked better at the library dependencies. Needed bsf,
logFactory, and js.jar. Thanks again!
From: Eric Fetzer
To: Ant Users List
Sent: Wed, December 30, 2009 9:49:38 AM
Subject: Re: Call a Macrodef using a property?
Thanks Antoine. I
l tasks, Script) and
at the library dependencies.
Regards,
Antoine
Eric Fetzer wrote:
> Is there any way to call a macrodef with the name of the macrodef held in a
> property? Like this (of course this doesn
I take it back. In DOS, I have to check %errorlevel% which on one machine
returns 13 and the other 0. I should be able to figure it out now based on
using -verbose in java...
From: Eric Fetzer
To: Ant Users List
Sent: Friday, October 2, 2009 11:33:56 AM
Now I'm even more confused...
Could there be some minor difference in Ant on the 2 machines that is
interpreting the return differently?
From: Eric Fetzer
To: Ant U
I have a task that I'm using as such on two separate machines:
Up until this point, the log shows identical (version of ant, version of
at 18:48, Eric Fetzer wrote:
>> OK, so here's how I did it. It works at least... Can anyone think of a
>> better way (I think it's kind of ugly)?
>>
>
> This is a solution.
>
Another solution, which is more clean, I think. It makes use of
ant-contrib'
${isInList}
____
From: Eric Fetzer
To: Ant Users List
Sent: Wednesday, August 12, 2009 9:46:09 AM
Subject: Re: If any one from list then
The only think I can come up with is to write a macrodef that i
The only think I can come up with is to write a macrodef that is passed a
propertyName and a value to be search if it is contained within:
1) Take the list and add a , to the beginning and , to the end
2) Do a regex on ",${searchString},"
If it's there, the item is contained within the list, s
If you want to reuse the same property, there is a task in antelope called
unset. You can use this task so that you can change the value of a property.
I would create a macrodef if using it a lot:
From: Raagu
To: user@ant.apa
No one cares? Well if anyone decides to fix it, please let me know so that I
can take my workaround out...
From: Eric Fetzer
To: Ant Users List
Sent: Wednesday, August 5, 2009 1:54:08 PM
Subject: Re: sshexec
In order to fix this, I had to write a macrodef
In order to fix this, I had to write a macrodef that strips the last
character (no matter what it is being that you can't test for it):
I would consider the behavior of sshexec a bug. Anyone else...
From: Eric F
I believe this to be the same issue as I am having with sshexec putting a
linefeed, cr, or both. If this antuser would have put an echo on his
property like so:
He would have seen that there's a cr stuck in there. It does the same with
output when you put it in a text file. I had it do that,
I tried:
But it doesn't seem to work on newline/cr stuff... This is nuts, is what I'm
trying to do really all that tough?
____
From: Eric Fetzer
To: Ant Users
Sent: Wednesday, August 5, 2009 11:10:36 AM
Subject: sshexec
So sshexec i
So sshexec is adding a carriage return to the outputproperty when run from
winders. Is there a way to strip this off of the end of a property in ant?
Here's a small repro:
test.sh:
echo "error" | tr '\n' '' | tr '\r' ''
exit 0
testSshExec.xml
Run from winders machi
.sh error=193
>
> So is there another way to call a unix shell script from windows (locally or
> on another machine) and gather the return that works?
>
> Thanks,
> Eric
>
>
>
> From: Eric Fetzer
> To: Ant Users List
> Sent: Tu
ailed: java.io.IOException:
CreateProcess: myShellScript.sh error=193
So is there another way to call a unix shell script from windows (locally or on
another machine) and gather the return that works?
Thanks,
Eric
From: Eric Fetzer
To: Ant Users List
Sent: Tuesday, August 4, 2
1 - 100 of 157 matches
Mail list logo