RE: junit tests running slower in 1.8 than in 1.7

2010-07-21 Thread Martin Gainty
what processor have you implemented in your testbed platform? how much ram on your testbed platform? //With fork: \ANT\apache-ant-1.8.0\apps\test-project>ant test Buildfile: build.xml test: [junit] Testsuite: SomeJUnitTest [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed:

junit tests running slower in 1.8 than in 1.7

2010-07-21 Thread Laura Dean
My team has a unit test suite that ran in about a minute and a half with ant 1.6.5 (and 1.7.1), but now takes over 4 minutes with ant 1.8.1 (or 1.8.0).  Has anyone else had this problem?  The closest I've found via google is here, but it doesn't shed much light on the subject: http://netbeans.org/

Re: outofdate task returns TRUE if no target files exist??

2010-07-21 Thread Peter Reilly
You do not need to leave any files in the myapp.ear directory. You just need to define a file should be present when the ear is built. Peter On Wed, Jul 21, 2010 at 1:52 PM, Marina wrote: > David, Peter, > > thanks for your responses. > > Peter - thanks for the suggestion - I'll try it out.Alt

Re: OSGI and IVY

2010-07-21 Thread Martin Weber
Am 21.07.2010 15:07, schrieb Nicolas Lalevée: On Wednesday 21 July 2010 12:04:28 Martin Weber wrote: Am 20.07.2010 19:53, schrieb Shawn Castrianni: Has anybody researched the relationship between OSGI and IVY? I have [...] The main limitations of Ivy/Ant to build OSGI-bundles are caused by t

Re: outofdate task returns TRUE if no target files exist??

2010-07-21 Thread glenn opdycke-hansen
If you want a specific behavior from a script, what if you specifically code that behavior? Then you do not have to depend on antcontrib. I would test to see if a the directory is empty then set the property or call the target that you are expecting in the script. --glenn On Tue, Jul 20, 2010 a

Re: Ant task to convert files from one encoding to another encoding

2010-07-21 Thread Matt Benson
On Jul 21, 2010, at 1:47 AM, jingguo yao wrote: > It seems that a task to convert one encoding to another encoding does not > exist in Ant distribution. The solution I have found is NekoConv ( > http://people.apache.org/~andyc/neko/i18n/doc/index.html). Is there any > other solution to do the enc

Re: outofdate task returns TRUE if no target files exist??

2010-07-21 Thread Marina
David, Peter, thanks for your responses. Peter - thanks for the suggestion - I'll try it out.Although in my situation, I really do not have any files in the myapp.ear directory, as I remove all content before re-building the EAR. I guess I could intentionally leave something behind... David,

Re: outofdate task returns TRUE if no target files exist??

2010-07-21 Thread Peter Reilly
The problem is that you are specifying no targetfiles. In this case, I normally pick a scapegoat file that I know should always be present. - ${destination}/myapp.ear/WEB-INF/web.xml or some such file. I suppose that one could change