From: Evgeny G. <gaz...@gm...> - 2010-03-24 07:40:26
|
> Thanks, I understand now. I just rebuilt to check this out and look > at the function documentation, which is a helpful start. For others > who haven't, here is an example: > > input: > lib:get-lib-info('commons-util-%latest%.jar') > > output: > <lib name="ws-commons-util-1.0.2.jar" size="34407" > modified="2010-01-22T20:51:33-05:00"/> > > Some requests for the module's xqdocs: > > 1. Could you be a little more specific and descriptive about the > allowed values (and allowed wildcards) for $name? > Allowed values and wildcards is same as for "org.exist.start.LatestFileResolver" class (As I'm see one can work for any types, but in comments used "jar" term only). > 2. Can you specify the XML format of the return value (even providing > an example)? > <lib name="resolved-lib-name" size="lib-size" modified="last-modified-time"/> this is all attributes > 3. Can you confirm this is only for *.jar files, and add that it's > only for EXIST_HOME and EXIST_HOME/lib? > Not this must worn for all file types. Yes only for EXIST_HOME and EXIST_HOME/lib or webapp/WEB-INF/lib if eXist is work as war webapp in tomcat environment, for exapmle ---------- Evgeny |