Re: How to get the stack of targets, from inside a task?

2011-02-24 Thread Scot P. Floess
No worries at all - I get it now... I'd have to agree with you...XSLT probably won't help :p I am sorry, probably I didn't express myself correctly. I mean I don't want to get the full list of dependencies. I want to get the *actual* path of dependencies. For example, if a target might be cal

Re: How to get the stack of targets, from inside a task?

2011-02-24 Thread Panayotis Katsaloulis
On 24 Φεβ 2011, at 4:52 μ.μ., Scot P. Floess wrote: > >> Well, since (due to dependencies) the same target can be called from >> different other targets, >> I am more interested on the actual stack of targets, which I believe could >> not be found with XSLT... > > No, you can definitely do th

Re: How to get the stack of targets, from inside a task?

2011-02-24 Thread Scot P. Floess
Well, since (due to dependencies) the same target can be called from different other targets, I am more interested on the actual stack of targets, which I believe could not be found with XSLT... No, you can definitely do that with XSLTt... You can easily build up a list of dependencies...

Re: xmlvalidate without doctype against dtd

2011-02-24 Thread Stefan Bodewig
On 2011-02-24, Lukacs, Gabriel wrote: > is it possible to validate (via ANT xmlValidate) an xml file > (without ) against DTD schema stored locally on > filesystem? No the xmlvalidate task can't do this since the parser won't use the DTD if there is no DOCTYPE specified. XMLUnit can do that[

Re: How to get the stack of targets, from inside a task?

2011-02-24 Thread Panayotis Katsaloulis
On 24 Φεβ 2011, at 3:47 μ.μ., Scot P. Floess wrote: > > I've done something like this - but with XSLT... > > I'm guessing you aren't interested in this to simply display the information? > Well, since (due to dependencies) the same target can be called from different other targets, I am mor

RE: xmlvalidate without doctype against dtd

2011-02-24 Thread Martin Gainty
at present no you would need to identify a mechanism to load a 3rd party schema such as what axis uses in codegen.thirdparty.schema property seen here codegen.thirdparty.schema=xmime.xsd,soap-enc.xsd which is processed by a loadAdditionalSchema method here /** * Loading the external sc

Re: How to get the stack of targets, from inside a task?

2011-02-24 Thread Scot P. Floess
I've done something like this - but with XSLT... I'm guessing you aren't interested in this to simply display the information? On Thu, 24 Feb 2011, Panayotis Katsaloulis wrote: Hello people! I am trying to develop a custom ant task, which ideally would like to get hold of the stack of all

xmlvalidate without doctype against dtd

2011-02-24 Thread Lukacs, Gabriel
Hello, is it possible to validate (via ANT xmlValidate) an xml file (without ) against DTD schema stored locally on filesystem? Pls write such an xmlValidate task. Thanks in advance. Regards, Gabo.

How to get the stack of targets, from inside a task?

2011-02-24 Thread Panayotis Katsaloulis
Hello people! I am trying to develop a custom ant task, which ideally would like to get hold of the stack of all parent targets. For example in this configuration: if the command "ant one" was executed from the command line, I'd like to get a list like this (in the task cust