bsd.java.mk: USE_ANT
Ernst de Haan
ernst.dehaan at nl.wanadoo.com
Fri May 2 02:54:13 PDT 2003
Sounds like a good proposal, Herve!
Anyone else have any comments?
Ernst
On Thursday 01 May 2003 19:09, Herve Quiroz wrote:
> Hi,
>
>
> We discussed this point long time ago but I can't remember we did agree
> on some way of implementing Ant support in bsd.java.mk.
>
> Most ports that build using ant do the following:
>
> - Set the Ant build dependency
>
> - Set the Ant executable (ANT)
>
> - Set the Ant targets (ANT_TARGET)
>
> - Possibly set the Ant options (ANT_ARGS)
>
> And then in the do-build:
>
> ${ANT} [${ANT_ARGS}] ${ANT_TARGET}
>
> What if we just put this "limited" ant support in bsd.java.mk ?
>
> So you just have to do the following:
>
> USE_ANT=yes
> ANT_ARGS+= -Dnoget=yes
> ANT_TARGET= jar
> .if defined(NOPORTDOCS)
> ANT_TARGET+= docs
> .else
> ANT_TARGET+= docs
> .endif
>
> What do you think of it ?
>
> Regards,
>
>
> Herve
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
More information about the freebsd-java
mailing list