Re: Patterns **/mem/**/** and **/mem/** are they not same

2009-10-06 Thread Raja Nagendra Kumar
Hi Stefan, O.k, may be there is a issue with restrict when the include pattern **/*.* it selects files which are at least one directory below. We shall try to provide you a test case. Regards, Nagendra Stefan Bodewig wrote: > > On 2009-10-06, Raja Nagendra Kumar wrote: > >> is **/*.* not m

Re: Patterns **/mem/**/** and **/mem/** are they not same

2009-10-06 Thread Stefan Bodewig
On 2009-10-06, Raja Nagendra Kumar wrote: > is **/*.* not mean zero or more directories ** means zero or more directories **/ is the same as **/** which means one or more directories **/*.* means one or more directories and then a filename that contains a dot Stefan --

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

2009-10-06 Thread Bryan Pendleton
Stefan Bodewig wrote: Is there any way you can make the pattern more specific or can the test output files really be everywhere in you source tree? Thanks for the reply, Stefan! A more specific inclusion pattern indeed helps, and we'll use that solution. bryan -

Re: Out of memory

2009-10-06 Thread David Leangen
-Xms128m -Xmx768m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -Xms should be set to 1/64 of your memory size, -Xmx should be set to 1/4 as a max How did you arrive at these "rules"? - To unsubscribe, e-mail: user-un

Patterns **/mem/**/** and **/mem/** are they not same

2009-10-06 Thread Raja Nagendra Kumar
Hi, I am trying to use Restrict with fileset and trying to have excludes and includes on name. However, when I give the pattern **/mem/**/**, it does not select if any files which may exist in dir mem (i.e file such as mem/nag.gif). But it selects files which are one level below mem directory sa

Re: Savant 1.5.3

2009-10-06 Thread Brian Pontarelli
Prego! -bp On Oct 5, 2009, at 9:39 AM, Martin Gainty wrote: 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:

AW: AW: AW: Out of memory

2009-10-06 Thread Knuplesch, Juergen
Hello, I got now the Java profiler on. Maybe I will find out, whats going on. But now javadoc ran outofmemory, probably because of my change from 32Bit to 64Bit java. I will try Xalan. If I find sth. out or become despaired, i will post again Juergen -- Jürgen Knuplesch --

Re: org.apache.tools.ant.types.resources.Files

2009-10-06 Thread Stefan Bodewig
On 2009-10-06, Raja Nagendra Kumar wrote: > Howe to use Files api.. any real examples would be of good help. > How is files different from FileSet and what are the sub elements which > files task could take. http://ant.apache.org/manual/CoreTypes/resources.html#files > One thing I am unable to

org.apache.tools.ant.types.resources.Files

2009-10-06 Thread Raja Nagendra Kumar
Howe to use Files api.. any real examples would be of good help. How is files different from FileSet and what are the sub elements which files task could take. On thing I am unable to understand is what is the root directory files would see to apply the includes and excludes patterns. Regards,

Re: AW: AW: Out of memory

2009-10-06 Thread Steve Loughran
Knuplesch, Juergen wrote: Hello Steve, I had my problems with junitreport before This time the PermGenSpace error happens with saxon. For this XSLT I had to use saxon. In my build I use Saxon and for junitreport the standard VM xsl processor, How do I tell junitreport to use Saxon or Xalan

Re: Restrict to support includes and excludes like fileset

2009-10-06 Thread Stefan Bodewig
On 2009-10-06, Raja Nagendra Kumar wrote: > Looking for a similar way to filter the files based on the include and > exclude patterns as we use for fileset. It really only comes down to using and, or, not and filename and shouldn't be too hard to do once you realize that the selector containers

Re: Not - design clarification

2009-10-06 Thread Stefan Bodewig
On 2009-10-06, Raja Nagendra Kumar wrote: > Does org.apache.tools.ant.types.resources.selectors.Not support only one > selector.. it does not seem to support zero or more than one as per the code > too. This is correct. > Where as Or support more than one pattern. Not is a logical negation. I

Re: Out of memory

2009-10-06 Thread Stefan Bodewig
On 2009-10-06, Knuplesch, Juergen wrote: > It happened this time (I earlier had to increase the memory) in the > non standard pack200 Task: > D:\DopeBuildBase\Build\DopeBuildServer\dopebuildwar.xml:356: > java.lang.OutOfMemoryError > This task made also a few problems, when I used it first. I

AW: AW: Out of memory

2009-10-06 Thread Knuplesch, Juergen
Hello Steve, I had my problems with junitreport before This time the PermGenSpace error happens with saxon. For this XSLT I had to use saxon. In my build I use Saxon and for junitreport the standard VM xsl processor, How do I tell junitreport to use Saxon or Xalan? I did not find an option (

RE: Out of memory

2009-10-06 Thread Redmond, Nicole
Sometimes you need a combination... -Xms128m -Xmx768m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -Xms should be set to 1/64 of your memory size, -Xmx should be set to 1/4 as a max Nicole Redmond -Original Message- From: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de] S

AW: Out of memory

2009-10-06 Thread Knuplesch, Juergen
Hello, I have two memory problems: 1.In the XSLT task I get: java.lang.OutOfMemoryError: PermGen space I increased MaxPermSize In a few hours I will know if this helped, but it is not a real solution. 2.The second problem disappeared, after increasing the memory to 2000m. It happened this tim

Re: AW: Out of memory

2009-10-06 Thread Steve Loughran
Knuplesch, Juergen wrote: Hello, Thanks for your answer! Good to know, that there are known problems. I already fork the junit tests. I even have parted the tests into three parts, because of earlier challenges. Memory eater is also junitreport (especially for 2200 tests) etc., all the XSLT st

Not - design clarification

2009-10-06 Thread Raja Nagendra Kumar
Does org.apache.tools.ant.types.resources.selectors.Not support only one selector.. it does not seem to support zero or more than one as per the code too. Where as Or support more than one pattern. Any reason for such restriction. We want to get the same effect of includes and excludes of files

Restrict to support includes and excludes like fileset

2009-10-06 Thread Raja Nagendra Kumar
Hi, As per the context of this thread.. http://www.nabble.com/forum/ViewPost.jtp?post=25438759&framed=y Looking for a similar way to filter the files based on the include and exclude patterns as we use for fileset. Looks like we neither don't understand the new api (and, nor, or) correctly or i

Re: Out of memory

2009-10-06 Thread Stefan Bodewig
On 2009-10-06, Knuplesch, Juergen wrote: > Hello, > Thanks for your answer! > Good to know, that there are known problems. Unfortunately they may not be. > I already fork the junit tests. Then the change I pointed at won't affect you since the classloader leak only applies to non-forked tests

AW: Out of memory

2009-10-06 Thread Knuplesch, Juergen
Hello, Thanks for your answer! Good to know, that there are known problems. I already fork the junit tests. I even have parted the tests into three parts, because of earlier challenges. Memory eater is also junitreport (especially for 2200 tests) etc., all the XSLT stuff needs a lot of memory a

Re: Out of memory

2009-10-06 Thread Stefan Bodewig
On 2009-10-06, Knuplesch, Juergen wrote: > My build runs now with -Xmx1500m and still out of memory. > It seems that the memory of big tasks I use is not garbage collected > after I used them. (e.g. XSLT with saxon on the classpath, junit with > 2200 tests...) Ant 1.7.1 has a few classloader l

Out of memory

2009-10-06 Thread Knuplesch, Juergen
Hello, My build runs now with -Xmx1500m and still out of memory. It seems that the memory of big tasks I use is not garbage collected after I used them. (e.g. XSLT with saxon on the classpath, junit with 2200 tests...) The machine I use has not much more memory, so starting with -Xmx2000m faile