Date: Thu, 29 Jan 2009 23:17:12 +0100 From: Herve Quiroz <hq@FreeBSD.org> To: andy.lavr@gmail.com Cc: java@FreeBSD.org Subject: Re: New patch ant.sh.in for FreeBSD ports devel/apache-ant Message-ID: <49822AE8.9020608@FreeBSD.org> In-Reply-To: <4978A11A.1040408@FreeBSD.org> References: <49749D98.4080402@reactor-xg.kiev.ua> <49779F59.6050209@FreeBSD.org> <49784E41.7070006@reactor-xg.kiev.ua> <4978A11A.1040408@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Herve Quiroz wrote:
> I'll probably find some time to test those ports tonight.
Okay, so it took me a bit more time than expected but I did run some
tests and it seems nothing breaks from a ports build perspective with
the attached patch applied.
I believe this patch enforces the expected behavior of the mainstream
ant(1) script.
Any thoughts before I commit this patch?
I'll fix the depending ports (or send PRs) when we're done with
devel/apache-ant.
Herve
[-- Attachment #2 --]
? work
Index: files/ant.sh.in
===================================================================
RCS file: /home/pcvs/ports/devel/apache-ant/files/ant.sh.in,v
retrieving revision 1.6
diff -u -r1.6 ant.sh.in
--- files/ant.sh.in 6 Sep 2006 21:52:18 -0000 1.6
+++ files/ant.sh.in 29 Jan 2009 22:13:37 -0000
@@ -79,4 +79,4 @@
exit 1
fi
-exec "${JAVACMD}" ${ANT_OPTS} -classpath "${LOCALCLASSPATH}" -Dant.home="${DATADIR}" org.apache.tools.ant.launch.Launcher ${ANT_ARGS} -lib "${CLASSPATH}" "$@"
+exec "${JAVACMD}" ${ANT_OPTS} -classpath "${LOCALCLASSPATH}" -Dant.home="${DATADIR}" -Dant.library.dir="${ANT_LIB}" org.apache.tools.ant.launch.Launcher ${ANT_ARGS} "$@"
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49822AE8.9020608>
