On Tue, Oct 4, 2011 at 3:36 PM, Allen Riddle <allenrid...@gmail.com> 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, ...)

alex

Reply via email to