Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 2003 09:25:12 +0200
From:      Ernst de Haan <ernst.dehaan@nl.wanadoo.com>
To:        Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>, freebsd-java@FreeBSD.ORG
Subject:   Re: bsd.java.mk: USE_ANT
Message-ID:  <200305020925.12974.ernst.dehaan@nl.wanadoo.com>
In-Reply-To: <20030501190202.S93849@puget.esil.univ-mrs.fr>
References:  <20030501190202.S93849@puget.esil.univ-mrs.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305020925.12974.ernst.dehaan>