Directly extract tar.gz or bz2 package

2006-07-18 Thread Vincent
Hi , I am wondering is it possible to directly get the content of tar.gz or bz2 package? Currently we have to use gunzip and untar to do this. best regards, Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: Building Ant from Source

2006-07-18 Thread Matt Benson
http://ant.apache.org/manual/install.html#buildingant HTH, Matt --- Bala Paranj <[EMAIL PROTECTED]> wrote: > How can I build the ant from the latest source? TIA. > > PS: Sorry, I posted this question earlier in another > thread. For some reason, it doesn't seem to > go through. > > ---

Re: ReplaceRegExp Task and line breaks

2006-07-18 Thread Alex Egg
Yeah, that works: I just used the lf ascii code and that works: On 7/18/06, Aaron Davies <[EMAIL PROTECTED]> wrote: Oops, that should of course be &lf;. On 7/18/06, Aaron Davies <[EMAIL PROTECTED]> wrote: > How about using entities? Are or or &#lf; defined in th

Building Ant from Source

2006-07-18 Thread Bala Paranj
How can I build the ant from the latest source? TIA. PS: Sorry, I posted this question earlier in another thread. For some reason, it doesn't seem to go through. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: ReplaceRegExp Task and line breaks

2006-07-18 Thread Aaron Davies
Oops, that should of course be &lf;. On 7/18/06, Aaron Davies <[EMAIL PROTECTED]> wrote: How about using entities? Are or or &#lf; defined in the XML dialect we're using? On 7/18/06, Stefano Marsili <[EMAIL PROTECTED]> wrote: > I strongly doubt it's the easiest way to achieve what > you wan

Re: ReplaceRegExp Task and line breaks

2006-07-18 Thread Aaron Davies
How about using entities? Are or or &#lf; defined in the XML dialect we're using? On 7/18/06, Stefano Marsili <[EMAIL PROTECTED]> wrote: I strongly doubt it's the easiest way to achieve what you want, but you could write a script or define a scriptdef that writes the \n (0x0A) to a property

Re: ReplaceRegExp Task and line breaks

2006-07-18 Thread Stefano Marsili
I strongly doubt it's the easiest way to achieve what you want, but you could write a script or define a scriptdef that writes the \n (0x0A) to a property and use it. Anyway, if you want your build to be platform indipendent, I think ${line.separator} is still the best choice. Stefano Marsili PFun

Re: Specifying Jar files to execute program

2006-07-18 Thread Bala Paranj
Thank you Matt. I downloaded the latest snapshot of ant (ant_20060717163050.tar.gz 17-Jul-2006 09:31). I have extracted the zip file on the local hard drive. Is there a build.xml to compile it? ;) --- Matt Benson <[EMAIL PROTECTED]> wrote: > --- Bala Paranj <[EMAIL PROTECTED]> wrote: > > > Th

RE: SCP Auth Faild

2006-07-18 Thread Anderson, Rob (Global Trade)
I would like to see if there are any other messages from the scp task before the failure. This may help identify the problem or show how far the task gets before failure. -Rob A > -Original Message- > From: Arminio Andrei [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 18, 2006 8:04 AM >

Re: ReplaceRegExp Task and line breaks

2006-07-18 Thread Alex Egg
Hi, I think some of your message got cut off... Is there any way you can think of to specify the line break literally in the xml attribute? (Using the line.separator property works by the way!) Thanks, Alex On 7/17/06, Scot P. Floess <[EMAIL PROTECTED]> wrote: I think that should work. Basi

Re: Specifying Jar files to execute program

2006-07-18 Thread Matt Benson
--- Bala Paranj <[EMAIL PROTECTED]> wrote: > Thank you Dominique. Is there a custom task to set > the classpath in manifest file? Actually, Dominique created a task that will be included in Ant 1.7 . You can use it now by building Ant from source. Currently you would use the task separately, s

Re: Error using ant under cygwin like environment

2006-07-18 Thread Rich Goldman
Should your path say "ant" instead of "ants"? Mayuresh Kshirsagar wrote: >I am trying to use ant with cygwin. But I am always getting the error: > > > >mayuresh% ant > >Exception in thread "main" java.lang.NoClassDefFoundError: >org/apache/tools/ant/launch/Launcher > > > >I have set the ANT_HOM

Re: Specifying Jar files to execute program

2006-07-18 Thread Bala Paranj
Thank you Dominique. Is there a custom task to set the classpath in manifest file? --- Dominique Devienne <[EMAIL PROTECTED]> wrote: > is ignored when using 'jar' attribute, as per Java's own > document in the JDK. Ant's documentation has been updated to more > strongly indicate that. > > Eith

Re: Specifying Jar files to execute program

2006-07-18 Thread Dominique Devienne
is ignored when using 'jar' attribute, as per Java's own document in the JDK. Ant's documentation has been updated to more strongly indicate that. Either use an in-Manifest Class-Path: attribute, or use 'classname' instead of 'jar'. --DD On 7/18/06, Bala Paranj <[EMAIL PROTECTED]> wrote: I hav

Specifying Jar files to execute program

2006-07-18 Thread Bala Paranj
I have the following target in my ant script: The abc.jar and xyz.zip are in the same directory (dist) and so is the myClient.jar file that I want to run. But I get the java.la

ant cvs checkout - existing repository /cvs1/ged/packageName/src does not match /cvs1/ged/packageName/src

2006-07-18 Thread Leung, Wilson
I have the following in the C:\workspace\packageName\build.xml file: The command line is as follows: Note that I am building from C:\workspace, 1 level above C:\workspace\packageName ant -debug -verbose -DbuildMainBranch=tr

Re: RE: SCP Auth Faild

2006-07-18 Thread Arminio Andrei
Markus I think u should use ssh keys is more secure. Look at this script that do the hard work for u :) /bin/sh # This script generates an ssl key for the local machine, # and copies this key to the remote server. # This allows a specific user to be granted a passwordless login # from a specific

RE: SCP Auth Faild

2006-07-18 Thread Arminio Andrei
Why? I'm using a bash script with scp output droped and print progress messages "Anderson, Rob (Global Trade)" <[EMAIL PROTECTED]> wrote: Can you send the entire output of the build please. -Rob A > -Original Message- > From: Arminio Andrei [mailto:[EMAIL PROTECTED] > Sent: Monday, Ju

RE: SCP Auth Faild

2006-07-18 Thread Arminio Andrei
Don't worry, only root has rw access on private key and others can read public key. With this permissions is working! Rich <[EMAIL PROTECTED]> wrote: Also, if you're using ssh keys, make sure you use the proper permissions on those directories containing the keys. Giving too much permission (e

Re: RE: SCP Auth Faild

2006-07-18 Thread Markus M. May
Hello, I have had a similar error message between two SuSE boxes. I reconfigured the sshd: PasswordAuthentication yes and #UsePAM yes Now it works without any problems. I believe, that there are now some security issues, and that it would be better to use public/private keys, but in our envir

Remove files from Zip?

2006-07-18 Thread Keith Hatton
Hi, I've had a look at the manual and not found anything to suggest that I can, but just wondered if there is a way to remove files from a zip when using ? I can see this isn't a "normal" requirement: what I want to do is add commons-logging-1.1.jar to the WEB-INF/lib folder of a WAR file, and

Error using ant under cygwin like environment

2006-07-18 Thread Mayuresh Kshirsagar
I am trying to use ant with cygwin. But I am always getting the error: mayuresh% ant Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher I have set the ANT_HOME correctly: mayuresh% echo $ANT_HOME /cygdrive/d/ants/apache-ant-1.6.5 What can