- * - *
* @author Martin Senger * @version $Id$ */ @@ -81,8 +67,13 @@ static final int iHAS = 3; /************************************************************************** - * Get a (redundant) list of all registered service names. - *
+ * Get a (redundant) list of all registered service names.
+ * + * @deprecated Replaced by {@link + * #getServiceNamesByAuthority}. The reason is that this method + * returns a random result if there are more services with the + * same name but belonging to different authorities.
+ * * @return a hash table where keys are names of services while * values are their authorities * @throws MobyException if communication with the Moby Registry fails @@ -91,6 +82,20 @@ throws MobyException; /************************************************************************** + * Get a list of all authorities - and for each of them a list of + * their registered service names.
+ * + * This method is a better replacement for the deprecated method + * {@link #getServiceNames}.
+ * + * @return a hash table where keys are authority names and values + * are arrays of service names provided by each authority + * @throws MobyException if communication with the Moby Registry fails + *************************************************************************/ + Map getServiceNamesByAuthority() + throws MobyException; + + /************************************************************************** * Get the list of all providers (each provider is represented by an * authority's URI. *
From senger at pub.open-bio.org Tue Jul 19 08:39:58 2005 From: senger at pub.open-bio.org (Martin Senger) Date: Tue Jul 19 09:32:25 2005 Subject: [MOBY-guts] biomoby commit Message-ID: <200507191239.j6JCdwhD019404@pub.open-bio.org> senger Tue Jul 19 08:39:58 EDT 2005 Update of /home/repository/moby/moby-live/Java/docs In directory pub.open-bio.org:/tmp/cvs-serv19358/docs Modified Files: 3rdPartyLibraries.html ChangeLog Download.html Added Files: CVS.html Log Message: moby-live/Java/docs CVS.html,NONE,1.1 3rdPartyLibraries.html,1.2,1.3 ChangeLog,1.30,1.31 Download.html,1.4,1.5 =================================================================== RCS file: /home/repository/moby/moby-live/Java/docs/3rdPartyLibraries.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- /home/repository/moby/moby-live/Java/docs/3rdPartyLibraries.html 2005/05/19 20:25:40 1.2 +++ /home/repository/moby/moby-live/Java/docs/3rdPartyLibraries.html 2005/07/19 12:39:58 1.3 @@ -10,20 +10,47 @@
+The third-party libraries are (mostly) .jar files whose +source code is not included in the jMoby CVS repository.
-For now, just look into xmls/libraries.xml - and it's almost -self-explanatory... +Neither their binary code (classes themselves). That's why the jMoby's +Ant tasks need to get it first from some remote repository. The +question is where is such remote repository and how to update it (if +needed). This document explains that.
+ +The third-party jar files are retrievable by HTTP protocol +from the place that is defined in the Ant property remote.dir +in the xmls/libraries file. In the same file, there is also a +full list of the third-party libraries needed in jMoby. If you need to +add a library, put it there (the name must appear in three places in +that file, actually).
+ +However, to put the new name there, it is not enough. You need also to +add such new jar file into the remote repository (or to +update there one if you wish jMoby to use a newer version). In order +to do that, you need to check-out and update/commit to the CVS module +jars-archive (note that you do not need to do this +if you are just using jMoby, or developing with jMoby). The module is +located together with other Biomoby CVS modules - so follow the normal +way: + +
+export CVS_RSH=ssh +cvs -d :ext:your-user-name@pub.open-bio.org:/home/repository/moby co -P jars-archive ++ +Once you have committed there a new library, or a new version of an +existing library, you need to wait until it is propagated to the place +indicated by the remote.dir. This is done by a cron job that +runs at 20 past the hour every other hour.
-
+Once you checked out your local CVS copy (here is how to do it), go to the moby-live/Java +subdirectory. All directory and files names used below assume that you +are in this directory.
How to build it
@@ -367,7 +368,7 @@Martin Senger
-Last modified: Thu May 19 19:07:17 2005 +Last modified: Tue Jul 19 11:34:08 2005