buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Vaccari <vacc...@pobox.com>
Subject Re: Problems with dependent projects
Date Thu, 04 Aug 2011 06:36:51 GMT
On Tue, Aug 2, 2011 at 2:18 AM, Alex Boisvert <alex.boisvert@gmail.com> wrote:
> On Mon, Aug 1, 2011 at 5:12 PM, Peter Donald <peter@realityforge.org> wrote:
>
>> On Tue, Aug 2, 2011 at 10:07 AM, Peter Donald <peter@realityforge.org
>> >wrote:
>>
>> > In the Intellij IDE support we actually use the class paths if the
>> > dependency is part of a project. i.e. project('foo') will result
>> > in project('foo')._(:target, :main, :classes) added to the IDE project
>> files
>> > as will project('foo').package(:jar)
>> >
>> >
>> ... and thus I am suggesting that the same pattern could be followed in
>>  the
>> eclipse plugin.
>>
>
> Yes, this is what the eclipse task does already.
>
> There are two issues here,
>
> 1) compile.with project('foo') doesn't work as people expect when foo
> doesn't export a package(:jar)
>
> 2) eclipse task doesn't work with compile.with project('foo').compile.target
> and the likes.
>
> alex
>

I filed a bug for the Eclipse task
https://issues.apache.org/jira/browse/BUILDR-604

I also documented how I solved both problems in the wiki
https://cwiki.apache.org/confluence/display/BUILDR/How+to+depend+on+a+war-packaged+project

My buildr setup now works well.  Keep it up!

Matteo

Mime
View raw message