Bug 42980 - [patch] Support for ClasspathResources
Summary: [patch] Support for ClasspathResources
Status: RESOLVED FIXED
Alias: None
Product: XMLGraphicsCommons - Now in Jira
Classification: Unclassified
Component: utilities (show other bugs)
Version: Trunk
Hardware: Macintosh Mac OS X 10.4
: P3 enhancement (vote)
Target Milestone: --
Assignee: XML Graphics Project Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-26 08:44 UTC by Max Berger
Modified: 2007-10-08 01:57 UTC (History)
0 users



Attachments
patch to support classpath resources (9.62 KB, text/plain)
2007-07-26 08:45 UTC, Max Berger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Berger 2007-07-26 08:44:46 UTC
This is the xmlgraphics-commons part of the patch discussed for the thread "Fonts in JAR
files" on fop-dev.
Comment 1 Max Berger 2007-07-26 08:45:53 UTC
Created attachment 20550 [details]
patch to support classpath resources

the actual patch
Comment 2 Jeremias Maerki 2007-10-08 01:57:26 UTC
Patch applied: http://svn.apache.org/viewvc?rev=582750&view=rev

Thanks, Max. Looks useful, though it may need some tweaking when we've had some
experience with it. If you look at Service.java, you'll see that there's a more
complex way to determine the right class loader. I've moved the class loader
determination into a separate private method and have adjusted the naming of the
singleton getter just a bit.