You may have done this just as a test, but a quick note about Roxy properties: best practice is to avoid editing default.properties. Instead, copy the property to build.properties and change the value there (build overrides default). The reason is that if you upgrade Roxy ("ml upgrade -h"), default.properties will be overwritten, but build.properties will not be.
-- Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel> Technical Community Manager MarkLogic Corporation<http://www.marklogic.com/> http://developer.marklogic.com/ From: <general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>> on behalf of Florent Georges <li...@fgeorges.org<mailto:li...@fgeorges.org>> Reply-To: MarkLogic Developer Discussion <general@developer.marklogic.com<mailto:general@developer.marklogic.com>> Date: Tuesday, April 5, 2016 at 4:52 AM To: MarkLogic Developer Discussion <general@developer.marklogic.com<mailto:general@developer.marklogic.com>> Subject: Re: [MarkLogic Dev General] Roxy: src/tests.sjs is ignored I see. So probably that test should use a slash after the dir variable: "^#{test_dir}/.*$". For the record, setting "xquery-test.dir=" (to nothing) in default.properties solves the problem. Thank you Geert! Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ On 5 April 2016 at 10:35, Geert Josten wrote: It is a flaw in Roxy I think, caused by these lines: def deploy_src test_dir = @properties['ml.xquery-test.dirĀ¹] .. ignore_us << "^#{test_dir}.*$" unless test_dir.blank? || deploy_tests?(dest_db) If you make sure xquery-test.dir is declared as an empty property, it should deploy the file.. Cheers, Geert On 4/5/16, 10:26 AM, "general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> on behalf of Florent Georges" <general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> on behalf of li...@fgeorges.org<mailto:li...@fgeorges.org>> wrote: Hi, In a bare Roxy project, I have a file "src/tests.sjs". When I do "./ml local deploy modules", all modules are deployed but this one. If I rename it "tests_.sjs", it is not deployed either. If I rename it "ttt.sjs", then it gets deployed. Any idea why files with some names are ignored? Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ _______________________________________________ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general