[ports-i386@bento.FreeBSD.org: ant-xinclude-task-0.2 failed on i386 4]

Herve Quiroz herve.quiroz at esil.univ-mrs.fr
Fri Apr 9 02:51:15 PDT 2004


On Thu, Apr 08, 2004 at 05:50:28PM -0700, Kris Kennaway wrote:
> FYI
> 
> ----- Forwarded message from User Ports-i386 <ports-i386 at bento.FreeBSD.org> -----
> 
> X-Original-To: kkenn at localhost
> Delivered-To: kkenn at localhost.obsecurity.org
> Delivered-To: kris at freebsd.org
> Date: Thu, 8 Apr 2004 14:58:34 -0700 (PDT)
> From: User Ports-i386 <ports-i386 at bento.FreeBSD.org>
> To: kris at 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


More information about the freebsd-java mailing list