[
http://jira.jboss.com/jira/browse/JBPORTAL-1515?page=all ]
Thomas Heute reassigned JBPORTAL-1515:
--------------------------------------
Assignee: Thomas Heute (was: Julien Viet)
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: Thomas Heute
Fix For: 2.8 Final, 2.6.1 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@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