ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39248] New: - Problem to assign TransformerFactory in other classpath
Date Fri, 07 Apr 2006 20:41:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39248>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39248

           Summary: Problem to assign TransformerFactory in other classpath
           Product: Ant
           Version: 1.6.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: surfer@kalto.de


I've tried to use a the saxon transformer factory inside of the xslt task and to
load it from the classpath. because of some other needs i cannot store the
saxon8.jar into the lib folder of the ant dist. i've tried to set the classpath
inside of the xslt task and i also defined the factory to use. but the only
class that was loaded using the classpath is the TraXLiason. As the TraXLiason
lies in the lib folder of ant dist the class is loaded with the
parentclassloader of the special defined classpath (loader). Now the real
Problem is that the factory is loaded with the same classloader as the
TraXLiason and not with the defined classpath loader. If the XSLTProcess sets
the the defined classpath into the TraXLiason and the classpath is used the load
the factory it would be much easier to use "external" factories. I know that the
development of my own TraXLiason can solve the Problem but it would be much
easier just to define a classpath...

Thanx for hearing

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message