[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1515) Execute permissions removed while building the jboss-portal src distro
Rajesh Rajasekaran (JIRA)
jira-events at lists.jboss.org
Thu Jun 28 15:54:57 EDT 2007
Execute permissions removed while building the jboss-portal src distro
----------------------------------------------------------------------
Key: JBPORTAL-1515
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1515
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.6 CR3
Reporter: Rajesh Rajasekaran
Assigned To: Julien Viet
Fix For: 2.6 Final
A temporary copy of the portal src is made to the build/output directory before the src distro is created.
This ant copy task in distrib.xml removes all execute permissions on .sh files, the ant executable packaged etc.
Trying to build from the src distro says
[rrajasekaran at dev03 build]$ sh build.sh
build.sh: *WARNING* Ignoring environment value for $ANT_HOME
build.sh: *FATAL* Ant script is not executable: /home/rrajasekaran/jboss-portal-2.6-CR3-src/tools/bin/ant
The ant manual says
"Unix Note: File permissions are not retained when files are copied; they end up with the default UMASK permissions instead. This is caused by the lack of any means to query or set file permissions in the current Java runtimes."
Either the build needs to be modified or i can try something with the UMASK settings while building.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list