incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henry Story <henry.st...@bblfish.net>
Subject Re: howto reload all packages
Date Thu, 12 May 2011 14:51:40 GMT

On 12 May 2011, at 16:44, Henry Story wrote:

> 
> On 12 May 2011, at 16:04, Henry Story wrote:
> 
>> IS there a way in clerezza to relaod all of the packages after 
>> recompiling? So suppose there are a bunch of new commits, one
>> downloads them and compiles them, but does not want to be bothered
>> working out which ones one has downloaded.
> 
> something like this perhaps
> 
> zz> bundleContext.getBundles.foreach(b => try { System.out.println( b +" -- "+b.update
)} catch { case e => "oops" }
> 
> but this throws a lot of exceptions and then kills the connection

this seems to work

zz> for (n <- 1 to 136 )  update(n.toString)

well still have to test.

> 
> 
> 
>> 
>> Henry
>> 
>> 
>> Social Web Architect
>> http://bblfish.net/
>> 
> 
> Social Web Architect
> http://bblfish.net/
> 

Social Web Architect
http://bblfish.net/


Mime
View raw message