>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
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.
--
>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
>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
-
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) .
>
>
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
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/
==
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
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
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
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
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
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
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
>
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
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
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
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
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
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
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
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
>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
---
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
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
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
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
>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
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
>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
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
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.
--
32 matches
Mail list logo