Le mercredi 1 octobre 2008, Maarten Coene a écrit : > I have some questions: > > What is the meaning of this ${basedir} property in Ivy? > Is it different than the ${basedir} property from Ant?
no, it would have the exact same meaning. And with IVY-232, when running in ant, the ivy.basedir is set from the value of basedir which comes from ant. > And why have 2 properties which have the same value (${ivy.basedir} and > ${basedir}) ? Actually it comes from the ivy.properties: https://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/ivy.properties It set the property ivy.project.dir from the value of the property basedir. So in fact we have here 3 differents properties that should have the same value. Nicolas > > Maarten > > > > > ----- Original Message ---- > From: Xavier Hanin <[EMAIL PROTECTED]> > 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 > <[EMAIL PROTECTED] > > > 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.p > >>lugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633165#ac > >>tion_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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]