ok i try to explain more in detail what i want.

Currently I can either define as input the jar of a project or the project
itself.

If I work in Eclipse I would like to have the project not the jar which is
somewhere in a repository.

So my Eclipse workspace consists of two projects (Project A, Project B) with
Project B depends on Project A.

In Eclipse I would like to have a project dependency so that changes in
Project A are directly seen in Project B. I dont want to go through the
whole build / upload circle of Project B, as the new jar of Project B should
not be in the repo for now.

On the build server though I only want to have jar dependencies.

Basically this idea comes from maven and the m2eclipse plugin. It directly
converts dependencies in your workspace to project dependencies if these
projects exists. If the project does not exists, it uses the jar from the
repo.

I was wondering if this behaviour is cloneable in gradle with the concept of
configurations.

Hope this was more clear... and please tell me if this whole idea is just
stupid ;-)

Cheers


Adam Murdoch-2 wrote:
> 
> 
> 
> On 2/02/10 10:28 PM, MartyMcFly wrote:
>> Hi,
>>
>> I do have problems with understanding the mechanism of the
>> configurations.
>>
>> googling it revelead "Chapter 22. Artifact Management" of the userguide,
>> but
>> this does not explain configurations (or i dont understand it).
>>
>> My scenario is:
>>
>> I want to have different configurations for Eclipse and our build server.
>>
>> In the configuration for the build server a project should only declare
>> its
>> dependencies to jar files.
>>
>> In Eclipse one should also be able to add direct project dependencies.
>>
>>    
> 
> I don't really understand what you mean by this. Can you give some more 
> detail?
> 
> 
> -- 
> Adam Murdoch
> Gradle Developer
> http://www.gradle.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Problems-with-understanding-%22configurations%22-tp27418881p27451032.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to