AW: AW: AW: properties echo with absolute values

2009-10-05 Thread Jan.Materne
The (slow) trend is to modularize Ant. There will be some handlers in the core, but there also will be some additional libraries (with tasks, with handler, ...). http://ant.apache.org/antlibs/sandbox.html#Props%20-%20additional%20Property%20Resolver (currently during the vote for leaving the sand

Re: Why does the implementation keep track of filesNotIncluded, dirsNotIncluded?

2009-10-05 Thread Stefan Bodewig
On 2009-10-05, Bryan Pendleton wrote: > I don't understand why DirectoryScanner feels the need to track > the files and directories that were *not* included in my fileset. The DirectoryScanner API provides methods to access those files and directories after a scan. Right now I don't think any t

Why does the implementation keep track of filesNotIncluded, dirsNotIncluded?

2009-10-05 Thread Bryan Pendleton
I ran what I thought was a fairly simple Ant target, to remove unwanted JUnit output from my build tree: I found that running this target uses memory proportional to the size of my entire tree, rather than using memory proportional to the number of JUnit

Re: Fileset with "empty" patternset selects all files instead

2009-10-05 Thread efe4itcc
Tried this solution already. The bogus file exclusion pattern works fine. Regards David Weintraub wrote: > > > > > > [...] > -- > David Weintraub > qazw...@gmail.com > > -- View this message in context: http://www.nabble.com/Fileset-with-%22empty%22-patternset-selects-all-files-i

RE: Publishing 3rd party libraries to local repo

2009-10-05 Thread Troy Self
Thank you for the quick response. Follow-ups in-line: > The most common thing I've seen people do to create third-party Ivy modules > from scratch is to effectively blur the line between a source Ivy module > and > a published Ivy module. So instead of running the ivy:publish Ant task to > publish

Re: How to specify xml configuration file from Ant Task

2009-10-05 Thread supareno
not4google, for me the file is not in the classpath... 2 possibilities: 1) adding it the classpath (after copying it to the lib folder) 2) adding the xml file to the jar (copying it the build/classes folder) after that, it may work ! hope this help supareno Hi here are some more details:

RE: Savant 1.5.3

2009-10-05 Thread Martin Gainty
molte grazie brian! Martin Gainty __ Prego non alteri/modifichi o interrompa questa trasmissione. Grazie > From: br...@pontarelli.com > Subject: Savant 1.5.3 > Date: Mon, 5 Oct 2009 09:34:09 -0600 > To: user@ant.apache.org > > Savant 1.5.3 was re

Savant 1.5.3

2009-10-05 Thread Brian Pontarelli
Savant 1.5.3 was released today. This was a patch release that fixes the colorized output on Linux and Unix systems. Some users where having problems with Savant changing the colors of their display terminal and not reseting them. I pulled the colorizing code out of Savant completely. You

Re: Publishing 3rd party libraries to local repo

2009-10-05 Thread Mitch Gitman
Answers inline. On Mon, Oct 5, 2009 at 5:04 AM, Troy Self wrote: > Hello, > > I am new to Ivy and am trying to setup a repository for my software team. I > have > gone through all of the tutorials on the web site and have some questions. > > Is there a tried and true approach for quickly creatin

Re: Problem with ivy

2009-10-05 Thread Gareth Western
Hi Troy, Have you tried the "exclude" tag: http://ant.apache.org/ivy/history/latest-milestone/ivyfile/exclude.html ? Regards, Gareth On Mon, Oct 5, 2009 at 4:10 PM, Troy Bull wrote: > I have a project where I use ivy to manage dependencies.  The issue I > am having is that it includes 2 jar fi

Problem with ivy

2009-10-05 Thread Troy Bull
I have a project where I use ivy to manage dependencies. The issue I am having is that it includes 2 jar files in my war even though I don't want them there. Is there any way I can tell ivy, under no circumstances to put these two jars into my runtime conf? Thanks troy

Re: Fileset with "empty" patternset selects all files instead

2009-10-05 Thread Stefan Bodewig
On 2009-10-05, David Weintraub wrote: > On the other hand, I believe includes override excludes in a fileset. No, excludes override includes. In order to be contained in a fileset a file has to match an include pattern, must not match an exclude pattern and must be slected by all nested selecto

Re: AW: AW: properties echo with absolute values

2009-10-05 Thread Raja Nagendra Kumar
Thank you Jan, nice to know 1.8 has many things which we are looking to.. Also, would it be possible to have more default protocol handers such as "toFile" ,"toLocation" , "toURL" etc as built in ones. or more generically name of the the method as protocol Regards, Nagendra Jan.Materne wrote:

Re: How to specify xml configuration file from Ant Task

2009-10-05 Thread not4google
Hi here are some more details: As you can see I do copy the XML file to the JAR and ha

Re: Fileset with "empty" patternset selects all files instead

2009-10-05 Thread David Weintraub
A patternset is a series of includes and excludes that can be used over and over again in various filesets. When you specify an empty patternset, you're not specifying any exclude or includes. Thus, your fileset acts in the default manner of: This will be an empty fileset, but if yo

Re: messing up accentuated characters

2009-10-05 Thread agostonbejo
Stefan Bodewig wrote: > > On 2009-10-05, agostonbejo wrote: > > This is because it thinks they are in a different encoding than they > actually are. In order to fix this, you have to tell Ant about your > encoding explicitly - has an encoding attribute for this. > > As a corrolary you can

AW: AW: properties echo with absolute values

2009-10-05 Thread Jan.Materne
For upcoming Ant 1.8.0 there is a hook you can plugin for resolving properties. ${protocol:name} and a 'protocol'handler will convert 'name' to a String. http://svn.apache.org/repos/asf/ant/core/trunk/docs/manual/using.html#propertyHelper Jan >-Ursprüngliche Nachricht- >Von: Raja Nagend

Re: Ant task to unzip files to a dynamic folder

2009-10-05 Thread Varman
Hi, Great thanks..that works. But its not working in windows. For windows we have to give something like See the change in regexp. How can i make it generic for both linux and windows? -Arul Andy Stevens-2 wrote: > > 2009/9/24 Varman : >> Hi all, >> >> I too have same requirements in

Re: messing up accentuated characters

2009-10-05 Thread Stefan Bodewig
On 2009-10-05, agostonbejo wrote: > I've come across this while trying to run some sql insert scripts with ant. > These scripts are first fed to a with a single > . The problem is that special characters such as ö, ä, > é, etc. are converted to question marks both in the case of ISO-8859-1 and

messing up accentuated characters

2009-10-05 Thread agostonbejo
Hi! I've come across this while trying to run some sql insert scripts with ant. These scripts are first fed to a with a single . The problem is that special characters such as ö, ä, é, etc. are converted to question marks both in the case of ISO-8859-1 and UTF-8 files. I've soon found out that

Re: isset within macrodef...

2009-10-05 Thread EetieD
That is it! Thanks. Francis Galiegue-4 wrote: > > On Mon, Oct 5, 2009 at 09:28, EetieD wrote: >> >> Hi, >> >> I am trying to use "> has been set. When I use the code below, it never comes into the part >> after >> > instead of "> >> Thanks for helping. >> >> >> >>         >>         >>      

Re: isset within macrodef...

2009-10-05 Thread Francis GALIEGUE
On Mon, Oct 5, 2009 at 09:28, EetieD wrote: > > Hi, > > I am trying to use " has been set. When I use the code below, it never comes into the part after > instead of " > Thanks for helping. > > > >         >         >         >                 >                         [...] > Attributes within

isset within macrodef...

2009-10-05 Thread EetieD
Hi, I am trying to use " -- View this message in context: http://www.nabble.com/isset-within-macrodef...-tp25746232p25746232.html Sent from the Ant - Users mailing list archive at Nabble.com.