some questions about Java ports

Ronald Klop ronald-freebsd8 at klop.yi.org
Mon Oct 3 23:42:46 PDT 2005


On Tue, 04 Oct 2005 03:37:39 +0200, Herve Quiroz  
<herve.quiroz at esil.univ-mrs.fr> wrote:

> On Sun, Oct 02, 2005 at 10:30:58PM -0400, Mikhail T. wrote:
>> 	4) How to pass javac options to ant (when relying on USE_ANT=yes)?
>
> I don't know if it possible to pass javac options to Ant through the
> command-line when invoking ant(1), unless a custom build.xml does
> support such feature. Hence I don't think we can provide such support in
> bsd.java.mk. Anyway, I never had to pass some options to javac in my
> ports so I am not proficient in this regard. Could you show us some
> sample use case please?
>
> Herve
>
> PS: I would be glad if you could show us some sample code to point out
> the MAKE_ENV/JAVA_HOME issue as well.

/usr/ports/java/jmp/Makefile does this.

-- 
  Ronald Klop
  Amsterdam, The Netherlands


More information about the freebsd-java mailing list