Yes, Buildr can help you with that although the DSL isn't targeted at your specific use-case and there may be areas where you'll need to do some additional work. Off the top of my head, I don't think we support decompressing bzip2 files and untaring, although there are Ruby libraries for doing both. You may run into limitations with your include/exclude requirement (https://issues.apache.org/jira/browse/BUILDR-186) and maybe others but overall it seems very doable.
alex On Wed, Jul 8, 2009 at 4:42 PM, thierry henrio <[email protected]>wrote: > Hello, AlexI'm happy buildr can do what I said (even if I do not know how > to > do it at this time) > > there are indeed unexpressed requirements > - should be easy and fluent > - package requires files generated from templates before package > - should include / exclude files from assembly on a given pattern > - customer should have the ability to add artifacts and files to match > their > own need > - there should be a means of resolving and caching required assemblies : > foo-${version}.tar.bz2 should be get from local cache if available, else > from a configured "repository" path ( > http://ftp.foo.com/${customer}/foo/${version}<http://ftp.foo.com/$%7Bcustomer%7D/foo/$%7Bversion%7D> > ) > - should be portable (win, linux, solaris, ...) > > I fear one "script" will not fit all customers, and hope a dsl should > > Can buildr still do all that ? > > Curious, Thierry >
