Hi there,
I took a look into the problems on our "unknown OS" CI build
(http://builds.gradle.org/viewLog.html?buildId=10451&tab=buildResultsDiv&buildTypeId=bt17)
today. Currently, two tests are failing on the CI:
- "CustomPluginIntegrationTest.can reference plugin in external jar by id"
- "CustomPluginIntegrationTest.loads plugin in correct environment"
The problem we run into here is, that the POSIX library we use to set
file permissions (org.jruby.ext.posix:jna-posix:1.0.3) does not respect
the correct file permissions of copied flies (e.g. executable
permissions for directories are ignored). If Posix cannot identify the
current os (using System.getProperty('os.name') it uses a fallback
implementation to the lowest common denominator (called JavaPOSIX) which
does not support setting executable permissions.
Without correct executable permissions on directories, we fail to create
subdirectories and files within this directory.
I am not sure how we should handle these issues. Updating to the latest
jna-posix implementation (1.1.9) doesn't solve it.
The options that I see at the moment:
1. Don't manipulate directory permissions on an unknown OS (unknown in
the sense of unknown to posix)
2. Don't support other OS than Posix does and get rid of the unknown-os
build. Currently jna-posix supports:
- macosx
- linux
- freebsd
- openbsd
- windows
- solaris
I would like to know your point of view / feedback on this issue.
Personally, I tend to the first option.
regards,
René
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email