Hi,
I have written this class to redirect PumpStreamHandler.outputStream to a
Reader and splitting the stream into lines. I don't like my solution very
much. Any ideas for a better implementation?
outputStream = new OutputStreamConsumer(consumer, this.getCharsetName());
PumpStreamHandler handler
Yes but I am looking for an online tutorial on how to use them.
On 8/23/06, David TROGDON <[EMAIL PROTECTED]> wrote:
There are a few different loggers:
Default Logger
NoBannerLogger
MailLogger
AnsiColorLogger
XmlLogger
They are implemented similar to:
ant -logger org.apache.tools.ant.Defaul
Antoine Levy-Lambert wrote:
Hello Jack,
not sure, maybe rhino.jar ? no, actually, this does not mean that a jar
is missing, but rather that you do not have the right versions of
bsf.jar, js.jar, rhino.jar (meaning matching versions containing each
the function calls that work together).
our
Hello EJ,
You can look at the which has features to select specific
xpaths and put their value into specific properties.
Another possibility :
if xslt is your friend, you can create a stylesheet which converts
your XML into a temporary property file, which you can load and then
delete.
What's the easiest way (without going to custom ant libs) to load the
following style xml file into properties?
My problem with the XmlProperty task is it nests appserver.home together
(with a comma). Is there a way to keep these as individual properties?
model-base
Hi Antoine,
It worked ! Yes this way i was able to debug my programs launched using Ant . Thanks ! I was trying to get this one working for last few days..
Have a nice day,
Regards,
Vinodh.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
08/23/2006 02:13 PM
Please respond to
user@ant.apache.org
Hello,
Ant 1.7 will have groups of filesets (Resource collections).
Regards,
Antoine
Original-Nachricht
Datum: Tue, 22 Aug 2006 19:46:07 +0200
Von: "Chaudhuri, Hiran" <[EMAIL PROTECTED]>
An: "Ant Users List"
Betreff: RE: Groups of filesets
> Hmmm, that means we might need to
Hello Vinod,
use these arguments :
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044
and create a remote debugging configuration in Eclipse, using the same port
1044 (can be another number as long as it is the same to start java and in
Eclipse)
Also add something like
Thr
Hi, David
> Well maybe I'm misunderstanding you, but the xml logger I mentioned
[...]
yup, i know i can run an antfile with -logger ...
[..]
> This is a bulk data collection, but from looking at your code, I think
> you want to be able to write out particular things at particular times,
> for wh
Well maybe I'm misunderstanding you, but the xml logger I mentioned
actually captures everything that happens in the first build I
mentioned. You simply run ant with the following command:
ant -logger org.apache.tools.ant.XmlLogger -verbose -logfile
build_log.xml
You'll actually get no screen outpu
There are a few different loggers:
Default Logger
NoBannerLogger
MailLogger
AnsiColorLogger
XmlLogger
They are implemented similar to:
ant -logger org.apache.tools.ant.DefaultLogger
ant -logger org.apache.tools.ant.NoBannerLogger
etc
The xml logger needs a xmlLogger.file property that is se
Where can I get an example on using logging? Is there a tutorial available?
--
John F. Davis "JD"
http://www.skink.net
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All,
I created a Java project with a HelloWorld java program . I use ant
to build and run it.It runs fine.But when i want to run using eclipse
debugger It did not stop at break points to let me step through the
program.
Please help me t
Hi, David
/*
I normally use a two-build setup with a batch file. The batch file calls
the first build, which is the main build, and I tell Ant to use its xml
logger.
Once that build has finished, the batch file calls a second
build that converts the xlm log file from the first build into html
u
Antoine Levy-Lambert wrote:
I suppose you want to create a custom task which has nested elements ?
You should read the"Develoing with Ant" section of the manual, it is
all there.
Yup, you where right, it was all there. In the end i just created a
javabean "ConfigParam" with properties "na
I normally use a two-build setup with a batch file. The batch file calls
the first build, which is the main build, and I tell Ant to use its xml
logger. Once that build has finished, the batch file calls a second
build that converts the xlm log file from the first build into html
using the log.xsl
Hi,
in many buildscripts it's required to collect some data
during the whole build over and write it to a file, send it
as mail ... etc. at the end of the build.
it's possible to echo data to a file and write to that file with
echo append as data grows, but that repeating echo is
kind of boring.
17 matches
Mail list logo