buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <>
Subject Re: Copying packages
Date Tue, 04 Oct 2011 23:00:09 GMT
On Tue, Oct 4, 2011 at 3:36 PM, Allen Riddle <> wrote:

> I think I'm missing something because this seems like it should be fairly
> easy to do.
> I have a project that creates a zip package using the package task
> I have another project that I want to extract the previously packaged
> projects contents into
> How would you set up your projects such that the processing happens at the
> correct stage in the build lifecycle?

Assuming you need the other package for, say, your resources,

other = unzip('target/other' => project("other_project").package(:zip))
resource.enhance [other.to_s]

(substitute 'resource' for whichever task depends on the other project's
jar, e.g. resource, compile, package, ...)


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message