Bug 59397 - build.xml does not make dist.executables executable on Unix systems
Summary: build.xml does not make dist.executables executable on Unix systems
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: Nightly (Please specify date)
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-29 14:23 UTC by Sebb
Modified: 2016-04-29 15:02 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2016-04-29 14:23:22 UTC
The dist.executables property contains a list of files that need to be executable on Unix systems.

However it only does this for the binary tar archive.
This means that the bin/jmeter script (and others) won't be executable if the user builds JMeter from the tar source archive, and it won't be executable on Unix systems if either Zip archive is used.

Ant supports the filemode parameter for the zip task, however some unzip implementations may not support it.

So the install target should also fix the mode.
Comment 1 Sebb 2016-04-29 15:02:16 UTC
URL: http://svn.apache.org/viewvc?rev=1741638&view=rev
Log:
build.xml does not make dist.executables executable on Unix systems
Bugzilla Id: 59397

Modified:
    jmeter/trunk/build.xml
    jmeter/trunk/xdocs/changes.xml

URL: http://svn.apache.org/viewvc?rev=1741640&view=rev
Log:
build.xml does not make dist.executables executable on Unix systems
Oops need dir as well
Bugzilla Id: 59397

Modified:
    jmeter/trunk/build.xml

URL: http://svn.apache.org/viewvc?rev=1741641&view=rev
Log:
build.xml does not make dist.executables executable on Unix systems
Oops wrong attribute name
Bugzilla Id: 59397

Modified:
    jmeter/trunk/build.xml

URL: http://svn.apache.org/viewvc?rev=1741642&view=rev
Log:
build.xml does not make dist.executables executable on Unix systems
Needs prefix
Bugzilla Id: 59397

Modified:
    jmeter/trunk/build.xml