You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by Henry Story <he...@bblfish.net> on 2011/05/12 16:04:51 UTC

howto reload all packages

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.

Henry


Social Web Architect
http://bblfish.net/


Re: howto reload all packages

Posted by Reto Bachmann-Gmuer <re...@trialox.org>.
update("mvn:org.apache.clerezza.*")


On Thu, May 12, 2011 at 4:51 PM, Henry Story <he...@bblfish.net> wrote:
>
> 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/
>
>

Re: howto reload all packages

Posted by Henry Story <he...@bblfish.net>.
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/


Re: howto reload all packages

Posted by Henry Story <he...@bblfish.net>.
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



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

Social Web Architect
http://bblfish.net/