Hi Lance,

does this do what you want?

http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependencies

It's maven but that would be an advantage I'd say… ;-)

Chantal

Am 05.08.2012 um 01:25 schrieb Lance Norskog:

> Has anybody tried packaging the contrib distribution jars in the
> jar-of-jars format? Or merging all included jars into one super-jar?
> 
> The OpenNLP contrib has a Lucene analyze, 3 external jars, and Solr
> classes. Packaging this sucker is proving painful in the extreme. UIMA
> has the same problem. 'ant' has a task for generating the manifest
> class path for a jar-of-jars, and the technique actually works:
> 
> http://ant.apache.org/manual/Tasks/manifestclasspath.html
> http://stackoverflow.com/questions/858766/generate-manifest-class-path-from-classpath-in-ant
> http://grokbase.com/t/ant/user/0213wdmn51/building-a-fileset-dynamically#20020103j47ufvwooklrovrjfdvirgohe4
> 
> If this works completely, it seems like the right way to build the
> dist/ jars for the contribs.
> 
> -- 
> Lance Norskog
> goks...@gmail.com

Reply via email to