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: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] >Gesendet: Montag, 26. Februar 2007 02:03 >An: [email protected] >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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
