tliron / prudence

An opinionated lightweight web framework built for scale
https://prudence.threecrickets.com
Apache License 2.0
13 stars 5 forks source link

The distribution zips to not seem to maintain executable flags #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
run.sh and the various jsvc executable are not runnable after being unzipped, 
even though the Ant build script explicitly sets them as executable.

Steps to a solution: We need to investigate if this is indeed a zip limitation. 
If so, we will need to distribute each archive in two formats: tar.gz for 
Unixes, and zip for Windows (because Windows users do not have immediate access 
to tar and gzip).

Original issue reported on code.google.com by tal.liron on 21 Aug 2011 at 3:21

GoogleCodeExporter commented 9 years ago
This ended up being very simple to solve via Ant's zipfilest feature:

http://ant.apache.org/manual/Types/zipfileset.htm

To be included in Prudence 1.1.1.

Original comment by tal.liron on 21 Aug 2011 at 9:31