Does anyone have any ideas how to approach this problem of mine?

Thanks,
Weyert de Boer

----- Original Message -----
From: "Sprog : Weyert de Boer" <sp...@nothing.ch>
To: users@buildr.apache.org
Sent: Sunday, 9 October, 2011 11:30:35 PM
Subject: Re: How to make Buildr make with subprojects

Hi All!

I have been able to make a buildfile which uses subprojects in different 
directories. Really nice.
While its not fully working yet I am having some questions about packaging this 
all together.

I would like to separate the packaging of the main project (has a special 
project.group set) from
the other projects. The main project should be zipped. That's simple but the 
other projects need to
be packed in a zip file and metafile alongside this zip file needs to be 
created. At the end it should
result the following:

   mainproject_01_01.zip
   subprojects_01_01.zip
   index_subprojects_01.01.csv

What's the best way to get this working? Any ideas? Do I need to make a new 
package type to generate an extra file?

p.s. is it normal that it tries to compile all projects when you use 
main:project:build ?

Thanks,
Weyert de Boer

----- Original Message -----
From: "Dominic Graefen" <dominic.grae...@gmail.com>
To: users@buildr.apache.org
Sent: Thursday, 6 October, 2011 8:43:39 PM
Subject: Re: How to make Buildr make with subprojects

Can you reproduce the problem in a simplified buildfile and project?


-- 
Dominic Graefen
Freelance: Interactive Developer / Creative Technologist
devboy.org


On Thursday, October 6, 2011 at 7:30 PM, Alex Boisvert wrote:

> You can't currently disable them (if only I knew why they are generated...)
> 
> but you can automatically delete them, e.g.,
> 
>  package.enhance do
>  package.enhance do
>  ['pom', 'md5', 'sha1'].each do |ext|
>  FileList[_(:target) + "/**/*.#{ext}"].each { |f| rm f }
>  end
>  end
>  end
> 
> (the double-enhance block is to ensure the code runs last during the package
> task)
> 
> alex
> 
> On Thu, Oct 6, 2011 at 10:46 AM, Sprog : Weyert de Boer <sp...@nothing.ch 
> (mailto:sp...@nothing.ch)>wrote:
> 
> > Yes, can't I somehow remove them? Now I need to manually clean up our
> > releases folder.
> > Time to go home and try it out :)
> > 
> > ----- Original Message -----
> > From: "Alex Boisvert" <alex.boisv...@gmail.com 
> > (mailto:alex.boisv...@gmail.com)>
> > To: users@buildr.apache.org (mailto:users@buildr.apache.org)
> > Sent: Thursday, 6 October, 2011 6:47:57 PM
> > Subject: Re: How to make Buildr make with subprojects
> > 
> > On Thu, Oct 6, 2011 at 7:39 AM, Sprog : Weyert de Boer <sp...@nothing.ch 
> > (mailto:sp...@nothing.ch)
> > > wrote:
> > 
> > > Hmm, I guess I will need to try it out this evening then. For me it
> > > generated a bunch of stuff: .pom file, md5 hash file, sha1 hash file. If
> > I
> > > don't get it working tonight I will upload the buildfile somewhere.
> > 
> > Are you running "buildr package" ?
> > 
> > .pom files will be generated if you run "buildr install", "buildr upload",
> > "buildr release", ...
> > 
> > alex

Reply via email to