You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/05/14 00:05:39 UTC

DO NOT REPLY [Bug 49287] New: xslt task in ant.jar (XSLTProcess.java) depends on TraxLiaison in ant-nodeps.jar

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: notifications@ant.apache.org
        ReportedBy: caster@gentoo.org


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.

DO NOT REPLY [Bug 49287] xslt task in ant.jar (XSLTProcess.java) depends on TraxLiaison in ant-nodeps.jar

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49287

Jesse Glick <jg...@netbeans.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jglick@netbeans.org
         AssignedTo|notifications@ant.apache.or |jglick@netbeans.org
                   |g                           |

--- Comment #1 from Jesse Glick <jg...@netbeans.org> 2010-05-14 12:57:36 EDT ---
TraXLiaison ought to be in ant.jar, not ant-nodeps.jar, I guess; not sure what
exactly the difference is supposed to be.

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