You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Jacek Laskowski <ja...@laskowski.net.pl> on 2008/01/10 10:03:08 UTC

Project directory structure setup with Buildr - possible?

Hi,

I've just started evaluating buildr and am wondering whether buildr is
like ant or maven as far as project directory structure setup's
concerned. Whenever I evaluate a spec or technology I create a fresh
project to play with. I can easily automate the process with maven
archetype feature and hence I don't have to worry I'm on Eclipse, IDEA
or NetBeans (in no particular order) as long as the project
structure's recognized by the ide (and if it supports maven/ant
features it's its additional bonus). How is it with buildr? Do I need
a project laid out before buildr comes in or can I set up a project
structure with buildr too? How do you start a new project with buildr?
Do you create a project in IDE or maven archetype and run buildr
afterwards or is there an alternative to it?

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Re: Project directory structure setup with Buildr - possible?

Posted by Alexandre Bairos <al...@gmail.com>.
Hi, Jacek.
Buildr uses maven conventions for project structure, but there 's no
built-in archetype feature. When i start a project, i usually do this:

- Use Maven 2 archetype generation
- Run Buildr from the project dir. it sees the pom.xml and asks if you want
to create a basic Buildr script from it.
- Run 'buildr eclipse' to generate .classpath and .project
- In Eclipse, import from a existing project in file system

Now you have your pet project bound to Eclipse and Buildr. I didn 't try to
create a Buildr script from a complex pom.xml . I don't know how far it
goes.


On Jan 10, 2008 7:03 AM, Jacek Laskowski <ja...@laskowski.net.pl> wrote:

> Hi,
>
> I've just started evaluating buildr and am wondering whether buildr is
> like ant or maven as far as project directory structure setup's
> concerned. Whenever I evaluate a spec or technology I create a fresh
> project to play with. I can easily automate the process with maven
> archetype feature and hence I don't have to worry I'm on Eclipse, IDEA
> or NetBeans (in no particular order) as long as the project
> structure's recognized by the ide (and if it supports maven/ant
> features it's its additional bonus). How is it with buildr? Do I need
> a project laid out before buildr comes in or can I set up a project
> structure with buildr too? How do you start a new project with buildr?
> Do you create a project in IDE or maven archetype and run buildr
> afterwards or is there an alternative to it?
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>