This is the third post I read today about this topic and of the same author :) Please try to avoid replication. It makes it very hard for other users looking for information.
Best Regards, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Tue, Dec 13, 2011 at 6:22 AM, srinivasasanda <[email protected]>wrote: > Hi, > > *Listing Packages* > > > KnowledgeBase kbase = > KnowledgeBaseFactory.newKnowledgeBase(); > > kbase.addKnowledgePackages(kbuilder1.getKnowledgePackages()); > > kbase.addKnowledgePackages(kbuilder2.getKnowledgePackages()); > int flag=1; > for(KnowledgePackage kp :kbase.getKnowledgePackages()) > { > > > System.out.println("Package Names > are"+kp.getName()); > } > The code which i had written here can possible to retrieves the > list of packages.Here,I added snapshots to kbuilder1,kbuilder2 and through > kbase iam retrieving the packages list.Is it is possible to retrieve list > of > packages without adding package snapshots to kbuilder.???It means i think > through repository.xml...How can i achieve that??? > > Even i referred REST API but unable to retrieve XML nodes from it > > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Listing-all-packages-present-in-gunvor-repository-tp3581480p3581480.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
