ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Abley" <james.ab...@gmail.com>
Subject Re: [Ant Java Source] How to get some build.xml params?
Date Sat, 09 Feb 2008 20:26:12 GMT
On 08/02/2008, rigel <zetatau@gmail.com> wrote:
>
> Hello Everyone,
>
> I am currently working on some JUnit task sources, precisely on
> "XMLJUnitResultFormatter" and "JUnitVersionHelper" of the library named
> "ant-junit.jar".
>
> I have patched XMLJUnitResultFormatter to support additional test case
> information passed by a custom annotation made up of three params, BUT
> currently all annotation's params and annotation class name are brutally
> wired into the code (for successive introspection). So I created an
> annotation and a custom  "XMLJUnitResultFormatter" that works only with the
> following params and annotation classname:
>
> @TestDescriptor(title="title",desc="desc",input={"0","1","2"})
>
>
> Substantially now I would like to pass "TestDescriptor" and
> "title,desc,input" directly by the Ant build file to allow the use of any
> available custom annotation, unfortunately I know only a way to do it,
> opening the build.xml DOM and getting by myself the values because I am not
> able to figure out if it exists a static helper class that can do this
> easily. Anyone can help me or point me on the right direction?
>
> Thanks, bye
>
>
> --
> Francesco V.
> --
> View this message in context: http://www.nabble.com/-Ant-Java-Source--How-to-get-some-build.xml-params--tp15364171p15364171.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>


Might be worth posting the the developer list instead, with a clear
context as to what you're trying to accomplish. I think I saw your
post on the junit list about this, but wasn't entirely clear why you
felt you needed to make changes to the ANT task. You've described a
solution, but no problem and the context.

Cheers,

James

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message