relative path

2009-06-10 Thread divyanshu singh
i have one ant build file which kind of acts as a library file other build files use its ant task how can i adjust the base directory of library build file to automatically set path to the file which calls its ant task like if i set property of path to ./hello then for library file also the path

Re: Apache-Ant and Fedora 10

2009-06-10 Thread Quanah Gibson-Mount
--On Friday, May 29, 2009 10:14 AM -0700 Quanah Gibson-Mount wrote: Any other thoughts on what might be triggering this? Thanks! Tracked this down to an issue with sshd configuration, since our builds are remotely started over ssh. It was no longer allowing LANG to be set remotely, which

Fail if any of many files contains a string

2009-06-10 Thread jbmdharris
Is there a way to check if a string is present in any of a set of files and fail the build? I've got something now, but it requires copying the files... which I don't like doing. Copying puts a bunch of "copying 1 file to blah blah blah in my build output". Here's my current code:

Re: AW: ant 1.7.1 bug in with antcall !?

2009-06-10 Thread Gilbert Rebhan
Hi Markus, Grimm, Markus schrieb: > Hi Gilbert, > > at that time I found a workaround for my problem at > http://marc.info/?l=ant-user&m=123900769210029&w=2 > > If we look at the same sample script, so you have to open the log-file in the > first target, that is > executed and close it in the

Re: Setting a global property in a target. Possible?

2009-06-10 Thread Gad
HI May be this one can help: you can use it inside your main target, I did it like example below: ... ... ... ... ...

Re: Setting a global property in a target. Possible?

2009-06-10 Thread Gad
HI May be this one can help: you can use it inside your main target, I did it like example below: ... ... ... ... ...

How to include a file excluded by an "exclude"

2009-06-10 Thread juan.velez
I am trying to create a war file whose WEBINF folder must not have any *.properties file except for one defined by property ${config.properties}. I searched the forum and someone had asked a similar question and the answer was to user selectors. I tried such but with no luck. Any ideas?

mail task does not work under ant 1.7.+

2009-06-10 Thread Laurent Perez
Hi When using encoding=mime, the mail task fails under ant 1.7.0, 1.7.1, under jdk5 or jdk6. It works under ant 1.6.5. The message is : java.lang.NoSuchFieldError: headers at org.apache.tools.ant.taskdefs.email.MimeMailer.send(MimeMailer.java:206) I am using the latest mail and activation jars fr