Mail Archive Home | shark List | September 2004 Index
Re: [shark] How to get all the packages in shark db?
- Subject: Re: [shark] How to get all the packages in shark db?
- From: "Sasa Bojanic" <sasaboy@xxxxxxxxxxxxx>
- Date: Thu, 30 Sep 2004 11:23:36 +0200
you should not use JaWE if this is the only
purpose. We use JaWE to get the content of all packages and to display it to the
You can get the list of package Ids by simply
calling PackageAdministration.getOpenedPackageIds() method.
----- Original Message -----
Sent: Wednesday, September 29, 2004 12:14
Subject: [shark] How to get all the
packages in shark db?
I wanna get all the packages in shark db and then show
them in a list, just like what Package Management does in shark admin
application. I use the code extracted from PackageManagement.java, as is shown
Collection packages =
I compiled it successfully
but got no packages at runtime. Is there anything I've
omitted? Or should I initialize JaWE first somewhere?
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.