On Aug 11, 2010, at 7:50 AM, Manfred Bergmann wrote:

> 
> 
> Steve Appling wrote:
>> 
>> 
>> I'm sorry, I responded too quickly.  It is gradle's native jar task that
>> takes an attributes method with a map.  I didn't notice you were using
>> ant's jar - even when I reproduced part of your snippet.  Out of
>> curiosity, why are you using ant's jar?
>> 
>> 
> Well, I need to build one jar that includes all dependency jars. I was using
> OneJAR for this which is based on a Ant jar subtask.
> I have seen quite some threads here regarding packaging dependencies into a
> result jar but will this all work and execute?
> 


Yes, gradle's jar handles this fine.  There is a bug in 0.9rc-1 that will cause 
it to overwrite the manifest with the manifest from the bundled jars, but this 
has been fixed in trunk and can be worked around with rc-1 if you need to use 
it.  See the previous thread that discussed this: 
http://gradle.1045684.n5.nabble.com/Fat-Jar-td2268337.html#a2268337

--
Steve Appling
Automated Logic Research Team





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

    http://xircles.codehaus.org/manage_email


Reply via email to