Logging in ANT from an exec task running javaws.exe

2010-05-25 Thread christopher smith
I'm planning on running a java program using Web Start in an exec task. I would like the logging in my programs to log to the ANT logger that started the exec task. I'm not clear on how this is done. My program will be using commons-logging and I'm open to anything from there. Any suggestions?

Re: xslt task problem (xpath expression)

2010-05-25 Thread Scot P. Floess
I believe the builtin XPath/XSLT is 1.0 only - not 2.0. You will have to enable Saxon to use it... On Tue, 25 May 2010, Jakob Fix wrote: Hi, any idea why the following xpath expressions are not understood by ant's builtin xsl task? Doesn't seem out-of-spec to me, and saxon groks it, the st

java.lang.ClassFormatError: Invalid Constant Pool entry Type 186

2010-05-25 Thread Raja Nagendra Kumar
Hi, I am trying to know Diskspace used by Constants in a class, by using the following ant api ConstantPool cp = new ConstantPool(); cp.read(new DataInputStream(new FileInputStream(aFile))); cp.size() However, when a class is read it gives the following error [CM] java.lang.

xslt task problem (xpath expression)

2010-05-25 Thread Jakob Fix
Hi, any idea why the following xpath expressions are not understood by ant's builtin xsl task? Doesn't seem out-of-spec to me, and saxon groks it, the stylesheet is version 2.0. elt1[elt2[matches(text(), '^[\d]+$')]] elt1[elt2[matches(., '^[\d]+$')]] elt1[elt2[matches(., '^\d+$')]] elt1[matches(.