Re: Progessbar on the console?

2009-06-18 Thread Dominique Devienne
On Thu, Jun 18, 2009 at 8:22 PM, Michael Ludwig wrote: > Dominique Devienne schrieb am 18.06.2009 um 19:42:12 (-0500): >> As you may have read, Ant redirects java.System.out to intercept all >> println calls to send them to a Logger and zero or more listeners. But >> it also does line buffering on

Re: Progessbar on the console?

2009-06-18 Thread Michael Ludwig
Dominique Devienne schrieb am 18.06.2009 um 19:42:12 (-0500): > As you may have read, Ant redirects java.System.out to intercept all > println calls to send them to a Logger and zero or more listeners. But > it also does line buffering on this stream, which prevents Junit-like > dot-dot-dot output

Re: Progessbar on the console?

2009-06-18 Thread Dominique Devienne
On Thu, Jun 18, 2009 at 6:35 PM, Michael Ludwig wrote: > From googling, I know that Ant cannot display a progress bar on the console. > [snip] > C:\ :: \dev\Perl\progressbar.pl > 76% [                ] > [snip] > Would that be very complicated to do i

Progessbar on the console?

2009-06-18 Thread Michael Ludwig
>From googling, I know that Ant cannot display a progress bar on the console. I know about the task, but that's not the same. What I have in mind is something like Term::ProgressBar in Perl, which is nice, here's a (slightly edited) screenshot: C:\ :: \dev\Perl\progressbar.pl 76% [===

Re: about BOMs

2009-06-18 Thread Michael Ludwig
China Creatxr schrieb am 16.06.2009 um 14:27:37 (+): > Does anyone find the way to run the utf-8 formated SQL scripts which > with BOMs by Ant now? Thanks. The task has an @encoding attribute. Set sql/@encoding = 'UTF-8' and see if that helps, which it should do. Michael Ludwig ---

Re: Doing Ant builds

2009-06-18 Thread Michael Ludwig
Steve Loughran schrieb am 18.06.2009 um 16:54:11 (+0100): > Michael Ludwig wrote: > >Ant, however, goes one step further: It will remove a write-protected > >file, which will not work using Windows tools without force, and it > >will even recursively remove a write-protected directory. That's not

Re: Doing Ant builds

2009-06-18 Thread Steve Loughran
Michael Ludwig wrote: Steve Loughran schrieb am 16.06.2009 um 16:47:55 (+0100): Michael Ludwig wrote: Okay, so you were talking about Java limitations in general, not Java limitations within the context of an Ant extension? exactly. Thanks for clarifying. What you're saying about permiss

Re: Showv stopper issue with clearAntLib

2009-06-18 Thread Steve Loughran
Laurent Morissette wrote: Hi everyone I have an issue regarding clearantlib I try to get a stream baselin with a custom task defined as follow Where I struggle is that system ou are not shown in console (So no logging possible) Ant does tricks to capture the log, you shouldnt print to it. N

Showv stopper issue with clearAntLib

2009-06-18 Thread Laurent Morissette
Hi everyone I have an issue regarding clearantlib I try to get a stream baselin with a custom task defined as follow [...] /*** * Validate parameter * ***

Re: BUILD FAILED messages in output when using tasks

2009-06-18 Thread David Weintraub
The BUILD FAILED messages are not printed during the call to task "test2", but after "test2" exits due to an error. They are part of the output from Ant and not the task itself. If you want the BUILD FAILED output, you need to first capture the output of Ant and not of a single task. You also need

Re: Specifying directory of 'jarsigner' command for 'signjar' task

2009-06-18 Thread Stefan Bodewig
On 2009-06-18, th_wm wrote: > I learned, that the working directory of jarsigner.exe had to be configured > in the PATH environment variable (of Windows XP Prof.); afterwards the task > run successfully. The task should find jarsigner.exe if it is "in the well known place" provided by the JDK.

strange problem with junit and and

2009-06-18 Thread Sascha Ernst
Hello, First some words about my environment: Win XP, java 1.6, ant 1.7.1 I have a problem with the combination of ant and junit. >From my point of view they are not related to the well known and documented >classloader issues (even if the error message leads to that direction) Here ist my

Specifying directory of 'jarsigner' command for 'signjar' task

2009-06-18 Thread th_wm
Hello, today I had the problem, that the 'signjar' task threw an error message like Execute failed: java.io.IOException: CreateProcess: jarsigner.exe -verbose -keystore mykeystore myjar myalias error=2 I learned, that the working directory of jarsigner.exe had to be configured in the PATH envi