The Repository is a Read-only file system.  We use this for buildtime and also 
running production programs.

WE cannot use the cache for production programs (I build and create a runscript 
which a prod system uses but is pointing to stuff in my cache.  I delete that 
cache.)  It must reference the RO FS.

So It has to be on our RO file system.  Unfortunatly Some projects have been 
placed in a non-standrad way.  This is either due to ignorance or limitations 
of the programs we were installing.

Thus we want to force everything to be origin.

I have a work around for this working currently.

Simply we have a trigger that looks for runtime and then creates an extra path 
called runtime_script_path when cachepath=runtime.

I make sure the origin for everything is put in that and that is what gets 
written to the runtime_script_path not the 'runtime' created by standard.

Maybe my use case is rare but It would be nice to have that option built into 
ivy as it would also speed up our resolutions :)

Many thanks,


Alex Foreman
Morgan Stanley | Technology
20 Cabot Square | Canary Wharf | Floor 06
London, E14 4QW
Phone: +44 20 7677-5732
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 17 September 2008 10:12
To: [EMAIL PROTECTED]
Subject: RE: URL=.... Behaviour






"We have a standard resolver where 90% of our projects exist in the correct 
place.
10% of projects are in the same filesystem but not standardly placed.
We cannot change the place they exist at.

So anything unstandard is located via a url="file://....." link for the 
artifact.

We wish to use there origin location rarther than the place in the cache."

Can you explain why you have the requirement of non-standard locations ? At 
first glance this could make builds quite fragile - why can't you publish stuff 
off the file system into a repository and then use the cached version after you 
do a resolve ?



Target
www.targetgroup.net

Target is a trading name of Target Group Limited, registered in England and 
Wales No. 1208137 Registered office:  Target House, Cowbridge Road East, 
Cardiff CF11 9AU

**********************************************************************
DISCLAIMER.
This message is intended only for the use of the Addressee and may contain 
information that is PRIVILEGED and CONFIDENTIAL.
If you are not the intended recipient you must not copy, distribute or take any 
action or reliance upon it.
The content of this message may also contain personal views of an employee of 
this company and does not necessarily represent the view of the company.
**********************************************************************
This message has been scanned by Norton Anti-Virus.
It has also been scanned by MAILsweeper to enforce our e-mail policy. If you 
have any concerns or comments about the content of this message, please  e-mail 
[EMAIL PROTECTED]
**********************************************************************


_____________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email Security 
System. For more information on a proactive email security service working 
around the clock, around the globe, visit http://www.messagelabs.com
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not 
intend to waive confidentiality or privilege. Use of this email is prohibited 
when received in error.

Reply via email to