Oops, just after sending this mail I got the 'install' command to do exactly
what I was looking for. Nevermind ;)

On Mon, May 31, 2010 at 10:59 AM, Peter Maas <[email protected]> wrote:

> Guys,
>
> we'd like to be able to install multiple artifacts resulting from a single
> project build. Say we have something like:
>
>
> desc "My incredible project"
> define "services" do
>
>   project.version = 0.0.1
>   project.group = GROUP
>   manifest["Implementation-Vendor"] = COPYRIGHT
>
>   define "myservice" do
>     compile.with CLASSPATH
>     compile.with "shared:shared-api:jar:0.0.1"
>     compile.with "shared:shared-persistence:jar:0.0.1"
>     resources
>     package(:jar)
>     package(:jar, :file => "#{path_to(:target)}/#{project.name.gsub(/:/,
> '-')}-client-#{project.version}.jar") # will only contain client code
>   end
> end
>
>
> We nicely get two jars:
>
> target/services-myservice-0.0.1.jar
> target/services-myservice-client-0.0.1.jar
>
>
> But running buildr install will only install the firrst jar, but not the
> second. Is this something I could configure or script? Any ideas?
>
> kind regards,
>
> Peter
>

Reply via email to