El mié, 09-06-2010 a las 09:40 +0200, Torsten Bergmann escribió: > Monticello allows you to use local directories as > alternatives to web based squeaksource repositories. > When I select one in the Monticello browser it displays > "c:\pharo\myapp\repo\" (maybe "file://c:\pharo\myapp\repo\" > would have been better - but thats a Monticello issue. > > Question: > Is it possible to use Metacello configurations with > directory repositories too? > > Currently this fails for me since Metacello always tries > to use a HTTP repo while loading: > > --------------------------------------------------------------------- > baseline10: spec > "The first baseline for the MyApp project" > <version: '1.0-baseline'> > > spec for: #pharo do: [ > spec blessing: #baseline. > spec description: '1.0 baseline for MyApp'. > spec repository: 'c:\pharo\myapp\repo\'.
I use spec repository: '/home/miguel/proyectos/azteca/mc'. for accesing a local directory in my machine. It is linux and the path is absolute. The spec for metacello in http://code.google.com/p/metacello/wiki/APIReference says: spec "directory-based repository" repository: '/opt/mc/repository'; Maybe changing the slashes: spec repository: 'c:/pharo/myapp/repo/'. or using UNC format: http://en.wikipedia.org/wiki/Path_(computing)#Uniform_Naming_Convention will work. Cheers > "Packages" > spec > package: 'MyApp-Core-Model'; > ... > --------------------------------------------------------------------- > > Any comments? > > Thanks > T. > > > -- > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project -- Miguel Cobá http://miguel.leugim.com.mx _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
