Renamed sites files to avoid colliding with 1.2, changed providerId to match metadata
[java-idp.git] / build.xml
index 603e0b9..256cb9d 100755 (executable)
--- a/build.xml
+++ b/build.xml
         <copy file="${configroot}/idp.xml.dist" tofile="${configroot}/idp.xml" overwrite="true" />
         <replace file="${configroot}/idp.xml" token="$SHIB_HOME$" value="${shib.home}" />
         <war warfile="${dist}/${distname}.war" webxml="${configroot}/idp.xml" basedir="${approot}" update="no" />
+               <delete file="${configroot}/idp.xml"/>
         <copy file="${dist}/${distname}.war" tofile="${tomcat.home}/webapps/${shib.webapp.name}.war" />
 
         <if>
         <copy todir="${shib.home}/bin">
             <fileset dir="bin"/>
         </copy>
+               <chmod dir="${shib.home}/bin" perm="ug+rx" includes="**/*"/>
 
         <mkdir dir="${shib.home}/logs" />