Loading Makefile +1 −6 Changes for Makefile: 1 added line, 6 removed lines. Original line number Diff line number Diff line Loading @@ -26,12 +26,8 @@ install: install-basex ## Installation de MaX @if [ -d '.max/basex/webapp/max' ]; then\ echo 'MaX install OK.';\ else\ mkdir -p .max/basex/webapp/max;\ mkdir -p .max/basex/repo/max;\ ln -s $(SRC_DIR)/main/webapp/routes.xqm .max/basex/webapp/max/routes.xqm;\ ln -s $(SRC_DIR)/main/ .max/basex/webapp/max;\ ln -s $(SRC_DIR)/resources .max/resources;\ ln -s ../../../../expath-pkg.xml .max/basex/repo/max/expath-pkg.xml;\ ln -s $(SRC_DIR)/main/core .max/basex/repo/max/max;\ ln -s ../fixtures .max/fixtures;\ echo 'MaX install done.';\ fi Loading Loading @@ -70,7 +66,6 @@ demo: ## Installation d'une édition de démo cp -r .max/fixtures/templates .;\ cp -r .max/fixtures/autoroute .;\ cp -r .max/fixtures/config.xml .;\ ln -s $(SRC_DIR)/main/bundles/max-tei-bundle .max/basex/repo/max-tei-bundle;\ echo 'demo installed.';\ fi .PHONY: demo Loading fixtures/autoroute/test.xq +1 −1 Changes for fixtures/autoroute/test.xq: 1 added line, 1 removed line. Original line number Diff line number Diff line xquery version "3.0"; import module namespace templating = 'https://certic.unicaen.fr/max/templating'; import module namespace templating = 'https://certic.unicaen.fr/max/templating' at '../.max/basex/webapp/max/core/templating.xqm'; declare variable $lang external; Loading fixtures/content_html/en/index.html +1 −1 Changes for fixtures/content_html/en/index.html: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -3,6 +3,6 @@ <p>This is home page content (file <code>content_html/en/index.html</code>).</p> <ul> <li>Download <a href="/sources.zip">sources</a></li> <li>Autoroute <a href="../test.html">example</a></li> <li>Autoroute <a href="/{$lang}/test.html">example</a></li> </ul> </div> No newline at end of file fixtures/content_html/fr/index.html +2 −2 Changes for fixtures/content_html/fr/index.html: 2 added lines, 2 removed lines. Original line number Diff line number Diff line <div> <h2>Accueil</h2> <p>Ceci est le contenu de la page d'accueil (fichier <code>content_html/fr/index.html</code>).<p> <p>Ceci est le contenu de la page d'accueil (fichier <code>content_html/fr/index.html</code>).</p> <ul> <li>Télécharger les <a href="/sources.zip">sources</a></li> <li>Un exemple <a href="../test.html">d'autoroute</a></li> <li>Un exemple <a href="/{$lang}/test.html">d'autoroute</a></li> </ul> </div> No newline at end of file src/main/bundles/max-tei-bundle/autoroute/tdm.xq +3 −3 Changes for src/main/bundles/max-tei-bundle/autoroute/tdm.xq: 3 added lines, 3 removed lines. Original line number Diff line number Diff line xquery version "3.0"; import module namespace database = 'https://certic.unicaen.fr/max/database'; import module namespace templating = 'https://certic.unicaen.fr/max/templating'; import module namespace utils = 'https://certic.unicaen.fr/max/utils'; import module namespace database = 'https://certic.unicaen.fr/max/database' at '../../../core/database.xqm'; import module namespace templating = 'https://certic.unicaen.fr/max/templating' at '../../../core/templating.xqm'; import module namespace utils = 'https://certic.unicaen.fr/max/utils' at '../../../core/utils.xqm'; declare variable $lang external; Loading Loading
Makefile +1 −6 Changes for Makefile: 1 added line, 6 removed lines. Original line number Diff line number Diff line Loading @@ -26,12 +26,8 @@ install: install-basex ## Installation de MaX @if [ -d '.max/basex/webapp/max' ]; then\ echo 'MaX install OK.';\ else\ mkdir -p .max/basex/webapp/max;\ mkdir -p .max/basex/repo/max;\ ln -s $(SRC_DIR)/main/webapp/routes.xqm .max/basex/webapp/max/routes.xqm;\ ln -s $(SRC_DIR)/main/ .max/basex/webapp/max;\ ln -s $(SRC_DIR)/resources .max/resources;\ ln -s ../../../../expath-pkg.xml .max/basex/repo/max/expath-pkg.xml;\ ln -s $(SRC_DIR)/main/core .max/basex/repo/max/max;\ ln -s ../fixtures .max/fixtures;\ echo 'MaX install done.';\ fi Loading Loading @@ -70,7 +66,6 @@ demo: ## Installation d'une édition de démo cp -r .max/fixtures/templates .;\ cp -r .max/fixtures/autoroute .;\ cp -r .max/fixtures/config.xml .;\ ln -s $(SRC_DIR)/main/bundles/max-tei-bundle .max/basex/repo/max-tei-bundle;\ echo 'demo installed.';\ fi .PHONY: demo Loading
fixtures/autoroute/test.xq +1 −1 Changes for fixtures/autoroute/test.xq: 1 added line, 1 removed line. Original line number Diff line number Diff line xquery version "3.0"; import module namespace templating = 'https://certic.unicaen.fr/max/templating'; import module namespace templating = 'https://certic.unicaen.fr/max/templating' at '../.max/basex/webapp/max/core/templating.xqm'; declare variable $lang external; Loading
fixtures/content_html/en/index.html +1 −1 Changes for fixtures/content_html/en/index.html: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -3,6 +3,6 @@ <p>This is home page content (file <code>content_html/en/index.html</code>).</p> <ul> <li>Download <a href="/sources.zip">sources</a></li> <li>Autoroute <a href="../test.html">example</a></li> <li>Autoroute <a href="/{$lang}/test.html">example</a></li> </ul> </div> No newline at end of file
fixtures/content_html/fr/index.html +2 −2 Changes for fixtures/content_html/fr/index.html: 2 added lines, 2 removed lines. Original line number Diff line number Diff line <div> <h2>Accueil</h2> <p>Ceci est le contenu de la page d'accueil (fichier <code>content_html/fr/index.html</code>).<p> <p>Ceci est le contenu de la page d'accueil (fichier <code>content_html/fr/index.html</code>).</p> <ul> <li>Télécharger les <a href="/sources.zip">sources</a></li> <li>Un exemple <a href="../test.html">d'autoroute</a></li> <li>Un exemple <a href="/{$lang}/test.html">d'autoroute</a></li> </ul> </div> No newline at end of file
src/main/bundles/max-tei-bundle/autoroute/tdm.xq +3 −3 Changes for src/main/bundles/max-tei-bundle/autoroute/tdm.xq: 3 added lines, 3 removed lines. Original line number Diff line number Diff line xquery version "3.0"; import module namespace database = 'https://certic.unicaen.fr/max/database'; import module namespace templating = 'https://certic.unicaen.fr/max/templating'; import module namespace utils = 'https://certic.unicaen.fr/max/utils'; import module namespace database = 'https://certic.unicaen.fr/max/database' at '../../../core/database.xqm'; import module namespace templating = 'https://certic.unicaen.fr/max/templating' at '../../../core/templating.xqm'; import module namespace utils = 'https://certic.unicaen.fr/max/utils' at '../../../core/utils.xqm'; declare variable $lang external; Loading