diff options
author | Sven Gothel <[email protected]> | 2014-12-13 06:38:59 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-12-13 16:12:13 +0100 |
commit | cb5f02b05b97dc05a3f7d4d3e3821e1fc3ae2c59 (patch) | |
tree | 79b51ffcaccfce5c2491f3831967c6db76abdf12 /www/alm-process/snippets/page.xml | |
parent | f5be4f13bd54169f113f0494bae063c9895b5911 (diff) |
Bug 1108 - Fix difficulties to determine executable access permission on Windows via BATCH file executionb22x
Batch file execution test via direct call, i.e.'a.bat',
does not work on some Windows machine, not reproducible here!
A workaround would be to call the batch file explicit via 'CMD /c a.bat':
- works when using 'Software Restriction Policies' (Bug 1015 Comment 2)
- does _not_ work when denying ACL "Traverse Folder / Execute File" permission (Bug 1015 Comment 3)
Due to this bug, we need to use a native execution:
- Performing executable test w/ native exe file instead of batch file
on Windows x86 32bit and 64bit,
- using [1] TinyPE XP-W8 Compatible - x86 32bit and 64bit - 268 bytes
- Tested on: WinXP-32bit, Win7-64bit and Win8-64bit
- Author/License: Ange Albertini, BSD Licence, 2010-2013
- On all other Windows machines (ARM, ..),
we still use direct execution of 'a.bat'
but may add native exe files for missing platforms.
+++
This patch injects said binaries within the java jar file
and copies it into the 'to be tested' temp folder for execution.
[1] TinyPE XP-W8 Compatible - x86 32bit and 64bit - 268 bytes
is included within 'src/native/tinype-corkami',
build manually and imported as 'src/java/com/jogamp/common/util/bin/exe-windows-i586-268b.bin'.
+++
Conflicts:
src/java/com/jogamp/common/util/IOUtil.java
Diffstat (limited to 'www/alm-process/snippets/page.xml')
0 files changed, 0 insertions, 0 deletions