From owner-freebsd-java@FreeBSD.ORG Fri Apr 9 02:51:15 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7801916A4CE; Fri, 9 Apr 2004 02:51:15 -0700 (PDT) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 668BF43D1D; Fri, 9 Apr 2004 02:51:14 -0700 (PDT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i399pDDN092033; Fri, 9 Apr 2004 11:51:13 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost)i399pChI092032; Fri, 9 Apr 2004 11:51:12 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Fri, 9 Apr 2004 11:51:12 +0200 From: Herve Quiroz To: java@FreeBSD.org Message-ID: <20040409095112.GA91905@arabica.esil.univ-mrs.fr> Mail-Followup-To: java@FreeBSD.org, znerd@FreeBSD.org References: <20040409005028.GX42056@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040409005028.GX42056@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i cc: znerd@FreeBSD.org Subject: Re: [ports-i386@bento.FreeBSD.org: ant-xinclude-task-0.2 failed on i386 4] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 09:51:15 -0000 On Thu, Apr 08, 2004 at 05:50:28PM -0700, Kris Kennaway wrote: > FYI > > ----- Forwarded message from User Ports-i386 ----- > > 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 > 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