I'm having problems running Rakefile script in Windows:
it fails when using temp dirs with`Dir.mktmpdir:
$ rake
rake aborted!
Errno::ENOTEMPTY: Directory not empty @ dir_s_rmdir - C:/git/zerocracy-datum/d20180710-10160-er9dol
C:/git/zerocracy-datum/Rakefile:45:in `block in <top (required)>'
Errno::ENOTEMPTY: Directory not empty @ dir_s_rmdir - C:/git/zerocracy-datum/d20180710-10160-er9dol/xsd
C:/git/zerocracy-datum/Rakefile:45:in `block in <top (required)>'
Errno::ENOTEMPTY: Directory not empty @ dir_s_rmdir - C:/git/zerocracy-datum/d20180710-10160-er9dol/xsd/pm
C:/git/zerocracy-datum/Rakefile:45:in `block in <top (required)>'
Errno::EACCES: Permission denied @ unlink_internal - C:/git/zerocracy-datum/d20180710-10160-er9dol/xsd/pm/claims.xsd
C:/git/zerocracy-datum/Rakefile:45:in `block in <top (required)>'
Errno::ENOENT: No such file or directory @ rb_sysopen - /tmp/x20180710-10160-5i3e0o.xml
C:/git/zerocracy-datum/Rakefile:75:in `write'
C:/git/zerocracy-datum/Rakefile:75:in `block (4 levels) in <top (required)>'
C:/git/zerocracy-datum/Rakefile:70:in `each'
C:/git/zerocracy-datum/Rakefile:70:in `block (3 levels) in <top (required)>'
C:/git/zerocracy-datum/Rakefile:57:in `each'
C:/git/zerocracy-datum/Rakefile:57:in `block (2 levels) in <top (required)>'
C:/git/zerocracy-datum/Rakefile:45:in `block in <top (required)>'
Tasks: TOP => default => xsd
(See full trace by running task with --trace)
Checking XML files for XSD validity...
-it fails when mapping SAXON libs in ~/.m2 directory:
$ rake
Error: Unable to access jarfile ~/.m2/repository/net/sf/saxon/Saxon-HE/9.8.0-8/Saxon-HE-9.8.0-8.jar
rake aborted!
HTML <section> absent in HTML from xml/pm/claims/simple.xml
C:/git/zerocracy-datum/Rakefile:153:in `block (2 levels) in <top (required)>'
C:/git/zerocracy-datum/Rakefile:141:in `each'
C:/git/zerocracy-datum/Rakefile:141:in `block in <top (required)>'
Tasks: TOP => default => xsl
(See full trace by running task with --trace)
Checking XML files for XSD validity...
Checking versions of XSL files...
Checking XML and XSL files...
<?xml version="1.0"?>
-it fails when using /tmp/ directory:
$ rake
Warning
XTDE0540: Ambiguous rule match for /resumes/resume[1]
Matches both "element(Q{}resume)" on line 62 of file:/C:/git/zerocracy-datum/xsl/pmo/resumes.xsl
and "element(Q{}resume)" on line 30 of file:/C:/git/zerocracy-datum/xsl/pmo/resumes.xsl
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - /tmp/empty20180710-5404-69we4z.xml
C:/git/zerocracy-datum/Rakefile:170:in `write'
C:/git/zerocracy-datum/Rakefile:170:in `block (2 levels) in <top (required)>'
C:/git/zerocracy-datum/Rakefile:168:in `each'
C:/git/zerocracy-datum/Rakefile:168:in `block in <top (required)>'
Tasks: TOP => default => xsltest
(See full trace by running task with --trace)
Checking XML files for XSD validity...
Checking versions of XSL files...
Checking XML and XSL files...
..................................
All 35 XML/XSL files are clean
I'm having problems running
Rakefile
script in Windows:-it fails when mapping SAXON libs in
~/.m2
directory:-it fails when using
/tmp/
directory:Running XSL tests...