Thanks again Jason and happy maven :)

Nelson Arap�

On Monday 30 June 2003 16:00, Jason van Zyl wrote:
> On Mon, 2003-06-30 at 15:56, Nelson Arap� wrote:
> > Thanks Jason
> >
> > Everything works ok, the only problem that I have is how do I use the
> > property set by the uptodate task?. In ant I used to write the unless
> > attribute in the task, but I did not find the equivalent maven
> > instruction
>
> You can use Jelly's core <j:if/> tag.
>
> <project
>   xmlns:ant="jelly:ant"
>   xmlns:j="jelly:core">
>
>   <ant:uptodate property="idluptodate" ... />
>
>   <j:if test="${!idluptodate}">
>
>     <!-- Do your idl generation -->
>
>   </j:if>
>
> <project>
>
> > Thanks
> > Nelson Arap�
> >
> > On Saturday 28 June 2003 20:40, Jason van Zyl wrote:
> >
> > *snip*
> >
> > > Take a look at the Antlr plugin but generally you keep your grammar, or
> > > IDL files in your case, in a separate directory and then your generated
> > > sources can be output to a directory like ${basedir/target/idlgenerated
> > > and then you can use the <addPath/> to hook in the sources. So you
> > > might have something like this:
> > >
> > > <preGoal name="java:compile">
> > >
> > >   <!--
> > >
> > >     Run JacORB performing any uptodate checks you want.
> > >     Your IDL is stored in ${basedir}/src/idl and this process
> > >     will output to ${basedir}/target/idlgenerated.
> > >
> > >   -->
> >
> > ---------------------------------------------------------------------
> > 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]

Reply via email to