[jbossws-commits] JBossWS SVN: r6105 - framework/branches/jbossws-framework-3.0.1.GA/ant-import.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Wed Mar 26 06:14:56 EDT 2008
Author: thomas.diesler at jboss.com
Date: 2008-03-26 06:14:56 -0400 (Wed, 26 Mar 2008)
New Revision: 6105
Modified:
framework/branches/jbossws-framework-3.0.1.GA/ant-import/build-hudson.xml
Log:
Fix file permissions. Document usage of 'umask 2'
Modified: framework/branches/jbossws-framework-3.0.1.GA/ant-import/build-hudson.xml
===================================================================
--- framework/branches/jbossws-framework-3.0.1.GA/ant-import/build-hudson.xml 2008-03-25 15:06:36 UTC (rev 6104)
+++ framework/branches/jbossws-framework-3.0.1.GA/ant-import/build-hudson.xml 2008-03-26 10:14:56 UTC (rev 6105)
@@ -106,8 +106,8 @@
<filtersfile file="${framework.dir}/ant.properties"/>
</filterset>
</copy>
- <chmod perm="go+w">
- <fileset dir="${framework.dir}/hudson/hudson-home">
+ <chmod perm="g+w">
+ <fileset dir="${hudson.home}">
<include name="jobs/**"/>
<include name="users/**"/>
<include name="*.xml"/>
@@ -142,12 +142,23 @@
<property environment="env"/>
<fail message="unset JBOSS_REPOSITORY=${env.JBOSS_REPOSITORY}" if="env.JBOSS_REPOSITORY"/>
+
+ <!-- When working with group-access files and directories, it is common to use 'umask 2'
+ <exec executable="umask">
+ <arg value="2"/>
+ </exec>
+ -->
<mkdir dir="${framework.dir}/output"/>
<exec executable="${hudson.tomcat}/bin/catalina.sh" failonerror="true" output="${framework.dir}/output/hudson.log">
<env key="CATALINA_OPTS" value="-Xmx512m -Djava.awt.headless=true"/>
<arg line="start"/>
</exec>
+ <chmod perm="g+w">
+ <fileset dir="${hudson.tomcat}">
+ <include name="logs/**"/>
+ </fileset>
+ </chmod>
<echo/>
<echo message="*************************************"/>
More information about the jbossws-commits
mailing list