Re: Filterchain's LineContains on LoadProperties is blocking the reading of properties

2018-04-18 Thread Anuerin Diaz
https://bz.apache.org/bugzilla/show_bug.cgi?id=62313 has been logged. Thanks! On Thu, Apr 19, 2018 at 12:53 PM, Anuerin Diaz wrote: > I will log the enhancement request as this can get messy if there are no > common properties and the option is multiple loading of the same file. > > On Thu, Apr

Re: Filterchain's LineContains on LoadProperties is blocking the reading of properties

2018-04-18 Thread Anuerin Diaz
I will log the enhancement request as this can get messy if there are no common properties and the option is multiple loading of the same file. On Thu, Apr 19, 2018, 12:40 PM Jaikiran Pai wrote: > > On 19/04/18 10:03 AM, Anuerin Diaz wrote: > > Is there another alternative of switching the > >

Re: Filterchain's LineContains on LoadProperties is blocking the reading of properties

2018-04-18 Thread Jaikiran Pai
On 19/04/18 10:03 AM, Anuerin Diaz wrote: Is there another alternative of switching the behavior to OR? Looking at the code, I don't see a way to switch it to OR. However, I do think it might make a good enhancement to allow users to configure this behaviour as an attribute of the "lineconta

Re: Filterchain's LineContains on LoadProperties is blocking the reading of properties

2018-04-18 Thread Anuerin Diaz
Thanks Jaikiran. That is a very subtle behavior. I will try switching it to LineContainsRegExp. Is there another alternative of switching the behavior to OR? On Thu, Apr 19, 2018 at 12:21 PM, Jaikiran Pai wrote: > Hi Anuerin, > > Ifthere are more than one"contains" elements of the "linecontains

Re: Filterchain's LineContains on LoadProperties is blocking the reading of properties

2018-04-18 Thread Jaikiran Pai
Hi Anuerin, Ifthere are more than one"contains" elements of the "linecontains", then as noted in the documentation[1]"and" will be used toevaluate whether the line contains those strings. So in the exampleyou pasted, the properties file will be looked for lines containing ws.user AND ws.passw

Filterchain's LineContains on LoadProperties is blocking the reading of properties

2018-04-18 Thread Anuerin Diaz
Hi, I am trying to selectively load properties using the LoadProperties and FilterChain+LineContains tasks. However based on my test if the Filterchain starts to contain any "" element then it will start discarding all contents of the property file being read. This was tested using ant 1.10.1

ant version is not showing correctly

2018-04-18 Thread govind nitk
Hi, Downloaded ant from http://www-eu.apache.org/dist//ant/binaries/apache-ant-1.10.3-bin.tar.xz doing ./bin/ant -version Getting output as: OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 Apache Ant(TM) version 1.10.2 compiled on February 3 2018

Re: ant version is not showing correctly

2018-04-18 Thread govind nitk
My mistake, in bashrc, ANT_HOME was hardcoded to some other ant. No more issues. On Wed, Apr 18, 2018 at 1:08 PM, govind nitk wrote: > Hi, > > Downloaded ant from http://www-eu.apache.org/dist/ > /ant/binaries/apache-ant-1.10.3-bin.tar.xz > > doing ./bin/ant -version > > Getting output as: > >