buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <alex.boisv...@gmail.com>
Subject Re: Question about Organizing Directories for projects
Date Mon, 02 Nov 2009 00:31:47 GMT
Everything looks normal to me.

It's not compiling project-b:impl since there's no source files in it.

... but it's still packaging it as a :jar (with no .classes, just the jar
manifest)

alex


On Sun, Nov 1, 2009 at 4:13 PM, Babu Naidu <pbnaidu@gmail.com> wrote:

> Thanks good to know. I have attached my project zip file that includes
> buildfile as well.
>
> When I do buildr in the root dir "tempbuildr",  I get the following build
> output. For some reason it is not compiling
> project-b's impl subproject.
>
> I am using buildr 1.3.4 (I went back from 1.3.5 to just to check) on Mac
> with JRuby.
>
> Thanks
> Babu
>
> buildr output
> ==============================================================
> pbns-MBP:tempbuildr pbn$ buildr
> (in /Users/pbn/home/dev/tempbuildr, development)
> Building tempbuildr
> mkdir -p /Users/pbn/home/dev/tempbuildr/project-a/api/target/classes
> Compiling tempbuildr:project-a:api into
> /Users/pbn/home/dev/tempbuildr/project-a/api/target/classes
> touch /Users/pbn/home/dev/tempbuildr/project-a/api/target/classes
> mkdir -p /Users/pbn/home/dev/tempbuildr/project-a/impl/target/classes
> Compiling tempbuildr:project-a:impl into
> /Users/pbn/home/dev/tempbuildr/project-a/impl/target/classes
> touch /Users/pbn/home/dev/tempbuildr/project-a/impl/target/classes
> mkdir -p /Users/pbn/home/dev/tempbuildr/project-b/api/target/classes
> Compiling tempbuildr:project-b:api into
> /Users/pbn/home/dev/tempbuildr/project-b/api/target/classes
> touch /Users/pbn/home/dev/tempbuildr/project-b/api/target/classes
> Completed in 0.837s
>
>
>
> On Sun, Nov 1, 2009 at 3:06 PM, lacton <lacton@users.sourceforge.net>wrote:
>
>> Hi,
>>
>> Yes, you can use this directory structure.  In fact, that would be the
>> most conventional way of doing it.
>>
>> Could you show us more of the buildfile you are using?
>>
>> Lacton
>>
>> On Sat, Oct 31, 2009 at 4:40 AM, Babu Naidu <pbnaidu@gmail.com> wrote:
>> > Hi,
>> >
>> > I am using 1.3.5 version of Buildr and I have following directory
>> structure.
>> >
>> > Root/
>> >     buildfile
>> >     /subporject-A
>> >              /the-api/src/main/java
>> >              /the-impl/src/main/java
>> >    /subproject-B
>> >
>> > My buildfile looks like
>> >
>> > define "Root" do
>> >    define "subproject-A"
>> >        define "the-api"
>> >            .....
>> >        end
>> >        define "the-impl"
>> >               .......
>> >        end
>> >    end
>> >    define "subject-B"
>> >          ........
>> >     end
>> > end
>> >
>> > Is it possible to organize like that? does it work? I tried, however
>> when I
>> > execute buildr at "Root", it only runs build for subproject-A/the-api
>> and
>> > stops.
>> > What am I doing wrong here?
>> >
>> > Any help is greatly appreciated.
>> >
>> > Thanks
>> > Babu
>> >
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message