[ https://issues.apache.org/jira/browse/SOLR-3328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247770#comment-13247770 ]
Uwe Schindler edited comment on SOLR-3328 at 4/5/12 10:22 PM: -------------------------------------------------------------- The ZIP task cannot handle this (as ZIP files dont know those +x attributes). But TAR task can handle this, by using <tarfileset/> instead of simple filesets. One could add <tarfileset includes="**/*.sh" filemode="755"/>. See: http://ant.apache.org/manual/Types/tarfileset.html was (Author: thetaphi): The ZIP task cannot handle this (as ZIP files dont know those +x attributes). But TAR task can handle this, by using <tarfileset/> instead of simple filesets. One could add <tarfileset includes="**/*.sh" filemode="755"/>. > executable bits of shellscripts in solr source release > ------------------------------------------------------ > > Key: SOLR-3328 > URL: https://issues.apache.org/jira/browse/SOLR-3328 > Project: Solr > Issue Type: Improvement > Components: Build > Reporter: Robert Muir > Fix For: 4.0 > > > HossmanSays: in the solr src releases, some shell scripts are not executable > by default. > I don't know if we can improve this? Maybe its an svn prop? > Maybe something needs to be specified to the tar/zip process? > Currently the 'source release' is really an svn export... > Personally i always do 'sh foo.sh' rather than './foo.sh', > but if it makes it more user-friendly we should figure it out > Just opening the issue since we don't forget about it, I think solr cloud > adds some more shell scripts so we should at least figure out what we want to > do. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org