On 01/02/2011, at 1:40 AM, StormeHawke wrote:
>
>
> Peter Niederwieser wrote:
>>
>> You need to provide some more information; otherwise it's just guessing on
>> my side. Are the Hibernate config files located in the war project, or in
>> some other project?
>>
> As I mentioned I got the jar portion working; What I'm trying to figure out
> is how to convince the war task to include the projects own jar file in its
> lib directory. Is this possible?
You could do this:
jar.enabled = true
war {
classpath = jar.outputs.files + configurations.runtime
}
>
> --
> View this message in context:
> http://gradle.1045684.n5.nabble.com/jar-SKIPPED-tp3213728p3364662.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
>
>
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz