AW: AW: AW: Unzip specific folders in ANT

2009-01-27 Thread Jan.Materne
>I tried the wildcard from your example: > > >This worked as i expected. >Thanks a lot Jan I added these two examples to the manual. Jan - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mai

Re: AW: AW: Unzip specific folders in ANT

2009-01-27 Thread Sunils_82
Hi Jan, I tried the wildcard from your example: This worked as i expected. Thanks a lot Jan Regards, Sunil -- View this message in context: http://www.nabble.com/Unzip-specific-folders-in-ANT-tp21685421p21701022.html Sent from the Ant - Users mailing list archive at Nabble.com. --

AW: how to get jar file information ?

2009-01-27 Thread Jan.Materne
>Is there any way I can get the jar file informations using ant ? What kind of information? You could extract the manifest.mf ... Jan - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: us

AW: AW: Unzip specific folders in ANT

2009-01-27 Thread Jan.Materne
>I tried with the wildcard that you provided and checked with >verbose option. >Extracting of files doesn't seem to happen for specified folder names. This works for me: Jan -

Re: (Default) classpath for typedef

2009-01-27 Thread rparree
Stefan, Thanks for your reply. I did a compare using a compare tool and the two files are identical. Tx., Raphael Stefan Bodewig wrote: > > On 2009-01-27, Raphael Parree wrote: > >> I am using the same build file on an openSUSE linux environment (ant >> 1.7.0 >> installed as RPM) . > >

how to get jar file information ?

2009-01-27 Thread Md. Jahidul Hasan
Hi, Is there any way I can get the jar file informations using ant ? Br, Jahid - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

[FWD] Registration for ApacheCon Europe 2009 is now open!

2009-01-27 Thread Stefan Bodewig
forwarding a message from the people organizing the Apache Conferences. I'll add that there will be a session on AntUnit on Friday. - ApacheCon EU 2009 registration is now open! 23-27 March -- Mövenpick Hotel, Amsterdam, Netherlands http://www.eu.apachecon.com/ ==

Re: AW: Unzip specific folders in ANT

2009-01-27 Thread Sunils_82
Hi Mark, I tried with the wildcard that you provided and checked with verbose option. Extracting of files doesn't seem to happen for specified folder names. Regards, Sunil -- View this message in context: http://www.nabble.com/Unzip-specific-folders-in-ANT-tp21685421p21699788.html Sent from th

Re: Make copy task fail if any destination file already exists?

2009-01-27 Thread David Weintraub
Sorry I didn't get back to you earlier... One of the parameters of the task is the "overwrite" parameter. This will prevent a file from being copied over even if the file you're copying is a newer version. That won't fail the copy task, but it will prevent you from overwriting existing files. A

Re: Strange problem: "Could not find file" - but it's for sure there

2009-01-27 Thread Scot P. Floess
Sorry hit send too soon... Are you sure the file is there exactly as spelled in your build.xml? On Tue, 27 Jan 2009, Niklas Johansson wrote: Hello, I am bit worried that I am doing something really clumpsy here, but I really cannot figure out what I am doing wrong. Hope anyone out th

Re: Strange problem: "Could not find file" - but it's for sure there

2009-01-27 Thread Scot P. Floess
I just tried your example and it worked for me... I created a file, flytta.txt, and it sure was copied... On Tue, 27 Jan 2009, Niklas Johansson wrote: Hello, I am bit worried that I am doing something really clumpsy here, but I really cannot figure out what I am doing wrong. Hope a

Strange problem: "Could not find file" - but it's for sure there

2009-01-27 Thread Niklas Johansson
Hello, I am bit worried that I am doing something really clumpsy here, but I really cannot figure out what I am doing wrong. Hope anyone out there are smarter than me to help out because I am really really stuck! Thank you in advance! I am using Ant version 1.7.1 compiled on June 27 2008

RE: Make copy task fail if any destination file already exists?

2009-01-27 Thread Chun Ji
I don't know if ant/copy can handle it, but 1. It should be very easy to check the targetDir if there is any existing files in ANT. 2. You can do your copy reversely, from your targetDir to your sourceDir, so that these existing files are untouched. Then move everything from your sourceDir to y

Re: Make copy task fail if any destination file already exists?

2009-01-27 Thread Yves Dessertine
Okay, the problem is, these files can be overwritten (they won't be locked by the OS for example). I need to make sure that: - Ant don't overwrite them - An error is triggered, to alert the user. 2009/1/27 Chun Ji : > > It happens if these existing files can not be overwritten. > > -Charlie >

RE: Make copy task fail if any destination file already exists?

2009-01-27 Thread Chun Ji
It happens if these existing files can not be overwritten. -Charlie -Original Message- From: Yves Dessertine [mailto:yvesd.pub...@gmail.com] Sent: Tuesday, January 27, 2009 9:38 AM To: Ant Users List Subject: Re: Make copy task fail if any destination file already exists? I'll explai

Re: Make copy task fail if any destination file already exists?

2009-01-27 Thread Yves Dessertine
I'll explain a bit more. I have the following example build.xml file : foo bar Project layout looks like this : testproj +--- build.xml +--- sourceTree +--- bar.txt

Re: AW: Unzip specific folders in ANT

2009-01-27 Thread Mark Salter
Sunils_82 wrote: > Yes i tried specifying the wildcard using the folder name as mentioned below > > > > But this didn't extract the contents under the ./resource/images folder. > > Should \ vs / matter? It seems to for me... Can you try :- please? Perhaps include the output from "ant

Re: AW: Unzip specific folders in ANT

2009-01-27 Thread Sunils_82
Yes i tried specifying the wildcard using the folder name as mentioned below But this didn't extract the contents under the ./resource/images folder. -- View this message in context: http://www.nabble.com/Unzip-specific-folders-in-ANT-tp21685421p21686278.html Sent from the Ant - Users mail

Re: AW: Unzip specific folders in ANT

2009-01-27 Thread Andy Stevens
2009/1/27 Sunils_82 : > I'm using the sample specified in the ANT > > > > > ... > But this extracts contents from all the folders present in the zip file. Take a guess at what the "**" wildcard means... > Wanted to know how to specify the folder name from

Re: AW: Unzip specific folders in ANT

2009-01-27 Thread Mark Salter
Sunils_82 wrote: > I'm using the sample specified in the ANT > > > > > > > > > But this extracts contents from all the folders present in the zip file. All files with the extension of .gif and .GIF from all of the folders? > > W

Re: AW: Unzip specific folders in ANT

2009-01-27 Thread Sunils_82
I'm using the sample specified in the ANT But this extracts contents from all the folders present in the zip file. Wanted to know how to specify the folder name from which these gif files are to be extracted. Thanks, S

unable to install - broken since rc1

2009-01-27 Thread Brian Matzon
I am trying to install org.slf4j / slf4j-api No problems in beta 2, but ever since rc1 its been broken: http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.4.3/slf4j-api-1.4.3.pom build.xml:64: impossible to install org.slf4j#slf4j-api#trunk;1.4.3: java.io.IOException: file copy not done from ca

AW: Unzip specific folders in ANT

2009-01-27 Thread Jan.Materne
>I have a zip file with multiple folders in it. >Instead of extracting the whole contents present in ZIP-File, >is it possible >to extract only the specific folders that is required for me? Have a look at the examples of . Jan ---

Unzip specific folders in ANT

2009-01-27 Thread Sunils_82
Hi, I have a zip file with multiple folders in it. Instead of extracting the whole contents present in ZIP-File, is it possible to extract only the specific folders that is required for me? Regards, Sunil -- View this message in context: http://www.nabble.com/Unzip-specific-folders-in-ANT-t

AntUnit

2009-01-27 Thread ext-simon.steiner
Hi, How can I run antunit with custom ant listeners enabled? Thanks - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Re: (Default) classpath for typedef

2009-01-27 Thread Stefan Bodewig
On 2009-01-27, Raphael Parree wrote: > I am using the same build file on an openSUSE linux environment (ant 1.7.0 > installed as RPM) . It is quite likely that the ant shell script you get from the RPM is not the same as the one that ships with Ant. Depending on settings inside the script, ~/.a

(Default) classpath for typedef

2009-01-27 Thread Raphael Parree
Hi, On a windows (ant 1.7.0) environment the following works: (The jar file containing the maven ant tasks is located in the ANT_HOME/libdirectory) I am using the same build file on an openSUSE linux environment (ant 1.7.0 installed as RPM) . I have installed the jar file in the ~/.ant/libdire

AW: AW: How to load build.xml from a JAR ?

2009-01-27 Thread Jan.Materne
>If in projectA the build.xml from projectB is called through the ant target, >the basedir of projectA could be used to create directories, resolve >relative paths etc.. Is this correct ? > >Would something similar with >"jar:file:///some/location/projectB.jar!/build.xml" work ? No, Ants main cla

Re: AW: How to load build.xml from a JAR ?

2009-01-27 Thread stlecho
Concerning Jan.Materne wrote: > because the project needs a base directory with real "file access" If in projectA the build.xml from projectB is called through the ant target, the basedir of projectA could be used to create directories, resolve relative paths etc.. Is this correct ? Would somet

AW: How to load build.xml from a JAR ?

2009-01-27 Thread Jan.Materne
>I would like to package a build.xml file into a JAR so that it can be >referenced by other projects (using the ant antfile target). I >was thinking >about using "classpath:..." in the antfile attribute, but that does not >work. How can this functionality be achieved ? You cant load the buildfile

Re: AW: New feature request : RetrieveReport

2009-01-27 Thread Anders Søe
Well, lets call it a "Feature suggestion", and a request for comments then. Maybe someone else had some relevant input before i post a Jira on it. /Anders jan.mate...@rzf.fin-nrw.de wrote: Best place for a feature request is the Jira I think. Jan -Ursprüngliche Nachricht- Von: A

How to load build.xml from a JAR ?

2009-01-27 Thread stlecho
Hi, I would like to package a build.xml file into a JAR so that it can be referenced by other projects (using the ant antfile target). I was thinking about using "classpath:..." in the antfile attribute, but that does not work. How can this functionality be achieved ? Regards, Stefan Lecho. --