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:
<[email protected]<mailto:[email protected]>>
on behalf of Florent Georges <[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion
<[email protected]<mailto:[email protected]>>
Date: Tuesday, April 5, 2016 at 4:52 AM
To: MarkLogic Developer Discussion
<[email protected]<mailto:[email protected]>>
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,
"[email protected]<mailto:[email protected]>
on behalf of
Florent Georges"
<[email protected]<mailto:[email protected]>
on behalf of
[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]<mailto:[email protected]>
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general