Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fixes #28

Merged
merged 3 commits into from
Apr 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
</target>
<target name="ace" depends="prepare-ace">
<mkdir dir="${ace}"/>
<mkdir dir="${ace.src}/build/src-min"/>
<mkdir dir="${ace.src}/build/kitchen-sink"/>
<copy todir="${ace}">
<fileset dir="${ace.src}/build/src-min"/>
<fileset dir="${ace.src}/build/kitchen-sink">
Expand All @@ -29,6 +31,7 @@
</target>
<target name="clean">
<delete dir="${ace}"/>
<delete file="${scripts}/emmet.js"/>
<delete dir="${build}"/>
<delete file="expath-pkg.xml"/>
</target>
Expand Down
6 changes: 6 additions & 0 deletions content/apputil.xql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ xquery version "3.0";
:)
module namespace apputil="http://exist-db.org/xquery/apps";

import module namespace compression="http://exist-db.org/xquery/compression";
import module namespace map="http://www.w3.org/2005/xpath-functions/map";
import module namespace request="http://exist-db.org/xquery/request";
import module namespace util="http://exist-db.org/xquery/util";
import module namespace xmldb="http://exist-db.org/xquery/xmldb";

declare namespace expath="http://expath.org/ns/pkg";
declare namespace repo="http://exist-db.org/xquery/repo";

Expand Down
3 changes: 3 additions & 0 deletions content/dbutils.xql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ xquery version "3.0";

module namespace dbutil="http://exist-db.org/xquery/dbutil";

import module namespace sm="http://exist-db.org/xquery/securitymanager";
import module namespace xmldb="http://exist-db.org/xquery/xmldb";

(:~ Scan a collection tree recursively starting at $root. Call $func once for each collection found :)
declare function dbutil:scan-collections($root as xs:anyURI, $func as function(xs:anyURI) as item()*) {
$func($root),
Expand Down
3 changes: 2 additions & 1 deletion content/siteutils.xql
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ xquery version "3.0";

module namespace site="http://exist-db.org/apps/site-utils";

import module namespace templates="http://exist-db.org/xquery/templates";
import module namespace apputil="http://exist-db.org/xquery/apps";
import module namespace request="http://exist-db.org/xquery/request";
import module namespace templates="http://exist-db.org/xquery/templates";

declare namespace expath="http://expath.org/ns/pkg";

Expand Down