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

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

     [ https://issues.apache.org/jira/browse/IVYDE-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Will Gorman updated IVYDE-90:
-----------------------------

    Attachment: IVYDE-90_patch.zip

We ran into the same issue at Pentaho. I made a minor change to the initialization of the ivy object, with a new property called Build Property Files.  It simply loads the specified properties files and populates the IvySettings object with those properties.  Feel free to use the code.

> 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.