You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nicolas Lalevée (JIRA)" <ji...@apache.org> on 2008/08/29 12:50:44 UTC

[jira] Commented: (IVYDE-90) IvyDE does not do property value expansion

    [ https://issues.apache.org/jira/browse/IVYDE-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626930#action_12626930 ] 

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

Thanks for trying to solve this. But it means that the configuration described in the ivysettings needs to be duplicated into IvyDE configuration panel. So it will be confusing for most users.
And in fact I see no reason why IvyDE should not be able to load that properties file. Maybe it is related to IVYDE-52.

In the ivy console, does ivy complains about failing to load that properties file ? If it does, which file path it tries to load ?

And can you test that IVYDE-52 is the bottom of the issue please: start eclipse while your are in the directory where your settings belongs, so the "current dir" will be the ivy settings one, and probably Ivy will then be able to find your properties file.


> IvyDE does not do property value expansion
> ------------------------------------------
>
>                 Key: IVYDE-90
>                 URL: https://issues.apache.org/jira/browse/IVYDE-90
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.alpha1
>         Environment: Eclipse 3.3.1
> MyEclipse 6.0.1
> Aptana 1.1.6
> Ivy/IvyDE plugins from xoocode
>            Reporter: Michael Laccetti
>         Attachments: IVYDE-90_patch.zip
>
>
> If I create an Ivy properties file with the variables defined in them, and then reference those variables in the built script, Ivy via Ant will pick them up, and inject the correct information.  However, the same does not go for IvyDE; it conks out trying to retrieve <something>-<something>-${lala}.<ext>
> Sample ivy.roperties
> {noformat}
> spring.version=2.5.3
> {noformat}
> Sample ivysettings.xml
> {code:xml} 
> <ivysettings>
>   <properties file="ivy.properties" />
> </ivysettings>
> {code} 
> Sample ivy.xml
> {code:xml} 
> <ivy-module version="2.0">
> 	<info organisation="com.cryptologic" module="OCL" />
> 	<dependencies>
> 		<!-- Spring Dependencies -->
> 		<dependency org="org.springframework" name="spring-core" rev="${spring.version}" />
> 	</dependencies>
> </ivy-module>
> {code} 

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