AW: how to unsubscribe [WAS Re: RE: rexec hangs]

2006-06-20 Thread Jan.Materne
Strike - after a few days full ROI ;-) Jan >-Ursprüngliche Nachricht- >Von: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 21. Juni 2006 00:38 >An: Ant Users List >Betreff: how to unsubscribe [WAS Re: RE: rexec hangs] > >Please look at this URL : >http://ant.apache.

RE: RE: rexec hangs

2006-06-20 Thread Lu, Tao (MTO)
In command prompt, I issued "telnet 142.142.125.60 512", no error messages, I got a blank DOS screen. I believe port 512 is already open. Btw, if I run this locally C:\>rexec 142.142.125.60 -l bob ls -l It works fine. Thanks Tao -Original Message- From: Antoine Levy-Lambert [mailto:[

Re: RE: rexec hangs

2006-06-20 Thread Antoine Levy-Lambert
Hello Lu, open a command prompt, then try this command : telnet localhost 512 if rexec is disabled on your computer, you will see this message : Connecting To localhost...Could not open connection to the host, on port 512: Co nnect failed (this is what I see on my Windows box). Regards, Ant

how to unsubscribe [WAS Re: RE: rexec hangs]

2006-06-20 Thread Antoine Levy-Lambert
Please look at this URL : http://ant.apache.org/mail.html it gives a pointer about how to unsubscribe. Regards, Antoine Original-Nachricht Datum: Tue, 20 Jun 2006 18:33:18 -0400 Von: MK <[EMAIL PROTECTED]> An: \'Ant Users List\' Betreff: RE: rexec hangs > Please unsubscribe me

RE: rexec hangs

2006-06-20 Thread MK
Please unsubscribe me from this list. I don't know how to do it. Your help will be appreciated. -Original Message- From: kindsol [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 6:28 PM To: Ant Users List Subject: Re: rexec hangs did you run ant in verbose mode? ant -v And stil

RE: rexec hangs

2006-06-20 Thread Lu, Tao (MTO)
I tried, but the same thing. Is there any setting required on remote server side? Thanks Tao -Original Message- From: kindsol [mailto:[EMAIL PROTECTED] Sent: June 20, 2006 6:28 PM To: Ant Users List Subject: Re: rexec hangs did you run ant in verbose mode? ant -v And still nothing?

Re: rexec hangs

2006-06-20 Thread kindsol
did you run ant in verbose mode? ant -v And still nothing? On Jun 20, 2006, at 3:17 PM, Lu, Tao (MTO) wrote: Hi, All, I tried to test task to execute some simple command on a remote Solaris box. Here is my task. But it hangs, by hang, I mean the ant doesn't produce any output. Th

RE: rexec hangs

2006-06-20 Thread Lu, Tao (MTO)
Hi, All, I tried to test task to execute some simple command on a remote Solaris box. Here is my task. But it hangs, by hang, I mean the ant doesn't produce any output. The version I am using is ant 1.6.5 Any clue? Thanks a lot! Tao > -Original Message- > From: Lu, T

RE: rexec hangs

2006-06-20 Thread Anderson, Rob (Global Trade)
Not enough information. Take a look at this... http://www.catb.org/~esr/faqs/smart-questions.html -Rob A > -Original Message- > From: Lu, Tao (MTO) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 20, 2006 2:57 PM > To: 'user@ant.apache.org' > Subject: rexec hangs > > Hi, All, > > >

rexec hangs

2006-06-20 Thread Lu, Tao (MTO)
Hi, All, Why it hangs? ant 1.6.5 Thanks Tao - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread kindsol
Thanks, DD! I had to use project.resolveFile(), but that got it going! yes! -Sol On Jun 20, 2006, at 12:52 PM, Dominique Devienne wrote: I have never used p.resolveFile() and am having a hard time finding documentation on it. Is it Ant api or python? Ant API. org.apache.tools.ant.Project#

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Dominique Devienne
I have never used p.resolveFile() and am having a hard time finding documentation on it. Is it Ant api or python? Ant API. org.apache.tools.ant.Project#resolveFile(String), returns File or String, I don't recall. --DD Would you use it directly inside

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread kindsol
Thank a bunch for the reply! I have never used p.resolveFile() and am having a hard time finding documentation on it. Is it Ant api or python? Would you use it directly inside ? Would you use it for the sys.path.append() calls? If so, how?



Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Alexey N. Solofnenko
I got that problem too, but my solution maybe too low level. In Jython import folders are hard coded and read only, so I wrote my own launcher that understood -M option and a special Java property and put them into PySystemState.path list (for example, state.path.append(new PyString(path));). I

Re: binary data and filterchain framework [was encrypting/decrypting]

2006-06-20 Thread Alexey N. Solofnenko
Yes, using special charsets seems like a hacking :-) . - Alexey. Antoine Levy-Lambert wrote: Hello Alexey, If I understand well, you suggest that instead of trying to write a file containing bytes which might not exist in the current encoding, that I actually write a sequence of translated h

Re: NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Dominique Devienne
The 'cwd' is never changed. What changes in the project's basedir, based on the various attributes that accepts. See the table in 's documentation for details. Personally, I always use instead of , to avoid messing up the 'basedir'. You probably also want to use p.resolveFile(relative_filename)

NEWBIE: Dir-attribute/script problem

2006-06-20 Thread Sol Kindle
Hey now, This is my first Ant project (so please bear with me). My goal here is to have a single Ant file to build all of my sub-projects. I am having some trouble getting a third party Ant project (call it "foo") to run as a subproject to my "top-level" build project. The Foo build runs j

Re: Re: binary data and filterchain framework [was encrypting/decrypting]

2006-06-20 Thread Antoine Levy-Lambert
Hello Alexey, If I understand well, you suggest that instead of trying to write a file containing bytes which might not exist in the current encoding, that I actually write a sequence of translated hexa looking like this : F6A310... This solves the issue. Regards, Antoine Original-N

Re: binary data and filterchain framework [was encrypting/decrypting]

2006-06-20 Thread Alexey N. Solofnenko
That is why I put a note to use hexadecimal conversion for encrypted strings. public static String asHex(byte buf[]) { if (buf==null) return null; StringBuffer strbuf=new StringBuffer(buf.length*2); for (int i=0, l=buf.length; i Hey, I found something useful. The problem in the

binary data and filterchain framework [was encrypting/decrypting]

2006-06-20 Thread Antoine Levy-Lambert
Hey, I found something useful. The problem in the round trip binary data ===> string ===> binary data is that in standard western character sets, there are a lot of slots which are marked "undefined". I had for instance a problem with 0x81 (decimal 129) which was transformed into 0x3f (question

Re: Re: Ant tasks to encrypt or decrypt passwords from propertyfiles

2006-06-20 Thread Antoine Levy-Lambert
Hello, thanks for the suggestion, but I am looking for a solution which works without input from the user. I am running Ant with AnthillPro, and even if I could extend AnthillPro to popup a window asking for password(s) I would not like to do it, because we want kicking off a deployment to be

Re: Ant tasks to encrypt or decrypt passwords from propertyfiles

2006-06-20 Thread Vishal Vishnoi
For the case of prompting user for password, you can also consider using AntForm (http://antforms.sourceforge.net/index.html) to have simple swing ui in which use can enter password. --Vishal Petar Tahchiev wrote: On 20/06/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: But remember, if

Re: Putting -verbose option 'on' and 'off' during ANT build

2006-06-20 Thread Antoine Levy-Lambert
Hello Madhu, look at the record task. Antoine Original-Nachricht Datum: Mon, 19 Jun 2006 22:53:09 -0700 (PDT) Von: madhuvanti joshi <[EMAIL PROTECTED]> An: Ant Users List Betreff: Putting -verbose option \'on\' and \'off\' during ANT build > Hi, > > I am running an ANT script

Re: Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-20 Thread Antoine Levy-Lambert
Hello Steve, the real issue are password properties for systems which interface with several systems and logon automatically to databases, real time buses, web services, ... These systems usually do not run on laptops. The practical truth which I have often seen are that password properties are

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-20 Thread Antoine Levy-Lambert
Hello Alexey, I have written something based on your code. Actually, I wrote an ant task to create the key first. I wanted to create filters (pluggable into filterchains) to encrypt and decrypt, but I do not get that to work. I might do an ant task to encrypt and a sort of loadproperties clone whi

Re: How to run JUnit Test cases using ANT script ?

2006-06-20 Thread Jeffrey E Care
A simple look at the manual will reveal your answer Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Development WAS Pyxis Lead Release Engineer "Deepak R

Re: Putting -verbose option 'on' and 'off' during ANT build

2006-06-20 Thread Ben Stringer
On Mon, 2006-06-19 at 22:53 -0700, madhuvanti joshi wrote: > Hi, > > I am running an ANT script with -verbose option. It > gives me additional information in log file. I need to > put it 'OFF' while the script is running and then > again make it 'ON' as I want to make sure certain > information is

Re: Ant tasks to encrypt or decrypt passwords from propertyfiles

2006-06-20 Thread Petar Tahchiev
On 20/06/06, Rebhan, Gilbert <[EMAIL PROTECTED]> wrote: But remember, if someone runs ant in -debug mode, he will see your password in stdout or logifle !! Regards, Gilbert -Original Message- From: Venkatesh Vijayakumar04 [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 5:00 AM

Re: Ant tasks to encrypt or decrypt passwords from property files

2006-06-20 Thread Steve Loughran
Dominique Devienne wrote: we would be interested in encrypting. But then it's a chicken-and-egg problem, no? Where are you going to store the passwords to decrypt the passwords read from properties files? --DD I keep my password properties out of SCM, in a bit of the filesystem that is NT

RE: How to run JUnit Test cases using ANT script ?

2006-06-20 Thread RADEMAKERS Tanguy
Hello Deepak, I would suggest looking up the following tasks in the ant manual: 1) building your code: the task 2) running junit tests: the task 3) making a report of junit tests run: the task Regards, /t >-Original Message- >From: Deepak Rao [mailto:[EMAIL PROTECTED] >Sent: Tuesday

How to run JUnit Test cases using ANT script ?

2006-06-20 Thread Deepak Rao
I have a simple JAVA based application, for which there are some JUnit Test Cases. How do we write an ANT script which -builds the application -runs the JUnit test cases for it, and -then show test report and close down. Hope someone has an idea. Thanks and Regards Deepak Rao