From 28f5a08865defea9ab94ff9878b26c0cd1740323 Mon Sep 17 00:00:00 2001 From: Adam Retter Date: Mon, 8 Jan 2018 14:39:20 +0000 Subject: [PATCH] Switch to the Maven build system and use exist-apps-parent --- .gitignore | 9 +- .project | 11 - LICENSE | 504 ++++++++++++++++++ Readme.md => README.md | 44 +- build.properties | 2 - build.xml | 40 -- expath-pkg.xml | 6 - indexes/README.txt | 3 - indexes/collection.xconf | 10 - pom.xml | 199 +++++++ repo.xml | 19 - .../main/xar-resources/collection.xconf | 0 .../main/xar-resources/configuration.xml | 0 .../main/xar-resources/controller.xql | 0 .../data}/AtomicWikiWelcome.atom | 0 .../data}/AtomicWikiWelcome.html | 0 .../main/xar-resources/data}/Markdown.atom | 0 .../main/xar-resources/data}/Markdown.md | 0 .../main/xar-resources/data}/Welcome.atom | 0 .../main/xar-resources/data}/Welcome.html | 0 .../main/xar-resources/data}/Welcome.md | 0 .../main/xar-resources/data}/WikiIntro.atom | 0 .../main/xar-resources/data}/WikiIntro.html | 0 .../xar-resources/data}/_galleries/feed.atom | 0 .../data}/_galleries/grundlsee.jpg | Bin .../xar-resources/data}/_galleries/london.jpg | Bin .../data}/_galleries/trisselwand.jpg | Bin .../main/xar-resources/data}/_nav.html | 0 .../data}/_theme/ImageSelector.html | 0 .../data}/_theme/change-user.html | 0 .../xar-resources/data}/_theme/code-edit.html | 0 .../xar-resources/data}/_theme/edit-feed.html | 0 .../main/xar-resources/data}/_theme/feed.html | 0 .../data}/_theme/html-edit-gallery.html | 0 .../xar-resources/data}/_theme/html-edit.html | 0 .../data}/_theme/manage-users.html | 0 .../resources/css/Quicksand_Book-webfont.eot | Bin .../resources/css/Quicksand_Book-webfont.svg | 0 .../resources/css/Quicksand_Book-webfont.ttf | Bin .../resources/css/Quicksand_Book-webfont.woff | Bin .../resources/css/bootstrap-theme.css.map | 0 .../resources/css/bootstrap-theme.min.css | 0 .../_theme/resources/css/bootstrap.css.map | 0 .../_theme/resources/css/bootstrap.min.css | 0 .../data}/_theme/resources/css/editor.css | 0 .../_theme/resources/css/font-awesome.min.css | 0 .../data}/_theme/resources/css/gallery.css | 0 .../data}/_theme/resources/css/jquery-ui.css | 0 .../_theme/resources/css/manage-users.css | 0 .../data}/_theme/resources/css/settings.css | 0 .../data}/_theme/resources/css/settings.less | 0 .../data}/_theme/resources/css/wiki.css | 0 .../data}/_theme/resources/css/wiki.less | 0 .../_theme/resources/fonts/FontAwesome.otf | Bin .../resources/fonts/fontawesome-webfont.eot | Bin .../resources/fonts/fontawesome-webfont.svg | 0 .../resources/fonts/fontawesome-webfont.ttf | Bin .../resources/fonts/fontawesome-webfont.woff | Bin .../fonts/glyphicons-halflings-regular.eot | Bin .../fonts/glyphicons-halflings-regular.svg | 0 .../fonts/glyphicons-halflings-regular.ttf | Bin .../fonts/glyphicons-halflings-regular.woff | Bin .../_theme/resources/images/arrow-left.png | Bin .../_theme/resources/images/arrow-right.png | Bin .../data}/_theme/resources/images/bgmenu.gif | Bin .../_theme/resources/images/bgmenuhi.gif | Bin .../_theme/resources/images/body-base.gif | Bin .../data}/_theme/resources/images/body.gif | Bin .../data}/_theme/resources/images/bold.gif | Bin .../data}/_theme/resources/images/bubble.gif | Bin .../data}/_theme/resources/images/code.gif | Bin .../_theme/resources/images/delete-icon.png | Bin .../data}/_theme/resources/images/existdb.png | Bin .../_theme/resources/images/feed-icon.png | Bin .../resources/images/gallery-black-small.png | Bin .../_theme/resources/images/gallery-black.png | Bin .../_theme/resources/images/gallery-white.png | Bin .../resources/images/glyphicons-halflings.png | Bin .../_theme/resources/images/grey-box-bot.gif | Bin .../_theme/resources/images/grey-box-rpt.gif | Bin .../_theme/resources/images/grey-box-top.gif | Bin .../data}/_theme/resources/images/header.gif | Bin .../_theme/resources/images/horizontal.gif | Bin .../data}/_theme/resources/images/italic.gif | Bin .../_theme/resources/images/nav-dropdown.gif | Bin .../_theme/resources/images/nav-dropdown.png | Bin .../data}/_theme/resources/images/nav.gif | Bin .../data}/_theme/resources/images/noise.png | Bin .../resources/images/page-edit-icon.png | Bin .../resources/images/plus-with-circle.png | Bin .../_theme/resources/images/powered-by.svg | 0 .../resources/images/spr_toolbar_icons_r1.png | Bin .../_theme/resources/images/twitter-left.gif | Bin .../_theme/resources/images/twitter-right.gif | Bin .../_theme/resources/images/twitter-rpt.gif | Bin .../img/glyphicons-halflings-white.png | Bin .../resources/img/glyphicons-halflings.png | Bin .../img/glyphicons_103_text_underline.png | Bin .../_theme/resources/img/icon_repeat.png | Bin .../data}/_theme/resources/img/icon_undo.png | Bin .../xar-resources/data}/_theme/search.html | 0 .../data}/_theme/templates/page.html | 0 .../data}/_theme/templates/permissions.html | 0 .../main/xar-resources/data}/_theme/theme.xml | 0 .../data}/_theme/unknown-feed.html | 0 .../xar-resources/data}/_theme/wiki-edit.html | 0 .../main/xar-resources/data}/feed.atom | 0 .../data}/help/GettingStarted.atom | 0 .../data}/help/GettingStarted.html | 0 .../data}/help/GettingStarted.md | 0 .../data}/help/ListCollectionContents.atom | 0 .../data}/help/ListCollectionContents.xql | 0 .../xar-resources/data}/help/Markdown.atom | 0 .../xar-resources/data}/help/Markdown.html | 0 .../main/xar-resources/data}/help/Markdown.md | 0 .../data}/help/UsersAndGroups.atom | 0 .../data}/help/UsersAndGroups.html | 0 .../data}/help/UsersAndGroups.md | 0 .../main/xar-resources/data}/help/feed.atom | 0 .../xar-resources/data}/help/groupmanager.png | Bin .../main/xar-resources/data}/help/menubar.png | Bin .../xar-resources/data}/help/permissions.png | Bin .../main/xar-resources/data}/help/sitemap.png | Bin .../data}/powered-by-whiteglass.svg | 0 .../main/xar-resources/data}/screenshot1.png | Bin .../main/xar-resources/data}/screenshot2.png | Bin .../main/xar-resources/data}/screenshot3.png | Bin .../data}/util/TwitterUserFeed.atom | 0 .../data}/util/TwitterUserFeed.xql | 0 .../main/xar-resources/data}/util/feed.atom | 0 .../main/xar-resources/error-page.html | 0 .../main/xar-resources/modules}/acl.xql | 0 .../xar-resources/modules}/annotations.xql | 0 .../main/xar-resources/modules}/app.xql | 0 .../main/xar-resources/modules}/atomic.xql | 0 .../xar-resources/modules}/checklogin.xql | 0 .../main/xar-resources/modules}/cleanup.xql | 0 .../main/xar-resources/modules}/config.xqm | 0 .../main/xar-resources/modules}/dates.xql | 0 .../modules}/display/image-link-generator.xqm | 0 .../modules}/display/image-view.xql | 0 .../modules}/display/services.xml | 0 .../main/xar-resources/modules}/edit-menu.xql | 0 .../xar-resources/modules}/extensions.xql | 0 .../main/xar-resources/modules}/feeds.xql | 0 .../modules}/fix-permissions.xql | 0 .../main/xar-resources/modules}/gallery.xql | 0 .../main/xar-resources/modules}/html2wiki.xql | 0 .../main/xar-resources/modules}/images.xql | 0 .../main/xar-resources/modules}/list.xql | 0 .../main/xar-resources/modules}/login.xql | 0 .../main/xar-resources/modules}/menu.xql | 0 .../main/xar-resources/modules}/migrate.xql | 0 .../main/xar-resources/modules}/restxq.xql | 0 .../main/xar-resources/modules}/search.xql | 0 .../main/xar-resources/modules}/sitemap.xql | 0 .../main/xar-resources/modules}/store.xql | 0 .../main/xar-resources/modules}/themes.xql | 0 .../xar-resources/modules}/upload-image.xql | 0 .../main/xar-resources/modules}/upload.xql | 0 .../main/xar-resources/modules}/users.xql | 0 .../main/xar-resources/modules}/util.xql | 0 .../main/xar-resources/modules}/view.xql | 0 .../main/xar-resources/post-install.xq | 0 .../main/xar-resources/pre-install.xq | 0 .../main/xar-resources/preview.html | 0 .../xar-resources/resources}/images/add.png | Bin .../resources}/images/comment-add.png | Bin .../resources}/images/comment.png | Bin .../resources}/images/comment_add.png | Bin .../resources}/images/delete.png | Bin .../xar-resources/resources}/images/error.png | Bin .../scripts/annotations/annotate.js | 0 .../resources}/scripts/annotations/editor.js | 0 .../resources}/scripts/annotations/images.js | 0 .../resources}/scripts/annotations/util.js | 0 .../resources}/scripts/atomic/ace-modes.js | 0 .../aloha/environment/css/environment.css | 0 .../aloha/environment/img/java-button.gif | Bin .../aloha/environment/img/xml-button.gif | Bin .../aloha/environment/img/xquery-button.gif | Bin .../atomic/aloha/environment/img/xquery.jpg | Bin .../environment/lib/environment-plugin.js | 0 .../resources}/scripts/atomic/attachments.js | 0 .../resources}/scripts/atomic/code-edit.js | 0 .../resources}/scripts/atomic/common.js | 0 .../resources}/scripts/atomic/editor.js | 0 .../resources}/scripts/atomic/gallery.js | 0 .../resources}/scripts/atomic/highlight.js | 0 .../resources}/scripts/atomic/html-editor.js | 0 .../resources}/scripts/atomic/manage.js | 0 .../scripts/atomic/markup-editor.js | 0 .../resources}/scripts/atomic/users.js | 0 .../resources}/scripts/atomic/wiki-mode.js | 0 .../scripts/bootstrap-tagsinput.css | 0 .../scripts/bootstrap-tagsinput.min.js | 0 .../resources}/scripts/bootstrap.min.js | 0 .../scripts/galleria/galleria-1.2.9.js | 0 .../scripts/galleria/galleria-1.2.9.min.js | 0 .../galleria/themes/classic/arrow-left.png | Bin .../galleria/themes/classic/arrow-right.png | Bin .../themes/classic/classic-loader.gif | Bin .../galleria/themes/classic/classic-map.png | Bin .../themes/classic/fullscreen_256.png | Bin .../themes/classic/fullscreen_256_w.png | Bin .../themes/classic/galleria.classic.css | 0 .../themes/classic/galleria.classic.js | 0 .../themes/classic/galleria.classic.min.js | 0 .../classic/galleria.fullscreen.classic.css | 0 .../classic/galleria.fullscreen.classic.js | 0 .../galleria/themes/classic/pause_b.png | Bin .../galleria/themes/classic/play_b.png | Bin .../galleria/themes/classic/play_w.png | Bin .../resources}/scripts/gallery_new.js | 0 .../xar-resources/resources}/scripts/help.png | Bin .../resources}/scripts/jquery.color.js | 0 .../jquery/bootstrap3-typeahead.min.js | 0 .../resources}/scripts/jquery/icons-rtl.gif | Bin .../resources}/scripts/jquery/icons.gif | Bin .../scripts/jquery/jquery-1.11.3.min.js | 0 .../scripts/jquery/jquery-ui.custom.min.js | 0 .../scripts/jquery/jquery-ui.min.js | 0 .../scripts/jquery/jquery.dynatree.min.js | 0 .../scripts/jquery/jquery.fileupload.js | 0 .../scripts/jquery/jquery.ui.widget.js | 0 .../resources}/scripts/jquery/loading.gif | Bin .../resources}/scripts/jquery/ui.dynatree.css | 0 .../resources}/scripts/jquery/vline-rtl.gif | Bin .../resources}/scripts/jquery/vline.gif | Bin .../resources}/scripts/knockout-3.2.0.js | 0 .../scripts/knockout.mapping-2.4.1.js | 0 .../resources}/scripts/magnifier.png | Bin .../resources}/scripts/page_white_code.png | Bin .../resources}/scripts/page_white_copy.png | Bin .../resources}/scripts/prettify/lang-css.js | 0 .../resources}/scripts/prettify/lang-xq.js | 0 .../resources}/scripts/prettify/prettify.css | 0 .../resources}/scripts/prettify/prettify.js | 0 .../resources}/scripts/printer.png | Bin .../resources}/scripts/rangy-core.js | 0 .../scripts/slick/jquery.event.drag-2.0.js | 0 .../resources}/scripts/slick/slick.core.js | 0 .../resources}/scripts/slick/slick.grid.css | 0 .../resources}/scripts/slick/slick.grid.js | 0 .../scripts/slick/slick.rowselectionmodel.js | 0 .../resources}/scripts/wrapping.png | Bin .../resources}/scripts/wysihtml5/advanced.js | 0 .../resources}/scripts/wysihtml5/simple.js | 0 .../scripts/wysihtml5/wysihtml5-0.3.0.min.js | 0 .../wysihtml5/wysihtml5-0.4.0pre.min.js | 0 xar-assembly.xml | 47 ++ xquery-license-style.xml | 15 + 252 files changed, 779 insertions(+), 130 deletions(-) delete mode 100644 .project create mode 100644 LICENSE rename Readme.md => README.md (71%) delete mode 100644 build.properties delete mode 100644 build.xml delete mode 100644 expath-pkg.xml delete mode 100644 indexes/README.txt delete mode 100644 indexes/collection.xconf create mode 100644 pom.xml delete mode 100644 repo.xml rename collection.xconf => src/main/xar-resources/collection.xconf (100%) rename configuration.xml => src/main/xar-resources/configuration.xml (100%) rename controller.xql => src/main/xar-resources/controller.xql (100%) rename {data => src/main/xar-resources/data}/AtomicWikiWelcome.atom (100%) rename {data => src/main/xar-resources/data}/AtomicWikiWelcome.html (100%) rename {data => src/main/xar-resources/data}/Markdown.atom (100%) rename {data => src/main/xar-resources/data}/Markdown.md (100%) rename {data => src/main/xar-resources/data}/Welcome.atom (100%) rename {data => src/main/xar-resources/data}/Welcome.html (100%) rename {data => src/main/xar-resources/data}/Welcome.md (100%) rename {data => src/main/xar-resources/data}/WikiIntro.atom (100%) rename {data => src/main/xar-resources/data}/WikiIntro.html (100%) rename {data => src/main/xar-resources/data}/_galleries/feed.atom (100%) rename {data => src/main/xar-resources/data}/_galleries/grundlsee.jpg (100%) rename {data => src/main/xar-resources/data}/_galleries/london.jpg (100%) rename {data => src/main/xar-resources/data}/_galleries/trisselwand.jpg (100%) rename {data => src/main/xar-resources/data}/_nav.html (100%) rename {data => src/main/xar-resources/data}/_theme/ImageSelector.html (100%) rename {data => src/main/xar-resources/data}/_theme/change-user.html (100%) rename {data => src/main/xar-resources/data}/_theme/code-edit.html (100%) rename {data => src/main/xar-resources/data}/_theme/edit-feed.html (100%) rename {data => src/main/xar-resources/data}/_theme/feed.html (100%) rename {data => src/main/xar-resources/data}/_theme/html-edit-gallery.html (100%) rename {data => src/main/xar-resources/data}/_theme/html-edit.html (100%) rename {data => src/main/xar-resources/data}/_theme/manage-users.html (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/Quicksand_Book-webfont.eot (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/Quicksand_Book-webfont.svg (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/Quicksand_Book-webfont.ttf (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/Quicksand_Book-webfont.woff (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/bootstrap-theme.css.map (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/bootstrap-theme.min.css (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/bootstrap.css.map (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/bootstrap.min.css (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/editor.css (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/font-awesome.min.css (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/gallery.css (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/jquery-ui.css (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/manage-users.css (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/settings.css (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/settings.less (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/wiki.css (100%) rename {data => src/main/xar-resources/data}/_theme/resources/css/wiki.less (100%) rename {data => src/main/xar-resources/data}/_theme/resources/fonts/FontAwesome.otf (100%) rename {data => src/main/xar-resources/data}/_theme/resources/fonts/fontawesome-webfont.eot (100%) rename {data => src/main/xar-resources/data}/_theme/resources/fonts/fontawesome-webfont.svg (100%) rename {data => src/main/xar-resources/data}/_theme/resources/fonts/fontawesome-webfont.ttf (100%) rename {data => src/main/xar-resources/data}/_theme/resources/fonts/fontawesome-webfont.woff (100%) rename {data => src/main/xar-resources/data}/_theme/resources/fonts/glyphicons-halflings-regular.eot (100%) rename {data => src/main/xar-resources/data}/_theme/resources/fonts/glyphicons-halflings-regular.svg (100%) rename {data => src/main/xar-resources/data}/_theme/resources/fonts/glyphicons-halflings-regular.ttf (100%) rename {data => src/main/xar-resources/data}/_theme/resources/fonts/glyphicons-halflings-regular.woff (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/arrow-left.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/arrow-right.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/bgmenu.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/bgmenuhi.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/body-base.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/body.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/bold.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/bubble.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/code.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/delete-icon.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/existdb.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/feed-icon.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/gallery-black-small.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/gallery-black.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/gallery-white.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/glyphicons-halflings.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/grey-box-bot.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/grey-box-rpt.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/grey-box-top.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/header.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/horizontal.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/italic.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/nav-dropdown.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/nav-dropdown.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/nav.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/noise.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/page-edit-icon.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/plus-with-circle.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/powered-by.svg (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/spr_toolbar_icons_r1.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/twitter-left.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/twitter-right.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/images/twitter-rpt.gif (100%) rename {data => src/main/xar-resources/data}/_theme/resources/img/glyphicons-halflings-white.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/img/glyphicons-halflings.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/img/glyphicons_103_text_underline.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/img/icon_repeat.png (100%) rename {data => src/main/xar-resources/data}/_theme/resources/img/icon_undo.png (100%) rename {data => src/main/xar-resources/data}/_theme/search.html (100%) rename {data => src/main/xar-resources/data}/_theme/templates/page.html (100%) rename {data => src/main/xar-resources/data}/_theme/templates/permissions.html (100%) rename {data => src/main/xar-resources/data}/_theme/theme.xml (100%) rename {data => src/main/xar-resources/data}/_theme/unknown-feed.html (100%) rename {data => src/main/xar-resources/data}/_theme/wiki-edit.html (100%) rename {data => src/main/xar-resources/data}/feed.atom (100%) rename {data => src/main/xar-resources/data}/help/GettingStarted.atom (100%) rename {data => src/main/xar-resources/data}/help/GettingStarted.html (100%) rename {data => src/main/xar-resources/data}/help/GettingStarted.md (100%) rename {data => src/main/xar-resources/data}/help/ListCollectionContents.atom (100%) rename {data => src/main/xar-resources/data}/help/ListCollectionContents.xql (100%) rename {data => src/main/xar-resources/data}/help/Markdown.atom (100%) rename {data => src/main/xar-resources/data}/help/Markdown.html (100%) rename {data => src/main/xar-resources/data}/help/Markdown.md (100%) rename {data => src/main/xar-resources/data}/help/UsersAndGroups.atom (100%) rename {data => src/main/xar-resources/data}/help/UsersAndGroups.html (100%) rename {data => src/main/xar-resources/data}/help/UsersAndGroups.md (100%) rename {data => src/main/xar-resources/data}/help/feed.atom (100%) rename {data => src/main/xar-resources/data}/help/groupmanager.png (100%) rename {data => src/main/xar-resources/data}/help/menubar.png (100%) rename {data => src/main/xar-resources/data}/help/permissions.png (100%) rename {data => src/main/xar-resources/data}/help/sitemap.png (100%) rename {data => src/main/xar-resources/data}/powered-by-whiteglass.svg (100%) rename {data => src/main/xar-resources/data}/screenshot1.png (100%) rename {data => src/main/xar-resources/data}/screenshot2.png (100%) rename {data => src/main/xar-resources/data}/screenshot3.png (100%) rename {data => src/main/xar-resources/data}/util/TwitterUserFeed.atom (100%) rename {data => src/main/xar-resources/data}/util/TwitterUserFeed.xql (100%) rename {data => src/main/xar-resources/data}/util/feed.atom (100%) rename error-page.html => src/main/xar-resources/error-page.html (100%) rename {modules => src/main/xar-resources/modules}/acl.xql (100%) rename {modules => src/main/xar-resources/modules}/annotations.xql (100%) rename {modules => src/main/xar-resources/modules}/app.xql (100%) rename {modules => src/main/xar-resources/modules}/atomic.xql (100%) rename {modules => src/main/xar-resources/modules}/checklogin.xql (100%) rename {modules => src/main/xar-resources/modules}/cleanup.xql (100%) rename {modules => src/main/xar-resources/modules}/config.xqm (100%) rename {modules => src/main/xar-resources/modules}/dates.xql (100%) rename {modules => src/main/xar-resources/modules}/display/image-link-generator.xqm (100%) rename {modules => src/main/xar-resources/modules}/display/image-view.xql (100%) rename {modules => src/main/xar-resources/modules}/display/services.xml (100%) rename {modules => src/main/xar-resources/modules}/edit-menu.xql (100%) rename {modules => src/main/xar-resources/modules}/extensions.xql (100%) rename {modules => src/main/xar-resources/modules}/feeds.xql (100%) rename {modules => src/main/xar-resources/modules}/fix-permissions.xql (100%) rename {modules => src/main/xar-resources/modules}/gallery.xql (100%) rename {modules => src/main/xar-resources/modules}/html2wiki.xql (100%) rename {modules => src/main/xar-resources/modules}/images.xql (100%) rename {modules => src/main/xar-resources/modules}/list.xql (100%) rename {modules => src/main/xar-resources/modules}/login.xql (100%) rename {modules => src/main/xar-resources/modules}/menu.xql (100%) rename {modules => src/main/xar-resources/modules}/migrate.xql (100%) rename {modules => src/main/xar-resources/modules}/restxq.xql (100%) rename {modules => src/main/xar-resources/modules}/search.xql (100%) rename {modules => src/main/xar-resources/modules}/sitemap.xql (100%) rename {modules => src/main/xar-resources/modules}/store.xql (100%) rename {modules => src/main/xar-resources/modules}/themes.xql (100%) rename {modules => src/main/xar-resources/modules}/upload-image.xql (100%) rename {modules => src/main/xar-resources/modules}/upload.xql (100%) rename {modules => src/main/xar-resources/modules}/users.xql (100%) rename {modules => src/main/xar-resources/modules}/util.xql (100%) rename {modules => src/main/xar-resources/modules}/view.xql (100%) rename post-install.xql => src/main/xar-resources/post-install.xq (100%) rename pre-install.xql => src/main/xar-resources/pre-install.xq (100%) rename preview.html => src/main/xar-resources/preview.html (100%) rename {resources => src/main/xar-resources/resources}/images/add.png (100%) rename {resources => src/main/xar-resources/resources}/images/comment-add.png (100%) rename {resources => src/main/xar-resources/resources}/images/comment.png (100%) rename {resources => src/main/xar-resources/resources}/images/comment_add.png (100%) rename {resources => src/main/xar-resources/resources}/images/delete.png (100%) rename {resources => src/main/xar-resources/resources}/images/error.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/annotations/annotate.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/annotations/editor.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/annotations/images.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/annotations/util.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/ace-modes.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/aloha/environment/css/environment.css (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/aloha/environment/img/java-button.gif (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/aloha/environment/img/xml-button.gif (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/aloha/environment/img/xquery-button.gif (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/aloha/environment/img/xquery.jpg (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/aloha/environment/lib/environment-plugin.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/attachments.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/code-edit.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/common.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/editor.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/gallery.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/highlight.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/html-editor.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/manage.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/markup-editor.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/users.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/atomic/wiki-mode.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/bootstrap-tagsinput.css (100%) rename {resources => src/main/xar-resources/resources}/scripts/bootstrap-tagsinput.min.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/bootstrap.min.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/galleria-1.2.9.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/galleria-1.2.9.min.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/arrow-left.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/arrow-right.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/classic-loader.gif (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/classic-map.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/fullscreen_256.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/fullscreen_256_w.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/galleria.classic.css (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/galleria.classic.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/galleria.classic.min.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/galleria.fullscreen.classic.css (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/galleria.fullscreen.classic.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/pause_b.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/play_b.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/galleria/themes/classic/play_w.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/gallery_new.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/help.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery.color.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/bootstrap3-typeahead.min.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/icons-rtl.gif (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/icons.gif (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/jquery-1.11.3.min.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/jquery-ui.custom.min.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/jquery-ui.min.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/jquery.dynatree.min.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/jquery.fileupload.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/jquery.ui.widget.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/loading.gif (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/ui.dynatree.css (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/vline-rtl.gif (100%) rename {resources => src/main/xar-resources/resources}/scripts/jquery/vline.gif (100%) rename {resources => src/main/xar-resources/resources}/scripts/knockout-3.2.0.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/knockout.mapping-2.4.1.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/magnifier.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/page_white_code.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/page_white_copy.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/prettify/lang-css.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/prettify/lang-xq.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/prettify/prettify.css (100%) rename {resources => src/main/xar-resources/resources}/scripts/prettify/prettify.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/printer.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/rangy-core.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/slick/jquery.event.drag-2.0.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/slick/slick.core.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/slick/slick.grid.css (100%) rename {resources => src/main/xar-resources/resources}/scripts/slick/slick.grid.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/slick/slick.rowselectionmodel.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/wrapping.png (100%) rename {resources => src/main/xar-resources/resources}/scripts/wysihtml5/advanced.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/wysihtml5/simple.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/wysihtml5/wysihtml5-0.3.0.min.js (100%) rename {resources => src/main/xar-resources/resources}/scripts/wysihtml5/wysihtml5-0.4.0pre.min.js (100%) create mode 100644 xar-assembly.xml create mode 100644 xquery-license-style.xml diff --git a/.gitignore b/.gitignore index bb8840b..1dc4ab4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ -.idea -java/classes -atomic-wiki.iml -resources/tmp -/build +target/ + +.idea/ +*.iml diff --git a/.project b/.project deleted file mode 100644 index b56f3cf..0000000 --- a/.project +++ /dev/null @@ -1,11 +0,0 @@ - - - AtomicWiki - - - - - - - - diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5ab7695 --- /dev/null +++ b/LICENSE @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/Readme.md b/README.md similarity index 71% rename from Readme.md rename to README.md index 2956922..f5d01df 100644 --- a/Readme.md +++ b/README.md @@ -27,21 +27,22 @@ This version of AtomicWiki is a complete rewrite of the older code base. It is u Download -------- -You can [https://github.com/wolfgangmm/AtomicWiki/downloads](download) a zip containing a ready-to-install application +You can [https://github.com/exist-db/AtomicWiki/downloads](download) a zip containing a ready-to-install application package plus additional libraries required by eXist. Unzip the downloaded archive and proceed with installing jars. -Installing jars ---------------- -You need to copy two .jar files into your eXist-db installation: -* WikiModelV2.jar -* atomicwiki-0.1.jar +## Compilation -Copy them to +* Requirements: Java 8, Apache Maven 3.3+, Git. - EXIST_HOME/lib/user +If you want to create an EXPath Package for the app, you can run: + +```bash +$ mvn package +``` + +There will be a `.xar` file in the `target/` sub-folder. -You'll need to restart eXist-db afterwards so it can pick up the jars. This only needs to be done **once**. Uploading the package --------------------- @@ -52,29 +53,4 @@ file for upload, then click "Upload Package". After installation has finished, y inside the database) should be accessible at: http://localhost:8080/exist/apps/wiki/ - -Building --------- - -AtomicWiki is distributed as a .xar package which can be deployed into an existing eXist-db instance through eXist's -application repository. - -To build AtomicWiki from scratch, -you should first get eXist-db from SVN and build it (build.sh/build.bat). Next, clone eXide into a directory, e.g.: - - git clone git://github.com/wolfgangmm/AtomicWiki.git AtomicWiki - cd AtomicWiki - git submodule update --init --recursive - -Edit the file build.properties and change the property exist.dir to point to the root of your eXist installation (eXist-db > 2.0). This is required to compile the Java modules for parsing wiki markup. - -Next, call ant on the build.xml file in AtomicWiki: - - ant - -You should now find a .xar and a .jar file in the build directory: - -* build/atomicwiki-0.1.xar -* build/atomicwiki-0.1.jar -Install the jar plus any jar found in java/lib into eXist as described above, then upload the .xar package. diff --git a/build.properties b/build.properties deleted file mode 100644 index 61934dd..0000000 --- a/build.properties +++ /dev/null @@ -1,2 +0,0 @@ -project.name=AtomicWiki -project.version=0.7 diff --git a/build.xml b/build.xml deleted file mode 100644 index aa30c43..0000000 --- a/build.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/expath-pkg.xml b/expath-pkg.xml deleted file mode 100644 index 567a010..0000000 --- a/expath-pkg.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - AtomicWiki - - - diff --git a/indexes/README.txt b/indexes/README.txt deleted file mode 100644 index 733d60d..0000000 --- a/indexes/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -# The collection.xconf file has to placed in /db/system/config/db/resources/collection.xconf and is valid for -/db/resources - diff --git a/indexes/collection.xconf b/indexes/collection.xconf deleted file mode 100644 index 61f8fa4..0000000 --- a/indexes/collection.xconf +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..487d3a1 --- /dev/null +++ b/pom.xml @@ -0,0 +1,199 @@ + + + + 4.0.0 + + + org.exist-db + exist-apps-parent + 1.8 + + + + org.exist-db + atomic-wiki + 0.9.0-SNAPSHOT + + AtomicWiki + Wiki application for eXist-db + http://atomic.exist-db.org + + + eXist-db + http://exist-db.org + + + + + GNU Lesser General Public License, version 2.1 + http://opensource.org/licenses/LGPL-2.1 + repo + + + + + https://github.com/exist-db/atomicwiki.git + scm:git:https://github.com/exist-db/atomicwiki.git + scm:git:https://github.com/exist-db/atomicwiki.git + + + + GitHub + https://www.github.com/exist-db/atomicwiki/issues + + + + UTF-8 + 1.8 + 1.8 + + 5.0.0 + + + http://exist-db.org/apps/wiki + + + + + org.exist-db + exist-core + ${exist.version} + + + + + org.exist-db + exist-testkit + ${exist.version} + test + + + junit + junit + test + + + org.xmlunit + xmlunit-core + 2.4.0 + test + + + + + + + + org.apache.maven.plugins + maven-changes-plugin + + false + false + Type, Summary + ${project.basedir} + + + + + github-report + + + + + + + + + + + src/main/xar-resources + true + + templates/** + + + + src/main/xar-resources + false + + templates/** + + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.0.2 + + + + true + true + + + ${build-tag} + ${build-commit} + ${build-commit-abbrev} + ${build-version} + ${build-tstamp} + ${project.scm.connection} + ${project.description} + ${project.url} + + + + + + ro.kuberam.maven.plugins + kuberam-expath-plugin + + + create-xar + package + + make-xar + + + xar-assembly.xml + ${package-final-name} + + + + + + org.apache.maven.plugins + maven-gpg-plugin + + true + + + + org.apache.maven.plugins + maven-release-plugin + + forked-path + + true + @{project.version} + + + + + + + + exist + http://repo.exist-db.org/repository/exist-db + + + + + + clojars.org + http://clojars.org/repo + + + diff --git a/repo.xml b/repo.xml deleted file mode 100644 index a851fbe..0000000 --- a/repo.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - Redesign of AtomicWiki - Wolfgang Meier - Denis Richter - Sabine Meier - Maciek Jerominek - Lars Windauer - Robert Netzschwitz - http://atomic.exist-db.org - alpha - GNU-LGPL - true - application - /db/wiki - pre-install.xql - post-install.xql - - \ No newline at end of file diff --git a/collection.xconf b/src/main/xar-resources/collection.xconf similarity index 100% rename from collection.xconf rename to src/main/xar-resources/collection.xconf diff --git a/configuration.xml b/src/main/xar-resources/configuration.xml similarity index 100% rename from configuration.xml rename to src/main/xar-resources/configuration.xml diff --git a/controller.xql b/src/main/xar-resources/controller.xql similarity index 100% rename from controller.xql rename to src/main/xar-resources/controller.xql diff --git a/data/AtomicWikiWelcome.atom b/src/main/xar-resources/data/AtomicWikiWelcome.atom similarity index 100% rename from data/AtomicWikiWelcome.atom rename to src/main/xar-resources/data/AtomicWikiWelcome.atom diff --git a/data/AtomicWikiWelcome.html b/src/main/xar-resources/data/AtomicWikiWelcome.html similarity index 100% rename from data/AtomicWikiWelcome.html rename to src/main/xar-resources/data/AtomicWikiWelcome.html diff --git a/data/Markdown.atom b/src/main/xar-resources/data/Markdown.atom similarity index 100% rename from data/Markdown.atom rename to src/main/xar-resources/data/Markdown.atom diff --git a/data/Markdown.md b/src/main/xar-resources/data/Markdown.md similarity index 100% rename from data/Markdown.md rename to src/main/xar-resources/data/Markdown.md diff --git a/data/Welcome.atom b/src/main/xar-resources/data/Welcome.atom similarity index 100% rename from data/Welcome.atom rename to src/main/xar-resources/data/Welcome.atom diff --git a/data/Welcome.html b/src/main/xar-resources/data/Welcome.html similarity index 100% rename from data/Welcome.html rename to src/main/xar-resources/data/Welcome.html diff --git a/data/Welcome.md b/src/main/xar-resources/data/Welcome.md similarity index 100% rename from data/Welcome.md rename to src/main/xar-resources/data/Welcome.md diff --git a/data/WikiIntro.atom b/src/main/xar-resources/data/WikiIntro.atom similarity index 100% rename from data/WikiIntro.atom rename to src/main/xar-resources/data/WikiIntro.atom diff --git a/data/WikiIntro.html b/src/main/xar-resources/data/WikiIntro.html similarity index 100% rename from data/WikiIntro.html rename to src/main/xar-resources/data/WikiIntro.html diff --git a/data/_galleries/feed.atom b/src/main/xar-resources/data/_galleries/feed.atom similarity index 100% rename from data/_galleries/feed.atom rename to src/main/xar-resources/data/_galleries/feed.atom diff --git a/data/_galleries/grundlsee.jpg b/src/main/xar-resources/data/_galleries/grundlsee.jpg similarity index 100% rename from data/_galleries/grundlsee.jpg rename to src/main/xar-resources/data/_galleries/grundlsee.jpg diff --git a/data/_galleries/london.jpg b/src/main/xar-resources/data/_galleries/london.jpg similarity index 100% rename from data/_galleries/london.jpg rename to src/main/xar-resources/data/_galleries/london.jpg diff --git a/data/_galleries/trisselwand.jpg b/src/main/xar-resources/data/_galleries/trisselwand.jpg similarity index 100% rename from data/_galleries/trisselwand.jpg rename to src/main/xar-resources/data/_galleries/trisselwand.jpg diff --git a/data/_nav.html b/src/main/xar-resources/data/_nav.html similarity index 100% rename from data/_nav.html rename to src/main/xar-resources/data/_nav.html diff --git a/data/_theme/ImageSelector.html b/src/main/xar-resources/data/_theme/ImageSelector.html similarity index 100% rename from data/_theme/ImageSelector.html rename to src/main/xar-resources/data/_theme/ImageSelector.html diff --git a/data/_theme/change-user.html b/src/main/xar-resources/data/_theme/change-user.html similarity index 100% rename from data/_theme/change-user.html rename to src/main/xar-resources/data/_theme/change-user.html diff --git a/data/_theme/code-edit.html b/src/main/xar-resources/data/_theme/code-edit.html similarity index 100% rename from data/_theme/code-edit.html rename to src/main/xar-resources/data/_theme/code-edit.html diff --git a/data/_theme/edit-feed.html b/src/main/xar-resources/data/_theme/edit-feed.html similarity index 100% rename from data/_theme/edit-feed.html rename to src/main/xar-resources/data/_theme/edit-feed.html diff --git a/data/_theme/feed.html b/src/main/xar-resources/data/_theme/feed.html similarity index 100% rename from data/_theme/feed.html rename to src/main/xar-resources/data/_theme/feed.html diff --git a/data/_theme/html-edit-gallery.html b/src/main/xar-resources/data/_theme/html-edit-gallery.html similarity index 100% rename from data/_theme/html-edit-gallery.html rename to src/main/xar-resources/data/_theme/html-edit-gallery.html diff --git a/data/_theme/html-edit.html b/src/main/xar-resources/data/_theme/html-edit.html similarity index 100% rename from data/_theme/html-edit.html rename to src/main/xar-resources/data/_theme/html-edit.html diff --git a/data/_theme/manage-users.html b/src/main/xar-resources/data/_theme/manage-users.html similarity index 100% rename from data/_theme/manage-users.html rename to src/main/xar-resources/data/_theme/manage-users.html diff --git a/data/_theme/resources/css/Quicksand_Book-webfont.eot b/src/main/xar-resources/data/_theme/resources/css/Quicksand_Book-webfont.eot similarity index 100% rename from data/_theme/resources/css/Quicksand_Book-webfont.eot rename to src/main/xar-resources/data/_theme/resources/css/Quicksand_Book-webfont.eot diff --git a/data/_theme/resources/css/Quicksand_Book-webfont.svg b/src/main/xar-resources/data/_theme/resources/css/Quicksand_Book-webfont.svg similarity index 100% rename from data/_theme/resources/css/Quicksand_Book-webfont.svg rename to src/main/xar-resources/data/_theme/resources/css/Quicksand_Book-webfont.svg diff --git a/data/_theme/resources/css/Quicksand_Book-webfont.ttf b/src/main/xar-resources/data/_theme/resources/css/Quicksand_Book-webfont.ttf similarity index 100% rename from data/_theme/resources/css/Quicksand_Book-webfont.ttf rename to src/main/xar-resources/data/_theme/resources/css/Quicksand_Book-webfont.ttf diff --git a/data/_theme/resources/css/Quicksand_Book-webfont.woff b/src/main/xar-resources/data/_theme/resources/css/Quicksand_Book-webfont.woff similarity index 100% rename from data/_theme/resources/css/Quicksand_Book-webfont.woff rename to src/main/xar-resources/data/_theme/resources/css/Quicksand_Book-webfont.woff diff --git a/data/_theme/resources/css/bootstrap-theme.css.map b/src/main/xar-resources/data/_theme/resources/css/bootstrap-theme.css.map similarity index 100% rename from data/_theme/resources/css/bootstrap-theme.css.map rename to src/main/xar-resources/data/_theme/resources/css/bootstrap-theme.css.map diff --git a/data/_theme/resources/css/bootstrap-theme.min.css b/src/main/xar-resources/data/_theme/resources/css/bootstrap-theme.min.css similarity index 100% rename from data/_theme/resources/css/bootstrap-theme.min.css rename to src/main/xar-resources/data/_theme/resources/css/bootstrap-theme.min.css diff --git a/data/_theme/resources/css/bootstrap.css.map b/src/main/xar-resources/data/_theme/resources/css/bootstrap.css.map similarity index 100% rename from data/_theme/resources/css/bootstrap.css.map rename to src/main/xar-resources/data/_theme/resources/css/bootstrap.css.map diff --git a/data/_theme/resources/css/bootstrap.min.css b/src/main/xar-resources/data/_theme/resources/css/bootstrap.min.css similarity index 100% rename from data/_theme/resources/css/bootstrap.min.css rename to src/main/xar-resources/data/_theme/resources/css/bootstrap.min.css diff --git a/data/_theme/resources/css/editor.css b/src/main/xar-resources/data/_theme/resources/css/editor.css similarity index 100% rename from data/_theme/resources/css/editor.css rename to src/main/xar-resources/data/_theme/resources/css/editor.css diff --git a/data/_theme/resources/css/font-awesome.min.css b/src/main/xar-resources/data/_theme/resources/css/font-awesome.min.css similarity index 100% rename from data/_theme/resources/css/font-awesome.min.css rename to src/main/xar-resources/data/_theme/resources/css/font-awesome.min.css diff --git a/data/_theme/resources/css/gallery.css b/src/main/xar-resources/data/_theme/resources/css/gallery.css similarity index 100% rename from data/_theme/resources/css/gallery.css rename to src/main/xar-resources/data/_theme/resources/css/gallery.css diff --git a/data/_theme/resources/css/jquery-ui.css b/src/main/xar-resources/data/_theme/resources/css/jquery-ui.css similarity index 100% rename from data/_theme/resources/css/jquery-ui.css rename to src/main/xar-resources/data/_theme/resources/css/jquery-ui.css diff --git a/data/_theme/resources/css/manage-users.css b/src/main/xar-resources/data/_theme/resources/css/manage-users.css similarity index 100% rename from data/_theme/resources/css/manage-users.css rename to src/main/xar-resources/data/_theme/resources/css/manage-users.css diff --git a/data/_theme/resources/css/settings.css b/src/main/xar-resources/data/_theme/resources/css/settings.css similarity index 100% rename from data/_theme/resources/css/settings.css rename to src/main/xar-resources/data/_theme/resources/css/settings.css diff --git a/data/_theme/resources/css/settings.less b/src/main/xar-resources/data/_theme/resources/css/settings.less similarity index 100% rename from data/_theme/resources/css/settings.less rename to src/main/xar-resources/data/_theme/resources/css/settings.less diff --git a/data/_theme/resources/css/wiki.css b/src/main/xar-resources/data/_theme/resources/css/wiki.css similarity index 100% rename from data/_theme/resources/css/wiki.css rename to src/main/xar-resources/data/_theme/resources/css/wiki.css diff --git a/data/_theme/resources/css/wiki.less b/src/main/xar-resources/data/_theme/resources/css/wiki.less similarity index 100% rename from data/_theme/resources/css/wiki.less rename to src/main/xar-resources/data/_theme/resources/css/wiki.less diff --git a/data/_theme/resources/fonts/FontAwesome.otf b/src/main/xar-resources/data/_theme/resources/fonts/FontAwesome.otf similarity index 100% rename from data/_theme/resources/fonts/FontAwesome.otf rename to src/main/xar-resources/data/_theme/resources/fonts/FontAwesome.otf diff --git a/data/_theme/resources/fonts/fontawesome-webfont.eot b/src/main/xar-resources/data/_theme/resources/fonts/fontawesome-webfont.eot similarity index 100% rename from data/_theme/resources/fonts/fontawesome-webfont.eot rename to src/main/xar-resources/data/_theme/resources/fonts/fontawesome-webfont.eot diff --git a/data/_theme/resources/fonts/fontawesome-webfont.svg b/src/main/xar-resources/data/_theme/resources/fonts/fontawesome-webfont.svg similarity index 100% rename from data/_theme/resources/fonts/fontawesome-webfont.svg rename to src/main/xar-resources/data/_theme/resources/fonts/fontawesome-webfont.svg diff --git a/data/_theme/resources/fonts/fontawesome-webfont.ttf b/src/main/xar-resources/data/_theme/resources/fonts/fontawesome-webfont.ttf similarity index 100% rename from data/_theme/resources/fonts/fontawesome-webfont.ttf rename to src/main/xar-resources/data/_theme/resources/fonts/fontawesome-webfont.ttf diff --git a/data/_theme/resources/fonts/fontawesome-webfont.woff b/src/main/xar-resources/data/_theme/resources/fonts/fontawesome-webfont.woff similarity index 100% rename from data/_theme/resources/fonts/fontawesome-webfont.woff rename to src/main/xar-resources/data/_theme/resources/fonts/fontawesome-webfont.woff diff --git a/data/_theme/resources/fonts/glyphicons-halflings-regular.eot b/src/main/xar-resources/data/_theme/resources/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from data/_theme/resources/fonts/glyphicons-halflings-regular.eot rename to src/main/xar-resources/data/_theme/resources/fonts/glyphicons-halflings-regular.eot diff --git a/data/_theme/resources/fonts/glyphicons-halflings-regular.svg b/src/main/xar-resources/data/_theme/resources/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from data/_theme/resources/fonts/glyphicons-halflings-regular.svg rename to src/main/xar-resources/data/_theme/resources/fonts/glyphicons-halflings-regular.svg diff --git a/data/_theme/resources/fonts/glyphicons-halflings-regular.ttf b/src/main/xar-resources/data/_theme/resources/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from data/_theme/resources/fonts/glyphicons-halflings-regular.ttf rename to src/main/xar-resources/data/_theme/resources/fonts/glyphicons-halflings-regular.ttf diff --git a/data/_theme/resources/fonts/glyphicons-halflings-regular.woff b/src/main/xar-resources/data/_theme/resources/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from data/_theme/resources/fonts/glyphicons-halflings-regular.woff rename to src/main/xar-resources/data/_theme/resources/fonts/glyphicons-halflings-regular.woff diff --git a/data/_theme/resources/images/arrow-left.png b/src/main/xar-resources/data/_theme/resources/images/arrow-left.png similarity index 100% rename from data/_theme/resources/images/arrow-left.png rename to src/main/xar-resources/data/_theme/resources/images/arrow-left.png diff --git a/data/_theme/resources/images/arrow-right.png b/src/main/xar-resources/data/_theme/resources/images/arrow-right.png similarity index 100% rename from data/_theme/resources/images/arrow-right.png rename to src/main/xar-resources/data/_theme/resources/images/arrow-right.png diff --git a/data/_theme/resources/images/bgmenu.gif b/src/main/xar-resources/data/_theme/resources/images/bgmenu.gif similarity index 100% rename from data/_theme/resources/images/bgmenu.gif rename to src/main/xar-resources/data/_theme/resources/images/bgmenu.gif diff --git a/data/_theme/resources/images/bgmenuhi.gif b/src/main/xar-resources/data/_theme/resources/images/bgmenuhi.gif similarity index 100% rename from data/_theme/resources/images/bgmenuhi.gif rename to src/main/xar-resources/data/_theme/resources/images/bgmenuhi.gif diff --git a/data/_theme/resources/images/body-base.gif b/src/main/xar-resources/data/_theme/resources/images/body-base.gif similarity index 100% rename from data/_theme/resources/images/body-base.gif rename to src/main/xar-resources/data/_theme/resources/images/body-base.gif diff --git a/data/_theme/resources/images/body.gif b/src/main/xar-resources/data/_theme/resources/images/body.gif similarity index 100% rename from data/_theme/resources/images/body.gif rename to src/main/xar-resources/data/_theme/resources/images/body.gif diff --git a/data/_theme/resources/images/bold.gif b/src/main/xar-resources/data/_theme/resources/images/bold.gif similarity index 100% rename from data/_theme/resources/images/bold.gif rename to src/main/xar-resources/data/_theme/resources/images/bold.gif diff --git a/data/_theme/resources/images/bubble.gif b/src/main/xar-resources/data/_theme/resources/images/bubble.gif similarity index 100% rename from data/_theme/resources/images/bubble.gif rename to src/main/xar-resources/data/_theme/resources/images/bubble.gif diff --git a/data/_theme/resources/images/code.gif b/src/main/xar-resources/data/_theme/resources/images/code.gif similarity index 100% rename from data/_theme/resources/images/code.gif rename to src/main/xar-resources/data/_theme/resources/images/code.gif diff --git a/data/_theme/resources/images/delete-icon.png b/src/main/xar-resources/data/_theme/resources/images/delete-icon.png similarity index 100% rename from data/_theme/resources/images/delete-icon.png rename to src/main/xar-resources/data/_theme/resources/images/delete-icon.png diff --git a/data/_theme/resources/images/existdb.png b/src/main/xar-resources/data/_theme/resources/images/existdb.png similarity index 100% rename from data/_theme/resources/images/existdb.png rename to src/main/xar-resources/data/_theme/resources/images/existdb.png diff --git a/data/_theme/resources/images/feed-icon.png b/src/main/xar-resources/data/_theme/resources/images/feed-icon.png similarity index 100% rename from data/_theme/resources/images/feed-icon.png rename to src/main/xar-resources/data/_theme/resources/images/feed-icon.png diff --git a/data/_theme/resources/images/gallery-black-small.png b/src/main/xar-resources/data/_theme/resources/images/gallery-black-small.png similarity index 100% rename from data/_theme/resources/images/gallery-black-small.png rename to src/main/xar-resources/data/_theme/resources/images/gallery-black-small.png diff --git a/data/_theme/resources/images/gallery-black.png b/src/main/xar-resources/data/_theme/resources/images/gallery-black.png similarity index 100% rename from data/_theme/resources/images/gallery-black.png rename to src/main/xar-resources/data/_theme/resources/images/gallery-black.png diff --git a/data/_theme/resources/images/gallery-white.png b/src/main/xar-resources/data/_theme/resources/images/gallery-white.png similarity index 100% rename from data/_theme/resources/images/gallery-white.png rename to src/main/xar-resources/data/_theme/resources/images/gallery-white.png diff --git a/data/_theme/resources/images/glyphicons-halflings.png b/src/main/xar-resources/data/_theme/resources/images/glyphicons-halflings.png similarity index 100% rename from data/_theme/resources/images/glyphicons-halflings.png rename to src/main/xar-resources/data/_theme/resources/images/glyphicons-halflings.png diff --git a/data/_theme/resources/images/grey-box-bot.gif b/src/main/xar-resources/data/_theme/resources/images/grey-box-bot.gif similarity index 100% rename from data/_theme/resources/images/grey-box-bot.gif rename to src/main/xar-resources/data/_theme/resources/images/grey-box-bot.gif diff --git a/data/_theme/resources/images/grey-box-rpt.gif b/src/main/xar-resources/data/_theme/resources/images/grey-box-rpt.gif similarity index 100% rename from data/_theme/resources/images/grey-box-rpt.gif rename to src/main/xar-resources/data/_theme/resources/images/grey-box-rpt.gif diff --git a/data/_theme/resources/images/grey-box-top.gif b/src/main/xar-resources/data/_theme/resources/images/grey-box-top.gif similarity index 100% rename from data/_theme/resources/images/grey-box-top.gif rename to src/main/xar-resources/data/_theme/resources/images/grey-box-top.gif diff --git a/data/_theme/resources/images/header.gif b/src/main/xar-resources/data/_theme/resources/images/header.gif similarity index 100% rename from data/_theme/resources/images/header.gif rename to src/main/xar-resources/data/_theme/resources/images/header.gif diff --git a/data/_theme/resources/images/horizontal.gif b/src/main/xar-resources/data/_theme/resources/images/horizontal.gif similarity index 100% rename from data/_theme/resources/images/horizontal.gif rename to src/main/xar-resources/data/_theme/resources/images/horizontal.gif diff --git a/data/_theme/resources/images/italic.gif b/src/main/xar-resources/data/_theme/resources/images/italic.gif similarity index 100% rename from data/_theme/resources/images/italic.gif rename to src/main/xar-resources/data/_theme/resources/images/italic.gif diff --git a/data/_theme/resources/images/nav-dropdown.gif b/src/main/xar-resources/data/_theme/resources/images/nav-dropdown.gif similarity index 100% rename from data/_theme/resources/images/nav-dropdown.gif rename to src/main/xar-resources/data/_theme/resources/images/nav-dropdown.gif diff --git a/data/_theme/resources/images/nav-dropdown.png b/src/main/xar-resources/data/_theme/resources/images/nav-dropdown.png similarity index 100% rename from data/_theme/resources/images/nav-dropdown.png rename to src/main/xar-resources/data/_theme/resources/images/nav-dropdown.png diff --git a/data/_theme/resources/images/nav.gif b/src/main/xar-resources/data/_theme/resources/images/nav.gif similarity index 100% rename from data/_theme/resources/images/nav.gif rename to src/main/xar-resources/data/_theme/resources/images/nav.gif diff --git a/data/_theme/resources/images/noise.png b/src/main/xar-resources/data/_theme/resources/images/noise.png similarity index 100% rename from data/_theme/resources/images/noise.png rename to src/main/xar-resources/data/_theme/resources/images/noise.png diff --git a/data/_theme/resources/images/page-edit-icon.png b/src/main/xar-resources/data/_theme/resources/images/page-edit-icon.png similarity index 100% rename from data/_theme/resources/images/page-edit-icon.png rename to src/main/xar-resources/data/_theme/resources/images/page-edit-icon.png diff --git a/data/_theme/resources/images/plus-with-circle.png b/src/main/xar-resources/data/_theme/resources/images/plus-with-circle.png similarity index 100% rename from data/_theme/resources/images/plus-with-circle.png rename to src/main/xar-resources/data/_theme/resources/images/plus-with-circle.png diff --git a/data/_theme/resources/images/powered-by.svg b/src/main/xar-resources/data/_theme/resources/images/powered-by.svg similarity index 100% rename from data/_theme/resources/images/powered-by.svg rename to src/main/xar-resources/data/_theme/resources/images/powered-by.svg diff --git a/data/_theme/resources/images/spr_toolbar_icons_r1.png b/src/main/xar-resources/data/_theme/resources/images/spr_toolbar_icons_r1.png similarity index 100% rename from data/_theme/resources/images/spr_toolbar_icons_r1.png rename to src/main/xar-resources/data/_theme/resources/images/spr_toolbar_icons_r1.png diff --git a/data/_theme/resources/images/twitter-left.gif b/src/main/xar-resources/data/_theme/resources/images/twitter-left.gif similarity index 100% rename from data/_theme/resources/images/twitter-left.gif rename to src/main/xar-resources/data/_theme/resources/images/twitter-left.gif diff --git a/data/_theme/resources/images/twitter-right.gif b/src/main/xar-resources/data/_theme/resources/images/twitter-right.gif similarity index 100% rename from data/_theme/resources/images/twitter-right.gif rename to src/main/xar-resources/data/_theme/resources/images/twitter-right.gif diff --git a/data/_theme/resources/images/twitter-rpt.gif b/src/main/xar-resources/data/_theme/resources/images/twitter-rpt.gif similarity index 100% rename from data/_theme/resources/images/twitter-rpt.gif rename to src/main/xar-resources/data/_theme/resources/images/twitter-rpt.gif diff --git a/data/_theme/resources/img/glyphicons-halflings-white.png b/src/main/xar-resources/data/_theme/resources/img/glyphicons-halflings-white.png similarity index 100% rename from data/_theme/resources/img/glyphicons-halflings-white.png rename to src/main/xar-resources/data/_theme/resources/img/glyphicons-halflings-white.png diff --git a/data/_theme/resources/img/glyphicons-halflings.png b/src/main/xar-resources/data/_theme/resources/img/glyphicons-halflings.png similarity index 100% rename from data/_theme/resources/img/glyphicons-halflings.png rename to src/main/xar-resources/data/_theme/resources/img/glyphicons-halflings.png diff --git a/data/_theme/resources/img/glyphicons_103_text_underline.png b/src/main/xar-resources/data/_theme/resources/img/glyphicons_103_text_underline.png similarity index 100% rename from data/_theme/resources/img/glyphicons_103_text_underline.png rename to src/main/xar-resources/data/_theme/resources/img/glyphicons_103_text_underline.png diff --git a/data/_theme/resources/img/icon_repeat.png b/src/main/xar-resources/data/_theme/resources/img/icon_repeat.png similarity index 100% rename from data/_theme/resources/img/icon_repeat.png rename to src/main/xar-resources/data/_theme/resources/img/icon_repeat.png diff --git a/data/_theme/resources/img/icon_undo.png b/src/main/xar-resources/data/_theme/resources/img/icon_undo.png similarity index 100% rename from data/_theme/resources/img/icon_undo.png rename to src/main/xar-resources/data/_theme/resources/img/icon_undo.png diff --git a/data/_theme/search.html b/src/main/xar-resources/data/_theme/search.html similarity index 100% rename from data/_theme/search.html rename to src/main/xar-resources/data/_theme/search.html diff --git a/data/_theme/templates/page.html b/src/main/xar-resources/data/_theme/templates/page.html similarity index 100% rename from data/_theme/templates/page.html rename to src/main/xar-resources/data/_theme/templates/page.html diff --git a/data/_theme/templates/permissions.html b/src/main/xar-resources/data/_theme/templates/permissions.html similarity index 100% rename from data/_theme/templates/permissions.html rename to src/main/xar-resources/data/_theme/templates/permissions.html diff --git a/data/_theme/theme.xml b/src/main/xar-resources/data/_theme/theme.xml similarity index 100% rename from data/_theme/theme.xml rename to src/main/xar-resources/data/_theme/theme.xml diff --git a/data/_theme/unknown-feed.html b/src/main/xar-resources/data/_theme/unknown-feed.html similarity index 100% rename from data/_theme/unknown-feed.html rename to src/main/xar-resources/data/_theme/unknown-feed.html diff --git a/data/_theme/wiki-edit.html b/src/main/xar-resources/data/_theme/wiki-edit.html similarity index 100% rename from data/_theme/wiki-edit.html rename to src/main/xar-resources/data/_theme/wiki-edit.html diff --git a/data/feed.atom b/src/main/xar-resources/data/feed.atom similarity index 100% rename from data/feed.atom rename to src/main/xar-resources/data/feed.atom diff --git a/data/help/GettingStarted.atom b/src/main/xar-resources/data/help/GettingStarted.atom similarity index 100% rename from data/help/GettingStarted.atom rename to src/main/xar-resources/data/help/GettingStarted.atom diff --git a/data/help/GettingStarted.html b/src/main/xar-resources/data/help/GettingStarted.html similarity index 100% rename from data/help/GettingStarted.html rename to src/main/xar-resources/data/help/GettingStarted.html diff --git a/data/help/GettingStarted.md b/src/main/xar-resources/data/help/GettingStarted.md similarity index 100% rename from data/help/GettingStarted.md rename to src/main/xar-resources/data/help/GettingStarted.md diff --git a/data/help/ListCollectionContents.atom b/src/main/xar-resources/data/help/ListCollectionContents.atom similarity index 100% rename from data/help/ListCollectionContents.atom rename to src/main/xar-resources/data/help/ListCollectionContents.atom diff --git a/data/help/ListCollectionContents.xql b/src/main/xar-resources/data/help/ListCollectionContents.xql similarity index 100% rename from data/help/ListCollectionContents.xql rename to src/main/xar-resources/data/help/ListCollectionContents.xql diff --git a/data/help/Markdown.atom b/src/main/xar-resources/data/help/Markdown.atom similarity index 100% rename from data/help/Markdown.atom rename to src/main/xar-resources/data/help/Markdown.atom diff --git a/data/help/Markdown.html b/src/main/xar-resources/data/help/Markdown.html similarity index 100% rename from data/help/Markdown.html rename to src/main/xar-resources/data/help/Markdown.html diff --git a/data/help/Markdown.md b/src/main/xar-resources/data/help/Markdown.md similarity index 100% rename from data/help/Markdown.md rename to src/main/xar-resources/data/help/Markdown.md diff --git a/data/help/UsersAndGroups.atom b/src/main/xar-resources/data/help/UsersAndGroups.atom similarity index 100% rename from data/help/UsersAndGroups.atom rename to src/main/xar-resources/data/help/UsersAndGroups.atom diff --git a/data/help/UsersAndGroups.html b/src/main/xar-resources/data/help/UsersAndGroups.html similarity index 100% rename from data/help/UsersAndGroups.html rename to src/main/xar-resources/data/help/UsersAndGroups.html diff --git a/data/help/UsersAndGroups.md b/src/main/xar-resources/data/help/UsersAndGroups.md similarity index 100% rename from data/help/UsersAndGroups.md rename to src/main/xar-resources/data/help/UsersAndGroups.md diff --git a/data/help/feed.atom b/src/main/xar-resources/data/help/feed.atom similarity index 100% rename from data/help/feed.atom rename to src/main/xar-resources/data/help/feed.atom diff --git a/data/help/groupmanager.png b/src/main/xar-resources/data/help/groupmanager.png similarity index 100% rename from data/help/groupmanager.png rename to src/main/xar-resources/data/help/groupmanager.png diff --git a/data/help/menubar.png b/src/main/xar-resources/data/help/menubar.png similarity index 100% rename from data/help/menubar.png rename to src/main/xar-resources/data/help/menubar.png diff --git a/data/help/permissions.png b/src/main/xar-resources/data/help/permissions.png similarity index 100% rename from data/help/permissions.png rename to src/main/xar-resources/data/help/permissions.png diff --git a/data/help/sitemap.png b/src/main/xar-resources/data/help/sitemap.png similarity index 100% rename from data/help/sitemap.png rename to src/main/xar-resources/data/help/sitemap.png diff --git a/data/powered-by-whiteglass.svg b/src/main/xar-resources/data/powered-by-whiteglass.svg similarity index 100% rename from data/powered-by-whiteglass.svg rename to src/main/xar-resources/data/powered-by-whiteglass.svg diff --git a/data/screenshot1.png b/src/main/xar-resources/data/screenshot1.png similarity index 100% rename from data/screenshot1.png rename to src/main/xar-resources/data/screenshot1.png diff --git a/data/screenshot2.png b/src/main/xar-resources/data/screenshot2.png similarity index 100% rename from data/screenshot2.png rename to src/main/xar-resources/data/screenshot2.png diff --git a/data/screenshot3.png b/src/main/xar-resources/data/screenshot3.png similarity index 100% rename from data/screenshot3.png rename to src/main/xar-resources/data/screenshot3.png diff --git a/data/util/TwitterUserFeed.atom b/src/main/xar-resources/data/util/TwitterUserFeed.atom similarity index 100% rename from data/util/TwitterUserFeed.atom rename to src/main/xar-resources/data/util/TwitterUserFeed.atom diff --git a/data/util/TwitterUserFeed.xql b/src/main/xar-resources/data/util/TwitterUserFeed.xql similarity index 100% rename from data/util/TwitterUserFeed.xql rename to src/main/xar-resources/data/util/TwitterUserFeed.xql diff --git a/data/util/feed.atom b/src/main/xar-resources/data/util/feed.atom similarity index 100% rename from data/util/feed.atom rename to src/main/xar-resources/data/util/feed.atom diff --git a/error-page.html b/src/main/xar-resources/error-page.html similarity index 100% rename from error-page.html rename to src/main/xar-resources/error-page.html diff --git a/modules/acl.xql b/src/main/xar-resources/modules/acl.xql similarity index 100% rename from modules/acl.xql rename to src/main/xar-resources/modules/acl.xql diff --git a/modules/annotations.xql b/src/main/xar-resources/modules/annotations.xql similarity index 100% rename from modules/annotations.xql rename to src/main/xar-resources/modules/annotations.xql diff --git a/modules/app.xql b/src/main/xar-resources/modules/app.xql similarity index 100% rename from modules/app.xql rename to src/main/xar-resources/modules/app.xql diff --git a/modules/atomic.xql b/src/main/xar-resources/modules/atomic.xql similarity index 100% rename from modules/atomic.xql rename to src/main/xar-resources/modules/atomic.xql diff --git a/modules/checklogin.xql b/src/main/xar-resources/modules/checklogin.xql similarity index 100% rename from modules/checklogin.xql rename to src/main/xar-resources/modules/checklogin.xql diff --git a/modules/cleanup.xql b/src/main/xar-resources/modules/cleanup.xql similarity index 100% rename from modules/cleanup.xql rename to src/main/xar-resources/modules/cleanup.xql diff --git a/modules/config.xqm b/src/main/xar-resources/modules/config.xqm similarity index 100% rename from modules/config.xqm rename to src/main/xar-resources/modules/config.xqm diff --git a/modules/dates.xql b/src/main/xar-resources/modules/dates.xql similarity index 100% rename from modules/dates.xql rename to src/main/xar-resources/modules/dates.xql diff --git a/modules/display/image-link-generator.xqm b/src/main/xar-resources/modules/display/image-link-generator.xqm similarity index 100% rename from modules/display/image-link-generator.xqm rename to src/main/xar-resources/modules/display/image-link-generator.xqm diff --git a/modules/display/image-view.xql b/src/main/xar-resources/modules/display/image-view.xql similarity index 100% rename from modules/display/image-view.xql rename to src/main/xar-resources/modules/display/image-view.xql diff --git a/modules/display/services.xml b/src/main/xar-resources/modules/display/services.xml similarity index 100% rename from modules/display/services.xml rename to src/main/xar-resources/modules/display/services.xml diff --git a/modules/edit-menu.xql b/src/main/xar-resources/modules/edit-menu.xql similarity index 100% rename from modules/edit-menu.xql rename to src/main/xar-resources/modules/edit-menu.xql diff --git a/modules/extensions.xql b/src/main/xar-resources/modules/extensions.xql similarity index 100% rename from modules/extensions.xql rename to src/main/xar-resources/modules/extensions.xql diff --git a/modules/feeds.xql b/src/main/xar-resources/modules/feeds.xql similarity index 100% rename from modules/feeds.xql rename to src/main/xar-resources/modules/feeds.xql diff --git a/modules/fix-permissions.xql b/src/main/xar-resources/modules/fix-permissions.xql similarity index 100% rename from modules/fix-permissions.xql rename to src/main/xar-resources/modules/fix-permissions.xql diff --git a/modules/gallery.xql b/src/main/xar-resources/modules/gallery.xql similarity index 100% rename from modules/gallery.xql rename to src/main/xar-resources/modules/gallery.xql diff --git a/modules/html2wiki.xql b/src/main/xar-resources/modules/html2wiki.xql similarity index 100% rename from modules/html2wiki.xql rename to src/main/xar-resources/modules/html2wiki.xql diff --git a/modules/images.xql b/src/main/xar-resources/modules/images.xql similarity index 100% rename from modules/images.xql rename to src/main/xar-resources/modules/images.xql diff --git a/modules/list.xql b/src/main/xar-resources/modules/list.xql similarity index 100% rename from modules/list.xql rename to src/main/xar-resources/modules/list.xql diff --git a/modules/login.xql b/src/main/xar-resources/modules/login.xql similarity index 100% rename from modules/login.xql rename to src/main/xar-resources/modules/login.xql diff --git a/modules/menu.xql b/src/main/xar-resources/modules/menu.xql similarity index 100% rename from modules/menu.xql rename to src/main/xar-resources/modules/menu.xql diff --git a/modules/migrate.xql b/src/main/xar-resources/modules/migrate.xql similarity index 100% rename from modules/migrate.xql rename to src/main/xar-resources/modules/migrate.xql diff --git a/modules/restxq.xql b/src/main/xar-resources/modules/restxq.xql similarity index 100% rename from modules/restxq.xql rename to src/main/xar-resources/modules/restxq.xql diff --git a/modules/search.xql b/src/main/xar-resources/modules/search.xql similarity index 100% rename from modules/search.xql rename to src/main/xar-resources/modules/search.xql diff --git a/modules/sitemap.xql b/src/main/xar-resources/modules/sitemap.xql similarity index 100% rename from modules/sitemap.xql rename to src/main/xar-resources/modules/sitemap.xql diff --git a/modules/store.xql b/src/main/xar-resources/modules/store.xql similarity index 100% rename from modules/store.xql rename to src/main/xar-resources/modules/store.xql diff --git a/modules/themes.xql b/src/main/xar-resources/modules/themes.xql similarity index 100% rename from modules/themes.xql rename to src/main/xar-resources/modules/themes.xql diff --git a/modules/upload-image.xql b/src/main/xar-resources/modules/upload-image.xql similarity index 100% rename from modules/upload-image.xql rename to src/main/xar-resources/modules/upload-image.xql diff --git a/modules/upload.xql b/src/main/xar-resources/modules/upload.xql similarity index 100% rename from modules/upload.xql rename to src/main/xar-resources/modules/upload.xql diff --git a/modules/users.xql b/src/main/xar-resources/modules/users.xql similarity index 100% rename from modules/users.xql rename to src/main/xar-resources/modules/users.xql diff --git a/modules/util.xql b/src/main/xar-resources/modules/util.xql similarity index 100% rename from modules/util.xql rename to src/main/xar-resources/modules/util.xql diff --git a/modules/view.xql b/src/main/xar-resources/modules/view.xql similarity index 100% rename from modules/view.xql rename to src/main/xar-resources/modules/view.xql diff --git a/post-install.xql b/src/main/xar-resources/post-install.xq similarity index 100% rename from post-install.xql rename to src/main/xar-resources/post-install.xq diff --git a/pre-install.xql b/src/main/xar-resources/pre-install.xq similarity index 100% rename from pre-install.xql rename to src/main/xar-resources/pre-install.xq diff --git a/preview.html b/src/main/xar-resources/preview.html similarity index 100% rename from preview.html rename to src/main/xar-resources/preview.html diff --git a/resources/images/add.png b/src/main/xar-resources/resources/images/add.png similarity index 100% rename from resources/images/add.png rename to src/main/xar-resources/resources/images/add.png diff --git a/resources/images/comment-add.png b/src/main/xar-resources/resources/images/comment-add.png similarity index 100% rename from resources/images/comment-add.png rename to src/main/xar-resources/resources/images/comment-add.png diff --git a/resources/images/comment.png b/src/main/xar-resources/resources/images/comment.png similarity index 100% rename from resources/images/comment.png rename to src/main/xar-resources/resources/images/comment.png diff --git a/resources/images/comment_add.png b/src/main/xar-resources/resources/images/comment_add.png similarity index 100% rename from resources/images/comment_add.png rename to src/main/xar-resources/resources/images/comment_add.png diff --git a/resources/images/delete.png b/src/main/xar-resources/resources/images/delete.png similarity index 100% rename from resources/images/delete.png rename to src/main/xar-resources/resources/images/delete.png diff --git a/resources/images/error.png b/src/main/xar-resources/resources/images/error.png similarity index 100% rename from resources/images/error.png rename to src/main/xar-resources/resources/images/error.png diff --git a/resources/scripts/annotations/annotate.js b/src/main/xar-resources/resources/scripts/annotations/annotate.js similarity index 100% rename from resources/scripts/annotations/annotate.js rename to src/main/xar-resources/resources/scripts/annotations/annotate.js diff --git a/resources/scripts/annotations/editor.js b/src/main/xar-resources/resources/scripts/annotations/editor.js similarity index 100% rename from resources/scripts/annotations/editor.js rename to src/main/xar-resources/resources/scripts/annotations/editor.js diff --git a/resources/scripts/annotations/images.js b/src/main/xar-resources/resources/scripts/annotations/images.js similarity index 100% rename from resources/scripts/annotations/images.js rename to src/main/xar-resources/resources/scripts/annotations/images.js diff --git a/resources/scripts/annotations/util.js b/src/main/xar-resources/resources/scripts/annotations/util.js similarity index 100% rename from resources/scripts/annotations/util.js rename to src/main/xar-resources/resources/scripts/annotations/util.js diff --git a/resources/scripts/atomic/ace-modes.js b/src/main/xar-resources/resources/scripts/atomic/ace-modes.js similarity index 100% rename from resources/scripts/atomic/ace-modes.js rename to src/main/xar-resources/resources/scripts/atomic/ace-modes.js diff --git a/resources/scripts/atomic/aloha/environment/css/environment.css b/src/main/xar-resources/resources/scripts/atomic/aloha/environment/css/environment.css similarity index 100% rename from resources/scripts/atomic/aloha/environment/css/environment.css rename to src/main/xar-resources/resources/scripts/atomic/aloha/environment/css/environment.css diff --git a/resources/scripts/atomic/aloha/environment/img/java-button.gif b/src/main/xar-resources/resources/scripts/atomic/aloha/environment/img/java-button.gif similarity index 100% rename from resources/scripts/atomic/aloha/environment/img/java-button.gif rename to src/main/xar-resources/resources/scripts/atomic/aloha/environment/img/java-button.gif diff --git a/resources/scripts/atomic/aloha/environment/img/xml-button.gif b/src/main/xar-resources/resources/scripts/atomic/aloha/environment/img/xml-button.gif similarity index 100% rename from resources/scripts/atomic/aloha/environment/img/xml-button.gif rename to src/main/xar-resources/resources/scripts/atomic/aloha/environment/img/xml-button.gif diff --git a/resources/scripts/atomic/aloha/environment/img/xquery-button.gif b/src/main/xar-resources/resources/scripts/atomic/aloha/environment/img/xquery-button.gif similarity index 100% rename from resources/scripts/atomic/aloha/environment/img/xquery-button.gif rename to src/main/xar-resources/resources/scripts/atomic/aloha/environment/img/xquery-button.gif diff --git a/resources/scripts/atomic/aloha/environment/img/xquery.jpg b/src/main/xar-resources/resources/scripts/atomic/aloha/environment/img/xquery.jpg similarity index 100% rename from resources/scripts/atomic/aloha/environment/img/xquery.jpg rename to src/main/xar-resources/resources/scripts/atomic/aloha/environment/img/xquery.jpg diff --git a/resources/scripts/atomic/aloha/environment/lib/environment-plugin.js b/src/main/xar-resources/resources/scripts/atomic/aloha/environment/lib/environment-plugin.js similarity index 100% rename from resources/scripts/atomic/aloha/environment/lib/environment-plugin.js rename to src/main/xar-resources/resources/scripts/atomic/aloha/environment/lib/environment-plugin.js diff --git a/resources/scripts/atomic/attachments.js b/src/main/xar-resources/resources/scripts/atomic/attachments.js similarity index 100% rename from resources/scripts/atomic/attachments.js rename to src/main/xar-resources/resources/scripts/atomic/attachments.js diff --git a/resources/scripts/atomic/code-edit.js b/src/main/xar-resources/resources/scripts/atomic/code-edit.js similarity index 100% rename from resources/scripts/atomic/code-edit.js rename to src/main/xar-resources/resources/scripts/atomic/code-edit.js diff --git a/resources/scripts/atomic/common.js b/src/main/xar-resources/resources/scripts/atomic/common.js similarity index 100% rename from resources/scripts/atomic/common.js rename to src/main/xar-resources/resources/scripts/atomic/common.js diff --git a/resources/scripts/atomic/editor.js b/src/main/xar-resources/resources/scripts/atomic/editor.js similarity index 100% rename from resources/scripts/atomic/editor.js rename to src/main/xar-resources/resources/scripts/atomic/editor.js diff --git a/resources/scripts/atomic/gallery.js b/src/main/xar-resources/resources/scripts/atomic/gallery.js similarity index 100% rename from resources/scripts/atomic/gallery.js rename to src/main/xar-resources/resources/scripts/atomic/gallery.js diff --git a/resources/scripts/atomic/highlight.js b/src/main/xar-resources/resources/scripts/atomic/highlight.js similarity index 100% rename from resources/scripts/atomic/highlight.js rename to src/main/xar-resources/resources/scripts/atomic/highlight.js diff --git a/resources/scripts/atomic/html-editor.js b/src/main/xar-resources/resources/scripts/atomic/html-editor.js similarity index 100% rename from resources/scripts/atomic/html-editor.js rename to src/main/xar-resources/resources/scripts/atomic/html-editor.js diff --git a/resources/scripts/atomic/manage.js b/src/main/xar-resources/resources/scripts/atomic/manage.js similarity index 100% rename from resources/scripts/atomic/manage.js rename to src/main/xar-resources/resources/scripts/atomic/manage.js diff --git a/resources/scripts/atomic/markup-editor.js b/src/main/xar-resources/resources/scripts/atomic/markup-editor.js similarity index 100% rename from resources/scripts/atomic/markup-editor.js rename to src/main/xar-resources/resources/scripts/atomic/markup-editor.js diff --git a/resources/scripts/atomic/users.js b/src/main/xar-resources/resources/scripts/atomic/users.js similarity index 100% rename from resources/scripts/atomic/users.js rename to src/main/xar-resources/resources/scripts/atomic/users.js diff --git a/resources/scripts/atomic/wiki-mode.js b/src/main/xar-resources/resources/scripts/atomic/wiki-mode.js similarity index 100% rename from resources/scripts/atomic/wiki-mode.js rename to src/main/xar-resources/resources/scripts/atomic/wiki-mode.js diff --git a/resources/scripts/bootstrap-tagsinput.css b/src/main/xar-resources/resources/scripts/bootstrap-tagsinput.css similarity index 100% rename from resources/scripts/bootstrap-tagsinput.css rename to src/main/xar-resources/resources/scripts/bootstrap-tagsinput.css diff --git a/resources/scripts/bootstrap-tagsinput.min.js b/src/main/xar-resources/resources/scripts/bootstrap-tagsinput.min.js similarity index 100% rename from resources/scripts/bootstrap-tagsinput.min.js rename to src/main/xar-resources/resources/scripts/bootstrap-tagsinput.min.js diff --git a/resources/scripts/bootstrap.min.js b/src/main/xar-resources/resources/scripts/bootstrap.min.js similarity index 100% rename from resources/scripts/bootstrap.min.js rename to src/main/xar-resources/resources/scripts/bootstrap.min.js diff --git a/resources/scripts/galleria/galleria-1.2.9.js b/src/main/xar-resources/resources/scripts/galleria/galleria-1.2.9.js similarity index 100% rename from resources/scripts/galleria/galleria-1.2.9.js rename to src/main/xar-resources/resources/scripts/galleria/galleria-1.2.9.js diff --git a/resources/scripts/galleria/galleria-1.2.9.min.js b/src/main/xar-resources/resources/scripts/galleria/galleria-1.2.9.min.js similarity index 100% rename from resources/scripts/galleria/galleria-1.2.9.min.js rename to src/main/xar-resources/resources/scripts/galleria/galleria-1.2.9.min.js diff --git a/resources/scripts/galleria/themes/classic/arrow-left.png b/src/main/xar-resources/resources/scripts/galleria/themes/classic/arrow-left.png similarity index 100% rename from resources/scripts/galleria/themes/classic/arrow-left.png rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/arrow-left.png diff --git a/resources/scripts/galleria/themes/classic/arrow-right.png b/src/main/xar-resources/resources/scripts/galleria/themes/classic/arrow-right.png similarity index 100% rename from resources/scripts/galleria/themes/classic/arrow-right.png rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/arrow-right.png diff --git a/resources/scripts/galleria/themes/classic/classic-loader.gif b/src/main/xar-resources/resources/scripts/galleria/themes/classic/classic-loader.gif similarity index 100% rename from resources/scripts/galleria/themes/classic/classic-loader.gif rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/classic-loader.gif diff --git a/resources/scripts/galleria/themes/classic/classic-map.png b/src/main/xar-resources/resources/scripts/galleria/themes/classic/classic-map.png similarity index 100% rename from resources/scripts/galleria/themes/classic/classic-map.png rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/classic-map.png diff --git a/resources/scripts/galleria/themes/classic/fullscreen_256.png b/src/main/xar-resources/resources/scripts/galleria/themes/classic/fullscreen_256.png similarity index 100% rename from resources/scripts/galleria/themes/classic/fullscreen_256.png rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/fullscreen_256.png diff --git a/resources/scripts/galleria/themes/classic/fullscreen_256_w.png b/src/main/xar-resources/resources/scripts/galleria/themes/classic/fullscreen_256_w.png similarity index 100% rename from resources/scripts/galleria/themes/classic/fullscreen_256_w.png rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/fullscreen_256_w.png diff --git a/resources/scripts/galleria/themes/classic/galleria.classic.css b/src/main/xar-resources/resources/scripts/galleria/themes/classic/galleria.classic.css similarity index 100% rename from resources/scripts/galleria/themes/classic/galleria.classic.css rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/galleria.classic.css diff --git a/resources/scripts/galleria/themes/classic/galleria.classic.js b/src/main/xar-resources/resources/scripts/galleria/themes/classic/galleria.classic.js similarity index 100% rename from resources/scripts/galleria/themes/classic/galleria.classic.js rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/galleria.classic.js diff --git a/resources/scripts/galleria/themes/classic/galleria.classic.min.js b/src/main/xar-resources/resources/scripts/galleria/themes/classic/galleria.classic.min.js similarity index 100% rename from resources/scripts/galleria/themes/classic/galleria.classic.min.js rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/galleria.classic.min.js diff --git a/resources/scripts/galleria/themes/classic/galleria.fullscreen.classic.css b/src/main/xar-resources/resources/scripts/galleria/themes/classic/galleria.fullscreen.classic.css similarity index 100% rename from resources/scripts/galleria/themes/classic/galleria.fullscreen.classic.css rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/galleria.fullscreen.classic.css diff --git a/resources/scripts/galleria/themes/classic/galleria.fullscreen.classic.js b/src/main/xar-resources/resources/scripts/galleria/themes/classic/galleria.fullscreen.classic.js similarity index 100% rename from resources/scripts/galleria/themes/classic/galleria.fullscreen.classic.js rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/galleria.fullscreen.classic.js diff --git a/resources/scripts/galleria/themes/classic/pause_b.png b/src/main/xar-resources/resources/scripts/galleria/themes/classic/pause_b.png similarity index 100% rename from resources/scripts/galleria/themes/classic/pause_b.png rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/pause_b.png diff --git a/resources/scripts/galleria/themes/classic/play_b.png b/src/main/xar-resources/resources/scripts/galleria/themes/classic/play_b.png similarity index 100% rename from resources/scripts/galleria/themes/classic/play_b.png rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/play_b.png diff --git a/resources/scripts/galleria/themes/classic/play_w.png b/src/main/xar-resources/resources/scripts/galleria/themes/classic/play_w.png similarity index 100% rename from resources/scripts/galleria/themes/classic/play_w.png rename to src/main/xar-resources/resources/scripts/galleria/themes/classic/play_w.png diff --git a/resources/scripts/gallery_new.js b/src/main/xar-resources/resources/scripts/gallery_new.js similarity index 100% rename from resources/scripts/gallery_new.js rename to src/main/xar-resources/resources/scripts/gallery_new.js diff --git a/resources/scripts/help.png b/src/main/xar-resources/resources/scripts/help.png similarity index 100% rename from resources/scripts/help.png rename to src/main/xar-resources/resources/scripts/help.png diff --git a/resources/scripts/jquery.color.js b/src/main/xar-resources/resources/scripts/jquery.color.js similarity index 100% rename from resources/scripts/jquery.color.js rename to src/main/xar-resources/resources/scripts/jquery.color.js diff --git a/resources/scripts/jquery/bootstrap3-typeahead.min.js b/src/main/xar-resources/resources/scripts/jquery/bootstrap3-typeahead.min.js similarity index 100% rename from resources/scripts/jquery/bootstrap3-typeahead.min.js rename to src/main/xar-resources/resources/scripts/jquery/bootstrap3-typeahead.min.js diff --git a/resources/scripts/jquery/icons-rtl.gif b/src/main/xar-resources/resources/scripts/jquery/icons-rtl.gif similarity index 100% rename from resources/scripts/jquery/icons-rtl.gif rename to src/main/xar-resources/resources/scripts/jquery/icons-rtl.gif diff --git a/resources/scripts/jquery/icons.gif b/src/main/xar-resources/resources/scripts/jquery/icons.gif similarity index 100% rename from resources/scripts/jquery/icons.gif rename to src/main/xar-resources/resources/scripts/jquery/icons.gif diff --git a/resources/scripts/jquery/jquery-1.11.3.min.js b/src/main/xar-resources/resources/scripts/jquery/jquery-1.11.3.min.js similarity index 100% rename from resources/scripts/jquery/jquery-1.11.3.min.js rename to src/main/xar-resources/resources/scripts/jquery/jquery-1.11.3.min.js diff --git a/resources/scripts/jquery/jquery-ui.custom.min.js b/src/main/xar-resources/resources/scripts/jquery/jquery-ui.custom.min.js similarity index 100% rename from resources/scripts/jquery/jquery-ui.custom.min.js rename to src/main/xar-resources/resources/scripts/jquery/jquery-ui.custom.min.js diff --git a/resources/scripts/jquery/jquery-ui.min.js b/src/main/xar-resources/resources/scripts/jquery/jquery-ui.min.js similarity index 100% rename from resources/scripts/jquery/jquery-ui.min.js rename to src/main/xar-resources/resources/scripts/jquery/jquery-ui.min.js diff --git a/resources/scripts/jquery/jquery.dynatree.min.js b/src/main/xar-resources/resources/scripts/jquery/jquery.dynatree.min.js similarity index 100% rename from resources/scripts/jquery/jquery.dynatree.min.js rename to src/main/xar-resources/resources/scripts/jquery/jquery.dynatree.min.js diff --git a/resources/scripts/jquery/jquery.fileupload.js b/src/main/xar-resources/resources/scripts/jquery/jquery.fileupload.js similarity index 100% rename from resources/scripts/jquery/jquery.fileupload.js rename to src/main/xar-resources/resources/scripts/jquery/jquery.fileupload.js diff --git a/resources/scripts/jquery/jquery.ui.widget.js b/src/main/xar-resources/resources/scripts/jquery/jquery.ui.widget.js similarity index 100% rename from resources/scripts/jquery/jquery.ui.widget.js rename to src/main/xar-resources/resources/scripts/jquery/jquery.ui.widget.js diff --git a/resources/scripts/jquery/loading.gif b/src/main/xar-resources/resources/scripts/jquery/loading.gif similarity index 100% rename from resources/scripts/jquery/loading.gif rename to src/main/xar-resources/resources/scripts/jquery/loading.gif diff --git a/resources/scripts/jquery/ui.dynatree.css b/src/main/xar-resources/resources/scripts/jquery/ui.dynatree.css similarity index 100% rename from resources/scripts/jquery/ui.dynatree.css rename to src/main/xar-resources/resources/scripts/jquery/ui.dynatree.css diff --git a/resources/scripts/jquery/vline-rtl.gif b/src/main/xar-resources/resources/scripts/jquery/vline-rtl.gif similarity index 100% rename from resources/scripts/jquery/vline-rtl.gif rename to src/main/xar-resources/resources/scripts/jquery/vline-rtl.gif diff --git a/resources/scripts/jquery/vline.gif b/src/main/xar-resources/resources/scripts/jquery/vline.gif similarity index 100% rename from resources/scripts/jquery/vline.gif rename to src/main/xar-resources/resources/scripts/jquery/vline.gif diff --git a/resources/scripts/knockout-3.2.0.js b/src/main/xar-resources/resources/scripts/knockout-3.2.0.js similarity index 100% rename from resources/scripts/knockout-3.2.0.js rename to src/main/xar-resources/resources/scripts/knockout-3.2.0.js diff --git a/resources/scripts/knockout.mapping-2.4.1.js b/src/main/xar-resources/resources/scripts/knockout.mapping-2.4.1.js similarity index 100% rename from resources/scripts/knockout.mapping-2.4.1.js rename to src/main/xar-resources/resources/scripts/knockout.mapping-2.4.1.js diff --git a/resources/scripts/magnifier.png b/src/main/xar-resources/resources/scripts/magnifier.png similarity index 100% rename from resources/scripts/magnifier.png rename to src/main/xar-resources/resources/scripts/magnifier.png diff --git a/resources/scripts/page_white_code.png b/src/main/xar-resources/resources/scripts/page_white_code.png similarity index 100% rename from resources/scripts/page_white_code.png rename to src/main/xar-resources/resources/scripts/page_white_code.png diff --git a/resources/scripts/page_white_copy.png b/src/main/xar-resources/resources/scripts/page_white_copy.png similarity index 100% rename from resources/scripts/page_white_copy.png rename to src/main/xar-resources/resources/scripts/page_white_copy.png diff --git a/resources/scripts/prettify/lang-css.js b/src/main/xar-resources/resources/scripts/prettify/lang-css.js similarity index 100% rename from resources/scripts/prettify/lang-css.js rename to src/main/xar-resources/resources/scripts/prettify/lang-css.js diff --git a/resources/scripts/prettify/lang-xq.js b/src/main/xar-resources/resources/scripts/prettify/lang-xq.js similarity index 100% rename from resources/scripts/prettify/lang-xq.js rename to src/main/xar-resources/resources/scripts/prettify/lang-xq.js diff --git a/resources/scripts/prettify/prettify.css b/src/main/xar-resources/resources/scripts/prettify/prettify.css similarity index 100% rename from resources/scripts/prettify/prettify.css rename to src/main/xar-resources/resources/scripts/prettify/prettify.css diff --git a/resources/scripts/prettify/prettify.js b/src/main/xar-resources/resources/scripts/prettify/prettify.js similarity index 100% rename from resources/scripts/prettify/prettify.js rename to src/main/xar-resources/resources/scripts/prettify/prettify.js diff --git a/resources/scripts/printer.png b/src/main/xar-resources/resources/scripts/printer.png similarity index 100% rename from resources/scripts/printer.png rename to src/main/xar-resources/resources/scripts/printer.png diff --git a/resources/scripts/rangy-core.js b/src/main/xar-resources/resources/scripts/rangy-core.js similarity index 100% rename from resources/scripts/rangy-core.js rename to src/main/xar-resources/resources/scripts/rangy-core.js diff --git a/resources/scripts/slick/jquery.event.drag-2.0.js b/src/main/xar-resources/resources/scripts/slick/jquery.event.drag-2.0.js similarity index 100% rename from resources/scripts/slick/jquery.event.drag-2.0.js rename to src/main/xar-resources/resources/scripts/slick/jquery.event.drag-2.0.js diff --git a/resources/scripts/slick/slick.core.js b/src/main/xar-resources/resources/scripts/slick/slick.core.js similarity index 100% rename from resources/scripts/slick/slick.core.js rename to src/main/xar-resources/resources/scripts/slick/slick.core.js diff --git a/resources/scripts/slick/slick.grid.css b/src/main/xar-resources/resources/scripts/slick/slick.grid.css similarity index 100% rename from resources/scripts/slick/slick.grid.css rename to src/main/xar-resources/resources/scripts/slick/slick.grid.css diff --git a/resources/scripts/slick/slick.grid.js b/src/main/xar-resources/resources/scripts/slick/slick.grid.js similarity index 100% rename from resources/scripts/slick/slick.grid.js rename to src/main/xar-resources/resources/scripts/slick/slick.grid.js diff --git a/resources/scripts/slick/slick.rowselectionmodel.js b/src/main/xar-resources/resources/scripts/slick/slick.rowselectionmodel.js similarity index 100% rename from resources/scripts/slick/slick.rowselectionmodel.js rename to src/main/xar-resources/resources/scripts/slick/slick.rowselectionmodel.js diff --git a/resources/scripts/wrapping.png b/src/main/xar-resources/resources/scripts/wrapping.png similarity index 100% rename from resources/scripts/wrapping.png rename to src/main/xar-resources/resources/scripts/wrapping.png diff --git a/resources/scripts/wysihtml5/advanced.js b/src/main/xar-resources/resources/scripts/wysihtml5/advanced.js similarity index 100% rename from resources/scripts/wysihtml5/advanced.js rename to src/main/xar-resources/resources/scripts/wysihtml5/advanced.js diff --git a/resources/scripts/wysihtml5/simple.js b/src/main/xar-resources/resources/scripts/wysihtml5/simple.js similarity index 100% rename from resources/scripts/wysihtml5/simple.js rename to src/main/xar-resources/resources/scripts/wysihtml5/simple.js diff --git a/resources/scripts/wysihtml5/wysihtml5-0.3.0.min.js b/src/main/xar-resources/resources/scripts/wysihtml5/wysihtml5-0.3.0.min.js similarity index 100% rename from resources/scripts/wysihtml5/wysihtml5-0.3.0.min.js rename to src/main/xar-resources/resources/scripts/wysihtml5/wysihtml5-0.3.0.min.js diff --git a/resources/scripts/wysihtml5/wysihtml5-0.4.0pre.min.js b/src/main/xar-resources/resources/scripts/wysihtml5/wysihtml5-0.4.0pre.min.js similarity index 100% rename from resources/scripts/wysihtml5/wysihtml5-0.4.0pre.min.js rename to src/main/xar-resources/resources/scripts/wysihtml5/wysihtml5-0.4.0pre.min.js diff --git a/xar-assembly.xml b/xar-assembly.xml new file mode 100644 index 0000000..3b6b23b --- /dev/null +++ b/xar-assembly.xml @@ -0,0 +1,47 @@ + + + ${package-title} + Wolfgang Meier + Denis Richter + Sabine Meier + Maciek Jerominek + Lars Windauer + Robert Netzschwitz + ${project.url} + GNU Lesser General Public License, version 2.1 + true + + application + + stable + + ${project.artifactId} + application + Applications + + + + + + ${package-abbrev} + + + pre-install.xq + post-install.xq + + + + + ${basedir} + + README.md + LICENSE + + + + ${basedir}/src/main/xar-resources + + + + diff --git a/xquery-license-style.xml b/xquery-license-style.xml new file mode 100644 index 0000000..5db109a --- /dev/null +++ b/xquery-license-style.xml @@ -0,0 +1,15 @@ + + + + (: + : + :) + EOL + + "(\\s|\\t)*/\\*.*$" + ".*\\*/(\\s|\\t)*$" + false + true + false + + \ No newline at end of file