Adam Murdoch wrote:
> 
> Why do you want to exclude the resources from the jar? There might be
> another approach to solving that problem.
> 
We're building RPM packages for Linux systems using the Java Service
Wrapper.  We drop our Spring XML resources into .../conf, mark them as
configuration files in the RPM, and include that directory on the classpath. 
This allows us to edit those configuration files and the RPM system will
handle the files differently on upgrade or uninstall if they've been
modified.

We could conceivably include the resources in both places, but we chose not
to so we wouldn't risk confusions over classpath order and would have
(slightly) smaller JAR files.

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/How-to-exclude-some-classes-from-jar-tp3315811p4647294.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to