ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: [jira] Commented: (IVYDE-51) IvyDE doesn't set the ${basedir} property
Date Wed, 01 Oct 2008 07:02:33 GMT
I have some questions:

What is the meaning of this ${basedir} property in Ivy?
Is it different than the ${basedir} property from Ant?
And why have 2 properties which have the same value (${ivy.basedir} and ${basedir}) ?

Maarten




----- Original Message ----
From: Xavier Hanin <xavier.hanin@gmail.com>
To: Ant Developers List <dev@ant.apache.org>
Sent: Wednesday, October 1, 2008 8:06:55 AM
Subject: Re: [jira] Commented: (IVYDE-51) IvyDE doesn't set the ${basedir} property

On Tue, Sep 30, 2008 at 9:28 PM, Nicolas Lalevée <nicolas.lalevee@hibnet.org
> wrote:

>
> Le 22 sept. 08 à 10:08, Nicolas Lalevée (JIRA) a écrit :
>
>
>>   [
>> https://issues.apache.org/jira/browse/IVYDE-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633165#action_12633165
>> ]
>>
>> Nicolas Lalevée commented on IVYDE-51:
>> --------------------------------------
>>
>> Yes, you can use {{${ivy.basedir}}}. But I don't think we can close this
>> issue yet, the {{basedir}} property should be set. And the remaining
>> question is where it should be set. In IvyDE, or in Ivy on the call of
>> {{IvySetting#setBaseDir(File)}} ?
>>
>
> I think it would be a good idea to do it in Ivy.
> Any objection ?

No objection, as long as you don't override it if already defined.

Xavier


>
>
> Nicolas
>
>
>>
>>  IvyDE doesn't set the ${basedir} property
>>> -----------------------------------------
>>>
>>>               Key: IVYDE-51
>>>               URL: https://issues.apache.org/jira/browse/IVYDE-51
>>>           Project: IvyDE
>>>        Issue Type: Improvement
>>>        Components: classpath container
>>>  Affects Versions: 2.0.0.alpha1
>>>          Reporter: Maarten Coene
>>>
>>> IvyDE doesn't specify the ${basedir} property when resolving the
>>> dependencies.
>>> This means that it's not possible to resolve jar files in a [project]/lib
>>> directory.
>>> For instance, the following resolver doesn't work:
>>> {code}
>>> <filesystem name="local-repository">
>>>     <artifact
>>> pattern="${ivy.project.dir}/lib/[artifact](-[revision]).[ext]" />
>>> </filesystem>
>>> {code}
>>> Maarten
>>>
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>


-- 
Xavier Hanin - Independent Java Consultant
BordeauxJUG co leader - http://www.bordeauxjug.org/
Blogger - http://xhab.blogspot.com/
Apache Ivy Creator - http://ant.apache.org/ivy/



      

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message