ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: specifying a URL as a property location [SEC=UNCLASSIFIED]
Date Mon, 26 Feb 2007 08:20:20 GMT
You could store the URL in a property with value-attribute.
Then try using <url>s [1] in your tasks most of the core tasks should
handle urls (ResourceCollections) since 1.7.0.

But ATM you cant use <import> with urls ...


Jan

[1] http://ant.apache.org/manual/CoreTypes/resources.html#url

>-----Urspr√ľngliche Nachricht-----
>Von: Michelle.Bhaal@health.gov.au 
>[mailto:Michelle.Bhaal@health.gov.au] 
>Gesendet: Montag, 26. Februar 2007 02:03
>An: user@ant.apache.org
>Betreff: specifying a URL as a property location [SEC=UNCLASSIFIED]
>
>Hello.
>
>We've got a server which holds all our common files.  I'd like 
>to be able 
>to reference these files via a URL instead of mapping the 
>network drive to 
>a directory.
>
>Specifically, I'd like to do the following:
>        <property name="ivy_root_dir" 
>location="https://tgecld01/ivy/"/>
>        <property name="ivy.cache.dir" 
>location="${ivy_root_dir}/cache"/>
>        <property name="ivy.conf.dir" 
>location="${ivy_root_dir}/config"/>
>
>Unfortunately ivy.conf.dir resolves to 
>d:\.....\https:\tgecld01\ivy\config 
> Not what I wanted.
>
>Is it possible to set a property location to be a URL?  Is 
>there a better 
>way to do this?
>
>Michelle :)
>
>***************************************************************
>*****************
>
>"Important: This transmission is intended only for the use of 
>the addressee and may contain confidential or legally 
>privileged information.
>
>If you are not the intended recipient, you are notified that 
>any use or dissemination of this communication
>is strictly prohibited. If you receive this transmission in 
>error please notify the author immediately
>and delete all copies of this transmission."
>
>
>***************************************************************
>*****************
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message