3

I'm new to buildr so apologies if this is trivial.

I refactored all my projects so that they now follow the Apache convention (src/main/java etc) but I have one big java project which is divided into three logical sub projects.

In other words my directory structure looks something like this:

[root]
  buildfile
  [project-a]
  [project-b]
  [directory-for-projects-c-d-e]
     [project-c]
     [project-d]
     [project-e]

Each individual project follows the Apache convention, but the problem is that buildr thinks [directory-for-projects-c-d-e] is, itself, a project.

I managed to use base_dir= to set the base directory for projects c,d and e - but buildr does not output to the correct target directories for these 3 projects.

Is there a quick fix for this? Or do I need to define a new layout just to specify a different base_dir? (seems odd, if that's the case).

I would prefer not to have to move projects c,d,e up one level because the current logical grouping makes a lot of sense.

Many thanks.

David Semeria
  • 542
  • 3
  • 15

1 Answers1

1

You should use base_dir=, here is the doc.

Marco
  • 56,740
  • 14
  • 129
  • 152
Antoine Toulme
  • 937
  • 4
  • 15