https://issues.apache.org/bugzilla/show_bug.cgi?id=49287

           Summary: xslt task in ant.jar (XSLTProcess.java) depends on
                    TraxLiaison in ant-nodeps.jar
           Product: Ant
           Version: 1.8.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core tasks
        AssignedTo: [email protected]
        ReportedBy: [email protected]


I discovered this when trying to bump the Gentoo package of Ant, since we pass
sourcepath="" to <javac> in ant's build.xml to catch inter-jar dependencies:

build-core:
Compiling 564 source files to
/var/tmp/portage/dev-java/ant-core-1.8.1/work/apache-ant-1.8.1/build/classes
/var/tmp/portage/dev-java/ant-core-1.8.1/work/apache-ant-1.8.1/src/main/org/apache/tools/ant/taskdefs/XSLTProcess.java:674:
package org.apache.tools.ant.taskdefs.optional does not exist
            liaison = new org.apache.tools.ant.taskdefs.optional.TraXLiaison();

If you are not so strict, it builds but there is a hidden dependency on
ant-nodeps.jar in ant.jar. Which I assume is not entirely correct?
Looks like when TraXLiaison was in ant-trax.jar, it was loaded dynamically from
XSLTProcess.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to