we just use the ant java task:
<ant:java classname="org.apache.xalan.xslt.Process" fork="true">
<ant:arg line="-in src/generate/ValidationType.xml"/>
<ant:arg line="-xsl src/generate/dto.xsl"/>
<ant:arg line="-out
src/java\com\pcmsgroup\v21\star\persistence\validationtype/ValidationTyp
eDTO.java"/>
<ant:classpath>
<ant:path refid="maven.dependency.classpath"/>
<ant:pathelement location="${tools.jar}"/>
<ant:pathelement location="${maven.build.dest}"/>
</ant:classpath>
</a:java>
The information contained in this e-mail is intended only for the person
or
entity to which it is addressed and may contain confidential and/or
privileged material. If You are not the intended recipient of this
e-mail,
the use of this information or any disclosure, copying or distribution
is
Prohibited and may be unlawful. If you received this in error, please
contact the sender and delete the material from any computer. The views
expressed in this e-mail may not necessarily be the views of The PCMS
Group
plc and should not be taken as authority to carry out any instruction
contained.
> -----Original Message-----
> From: Jonas Fagundes [mailto:[EMAIL PROTECTED]
> Sent: 19 August 2003 06:18
> To: Maven Users List
> Subject: Re: Runner Question
>
>
> Jeff,
>
> On Mon, 18 Aug 2003 23:54:11 -0500, Jefferson K. French
> <[EMAIL PROTECTED]>
> wrote:
>
> > If you mean how can you run a single JUnit test case, do this:
>
> Sorry, I was not clear about this point. I mean run a main
> method (public static void main(String[])).
>
> But the tips about the test plugin are useful. Thanks a lot.
>
> > maven -Dtestcase=<classname> test:single
> >
> > I think <classname> needs to be fully qualified. To run multiple
> > test cases, do this:
> >
> > maven -Dtestmatch=<pattern> test:match
> >
> > where <pattern> is something like "Test*Parser" or some
> other pattern
> > that matches your test names.
> >
> > I don't think there is a way to run a single test method within a
> > single test case.
>
> Good question. I'll search for the answer.
>
> Thanks again,
>
> []'s Jonas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]