You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Nicolas Lalevée <ni...@hibnet.org> on 2008/09/30 21:28:06 UTC

Re: [jira] Commented: (IVYDE-51) IvyDE doesn't set the ${basedir} property

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 ?

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


Re: [jira] Commented: (IVYDE-51) IvyDE doesn't set the ${basedir} property

Posted by Xavier Hanin <xa...@gmail.com>.
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/