From: Dmitriy S. <sha...@gm...> - 2010-03-24 06:19:41
|
+1 to move it to system module On Tue, 2010-03-23 at 21:19 -0500, Loren Cahlander wrote: > I suggest that these functions be moved to the system function module. These two functions are small enough and they seem like something that could belong into the system function module. > > Loren > > On Mar 23, 2010, at 07:52 PM, Joe Wicentowski wrote: > > > Evgeny, > > > >> File module have more common functional and so only DBA have access. > >> In my module I automate searching files in eXist's libs folders > >> by names, not by path. > >> Example lib:get-info("commons-util-%latest%.jar") > >> This functional is like the JnlpServlet, but more flex. > > > > 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? > > > > 2. Can you specify the XML format of the return value (even providing > > an example)? > > > > 3. Can you confirm this is only for *.jar files, and add that it's > > only for EXIST_HOME and EXIST_HOME/lib? > > > > Thanks, > > Joe > > > > ------------------------------------------------------------------------------ > > Download Intel® Parallel Studio Eval > > Try the new software tools for yourself. Speed compiling, find bugs > > proactively, and fine-tune applications for parallel performance. > > See why Intel Parallel Studio got high marks during beta. > > http://p.sf.net/sfu/intel-sw-dev > > _______________________________________________ > > Exist-development mailing list > > Exi...@li... > > https://lists.sourceforge.net/lists/listinfo/exist-development > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Exist-development mailing list > Exi...@li... > https://lists.sourceforge.net/lists/listinfo/exist-development -- Cheers, Dmitriy Shabanov |