Date: Fri, 9 Apr 2004 11:51:12 +0200 From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> To: java@FreeBSD.org Cc: znerd@FreeBSD.org Subject: Re: [ports-i386@bento.FreeBSD.org: ant-xinclude-task-0.2 failed on i386 4] Message-ID: <20040409095112.GA91905@arabica.esil.univ-mrs.fr> In-Reply-To: <20040409005028.GX42056@xor.obsecurity.org> References: <20040409005028.GX42056@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 08, 2004 at 05:50:28PM -0700, Kris Kennaway wrote: > FYI > > ----- Forwarded message from User Ports-i386 <ports-i386@bento.FreeBSD.org> ----- > > X-Original-To: kkenn@localhost > Delivered-To: kkenn@localhost.obsecurity.org > Delivered-To: kris@freebsd.org > Date: Thu, 8 Apr 2004 14:58:34 -0700 (PDT) > From: User Ports-i386 <ports-i386@bento.FreeBSD.org> > To: kris@FreeBSD.org > Subject: ant-xinclude-task-0.2 failed on i386 4 > X-UIDL: +-Z"!O9i"!ld\"!)W7!! > X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.16.4 > > [...] > > ===> ant-xinclude-task-0.2 depends on file: /usr/local/share/java/classes/xincluder.jar - found So there's a dependency on xincluder.jar > ===> ant-xinclude-task-0.2 depends on file: /usr/local/diablo-jdk1.3.1/bin/java - found > ===> Configuring for ant-xinclude-task-0.2 > ===> Building for ant-xinclude-task-0.2 > Buildfile: build.xml > > [...] > > classes-main: > [mkdir] Created dir: /tmp/a/ports/textproc/ant-xinclude-task/work/xinclude-task-0.2/build/classes/main > [javac] Compiling 1 source file to /tmp/a/ports/textproc/ant-xinclude-task/work/xinclude-task-0.2/build/classes/main > [javac] /tmp/a/ports/textproc/ant-xinclude-task/work/xinclude-task-0.2/build/src/main/org/znerd/xincludetask/XIncludeTask.java:23: cannot resolve symbol > [javac] symbol : class SAXXIncluder > [javac] location: package xinclude > [javac] import com.elharo.xml.xinclude.SAXXIncluder; > [javac] ^ But xincluder.jar is not in the CLASSPATH while building. I submited a patch for commons-cli and commons-logging (the same issue but regarding commons-lang dependency) that enforces: ${SETENV} ANT_INCLUDE_SHARED_JARS=YES ant ... IMHO, such thing would be better in bsd.java.mk, that is a clean nice Ant support in bsd.java.mk that handles: - Ant dependency - including of needed JARs in CLASSPATH - definition of useful macros, such as ${ANT} - definition of standard targets, such as 'do-build' performing the required (user defined) ${ANT_TARGETS} I think we should discuss this point in the list and when we find a nice solution I will submit an implementation as a PR... Opinions anyone ? Herve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040409095112.GA91905>