You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Dan Diodati (JIRA)" <ji...@apache.org> on 2010/01/07 21:54:55 UTC

[jira] Created: (IVYDE-228) Can not add a project specific property file when adding a library

Can not add a project specific property file when adding a library
------------------------------------------------------------------

                 Key: IVYDE-228
                 URL: https://issues.apache.org/jira/browse/IVYDE-228
             Project: IvyDE
          Issue Type: Bug
          Components: classpath container
    Affects Versions: 2.0.0.final
         Environment: Eclipse 3.5
            Reporter: Dan Diodati
             Fix For: 2.0.1


I right click on a ivy.xml file and select Add Ivy Library, then I select the Enable project specific settings.
And add a entry into the Property files text box but it never loads it.

If I add in the global location then it does see the properties file and loads it correctly.

It would also be nice if there was a browse button on this field too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVYDE-228) Can not add a project specific property file when adding a library

Posted by "Dan Diodati (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798822#action_12798822 ] 

Dan Diodati commented on IVYDE-228:
-----------------------------------

The problem occurs from the ivy.xml having a property not the ivysettings.xml.

The ivy.xml includes a outside file for its defaults configurations. So our ivy.xml contains a section like:

  <configurations>
    <include file="${build.system.dir}/default-ivy-configurations.xml"/>
  </configurations>

So I need to define a property file that defines the build.system.dir property. This works only in the global area but not in the project specific area.




> Can not add a project specific property file when adding a library
> ------------------------------------------------------------------
>
>                 Key: IVYDE-228
>                 URL: https://issues.apache.org/jira/browse/IVYDE-228
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.final
>         Environment: Eclipse 3.5
>            Reporter: Dan Diodati
>
> I right click on a ivy.xml file and select Add Ivy Library, then I select the Enable project specific settings.
> And add a entry into the Property files text box but it never loads it.
> If I add in the global location then it does see the properties file and loads it correctly.
> It would also be nice if there was a browse button on this field too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVYDE-228) Can not add a project specific property file when adding a library

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798331#action_12798331 ] 

Nicolas Lalevée commented on IVYDE-228:
---------------------------------------

I just tested with IvyDE 2.0.0 final and the trunk version, both works for me with the following setup:
* the settings.xml:
{code:xml}
<ivysettings>
    <settings defaultResolver="${defaultResolver}" />
    <resolvers>
        <ibiblio name="ibiblio" m2compatible="true" />
    </resolvers>
</ivysettings>
{code}
* the settings.properties:
{noformat}
defaultResolver=ibiblio
{noformat}

Could you give more info about your setup ?

About the browsing button, there will be several ;) see IVYDE-152


> Can not add a project specific property file when adding a library
> ------------------------------------------------------------------
>
>                 Key: IVYDE-228
>                 URL: https://issues.apache.org/jira/browse/IVYDE-228
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.final
>         Environment: Eclipse 3.5
>            Reporter: Dan Diodati
>             Fix For: 2.0.1
>
>
> I right click on a ivy.xml file and select Add Ivy Library, then I select the Enable project specific settings.
> And add a entry into the Property files text box but it never loads it.
> If I add in the global location then it does see the properties file and loads it correctly.
> It would also be nice if there was a browse button on this field too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (IVYDE-228) Can not add a project specific property file when adding a library

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée updated IVYDE-228:
----------------------------------

    Fix Version/s:     (was: 2.0.1)

as it works for me, I won't make it a blocker for the release of the next version, so I remove the fix version.

> Can not add a project specific property file when adding a library
> ------------------------------------------------------------------
>
>                 Key: IVYDE-228
>                 URL: https://issues.apache.org/jira/browse/IVYDE-228
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.final
>         Environment: Eclipse 3.5
>            Reporter: Dan Diodati
>
> I right click on a ivy.xml file and select Add Ivy Library, then I select the Enable project specific settings.
> And add a entry into the Property files text box but it never loads it.
> If I add in the global location then it does see the properties file and loads it correctly.
> It would also be nice if there was a browse button on this field too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (IVYDE-228) Can not add a project specific property file when adding a library

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée resolved IVYDE-228.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0
         Assignee: Nicolas Lalevée

Thanks for the further details.
I have been able to reproduce the error. More precisely what I found is that during the creation of the container, the UI complains that the property cannot be found. But if you force the creation by clicking finish despite the errors, the resolve is successful.
So I have fixed the UI so it does take into account the property files.


> Can not add a project specific property file when adding a library
> ------------------------------------------------------------------
>
>                 Key: IVYDE-228
>                 URL: https://issues.apache.org/jira/browse/IVYDE-228
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.final
>         Environment: Eclipse 3.5
>            Reporter: Dan Diodati
>            Assignee: Nicolas Lalevée
>             Fix For: 2.1.0
>
>
> I right click on a ivy.xml file and select Add Ivy Library, then I select the Enable project specific settings.
> And add a entry into the Property files text box but it never loads it.
> If I add in the global location then it does see the properties file and loads it correctly.
> It would also be nice if there was a browse button on this field too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (IVYDE-228) Can not add a project specific property file when adding a library

Posted by "Dan Diodati (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVYDE-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798824#action_12798824 ] 

Dan Diodati commented on IVYDE-228:
-----------------------------------

This is occuring in eclipse 3.5 and Mac OSX 10.5.8 for me.

> Can not add a project specific property file when adding a library
> ------------------------------------------------------------------
>
>                 Key: IVYDE-228
>                 URL: https://issues.apache.org/jira/browse/IVYDE-228
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.final
>         Environment: Eclipse 3.5
>            Reporter: Dan Diodati
>
> I right click on a ivy.xml file and select Add Ivy Library, then I select the Enable project specific settings.
> And add a entry into the Property files text box but it never loads it.
> If I add in the global location then it does see the properties file and loads it correctly.
> It would also be nice if there was a browse button on this field too.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.