Hi,
I've been attempting to create an OSGI bundle comprised of several
modules from GeoTools 2.6.1. To do this, I'm using the Maven shade
plugin as illustrated here:
http://www.geotools.org/faq.html#how-do-a-create-an-executable-jar-for-m
y-geotools-app. The shade plugin is having some issues, however, with
merging a few of the service files (META-INF/services/...). In a couple
of cases, one service provider is appended right to the end of another
service provider. I haven't looked into the details of why this is
happening, but it may have something to do with a difference in line
separators between the two files, causing the shade plugin's
ServicesResourceTransformer to get confused. Here are the problem
services and their source modules:
org.geotools.filter.expression.PropertyAccessorFactory (gt-xsd-core,
gt-main)
org.opengis.referencing.crs.CRSAuthorityFactory (gt-epsg-wkt,
gt-referencing)
For the time being, I've gotten around the problem by excluding those
resources in the shade plugin and instead including manually merged
files. It might be worthwhile, however, to fix the offending service
files in trunk.
What do you guys think? Should I raise an issue for this?
Thanks,
Nathan Mittler
-
This message is intended only for the addressee and may contain information
that is company confidential or privileged. Any technical data in this message
may be exported only in accordance with the U.S. International Traffic in Arms
Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15
CFR Parts 730-774). Unauthorized use is strictly prohibited and may be
unlawful. If you are not the intended recipient, or the person responsible for
delivering to the intended recipient, you should not read, copy, disclose or
otherwise use this message. If you have received this email in error, please
delete it, and advise the sender immediately.
-
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users