[ 
https://issues.apache.org/jira/browse/IVY-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463514
 ] 

Gilles Scokart commented on IVY-372:
------------------------------------

See also IVY-89 , which concerns the same problem with the properties tag.

> ivyconf include syntax
> ----------------------
>
>                 Key: IVY-372
>                 URL: https://issues.apache.org/jira/browse/IVY-372
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>         Environment: Any
>            Reporter: Eric Crahen
>            Priority: Minor
>
> It would be a handy thing if the <include/> tag within an ivyconf.xml could 
> resolve files relative to the file requested, For example,
> I might have a series of ivyconf files:
> http://www.myserver.com/ivy/ivyconf-default.xml
> http://www.myserver.com/ivy/ivyconf-extras.xml
> The only difference between ivyconf-default and ivyconf-extras is that extras 
> adds a different resolver. 
> If possible I'd like to utilize all the stuff in ivyconf-default and not 
> repeat that config in ivyconf-extras.
> Ideally, ivyconf-extras would like sort of like this.
> <ivyconf>
>   <include file="ivyconf-default.xml"/>
>   <resolvers>
>     <!-- New resolvers -->
>   <resolvers/>
>   <!-- Additional property -->
> </ivyconf>
> Now when I ivy:configure 
> url="http://www.myserver.com/ivy/ivyconf-extras.xml";, what would 
> be nice would be for ivy to look at the include and say, I'm going to resolve 
> that against the
> path of the config file I'm processing, rather than resolve against the local 
> filesystem; so it
> would use http://www.myserver.com/ivy/ivyconf-default.xml from the remote 
> server.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to