Bug 39248 - Problem to assign TransformerFactory in other classpath
Summary: Problem to assign TransformerFactory in other classpath
Status: RESOLVED DUPLICATE of bug 29596
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.6.5
Hardware: All All
: P4 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-07 21:41 UTC by Silver Surfer
Modified: 2008-02-22 12:18 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silver Surfer 2006-04-07 21:41:39 UTC
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
Comment 1 Silver Surfer 2006-04-08 11:24:13 UTC
I haven't seen the older enhancement request

thanx surfer

*** This bug has been marked as a duplicate of 29596 ***