On 31/03/10 8:22 PM, Hans Dockter wrote:
Hi Jason,
On Tue, Mar 23, 2010 at 5:53 PM, Jason Porter <lightguard.jp
<http://lightguard.jp>@gmail.com <http://gmail.com>> wrote:
On Tue, Mar 23, 2010 at 09:56, Hans Dockter <[email protected]
<mailto:[email protected]>> wrote:
Hi Jason,
On Tue, Mar 23, 2010 at 3:10 PM, Jason Porter <lightguard.jp
<http://lightguard.jp>@gmail.com <http://gmail.com>> wrote:
I have an existing ant build and I'd like to do the same
thing in Gradle. The ant build creates a couple of jars
and then adds them to the war (yes, I know this should
probably be three projects, but can't get the manager nor
the team to go for it).
Fair enough. That's what Gradle is about :)
How can I create the jars (not the hard part) and have the
war exclude the jared classes from the WEB-INF/classes
directory? I'm using a current version of 0.9 (compiled
last Thursday).
That should do the job:
war {
dependsOn jar1, jar2
classpath = [jar1.archivePath, jar2.archivePath]
}
Wow, that seems pretty easy. I'll give it a shot and see what
happens.
As an aside, seems like there's no one hanging out in IRC anymore
:( We had some good discussions going on.
I agree. I try to be regularly on the channel again.
I've added the IRC details to the website, too
--
Adam Murdoch
Gradle Developer
http://www.gradle.org