User: user57  
  Date: 01/11/21 14:42:36

  Modified:    .        build.xml
  Log:
   o HACKED the build file to make all 'build.sh' and
     'tools/bin/ant[Run]' files executable.
   ! I don't really like it, but don't have much choice.  Thanks SUN!
  
  Revision  Changes    Path
  1.2       +41 -17    website-snapshots/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/website-snapshots/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 2001/11/20 00:42:20     1.1
  +++ build.xml 2001/11/21 22:42:35     1.2
  @@ -10,7 +10,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.1 2001/11/20 00:42:20 user57 Exp $ -->
  +<!-- $Id: build.xml,v 1.2 2001/11/21 22:42:35 user57 Exp $ -->
   
   <project default="main" name="JBoss Website/Snapshots">
   
  @@ -264,9 +264,9 @@
       <echo>Exporting CVS modules for snaphots...</echo>
   
   
  -    <!-- Make sure there is an entry for this cvsroot -->
  +  <!-- Make sure there is an entry for this cvsroot -->
       
  -     <cvspass cvsroot="${snapshot.cvsroot}" password=""/>
  +  <cvspass cvsroot="${snapshot.cvsroot}" password=""/>
       <cvs cvsroot="${snapshot.cvsroot}"
         command="-Q -r -f -z3 export"
         date="TODAY" 
  @@ -291,10 +291,18 @@
   
       <!-- build jboss-all.tgz -->
   
  -    <tar tarfile="${build.snapshots}/jboss-all.tar" 
  -      longfile="gnu"
  -      basedir="${build.snapshots.tmp}"
  -      includes="jboss-all/**">
  +    <tar tarfile="${build.snapshots}/jboss-all.tar" longfile="gnu">
  +      <tarfileset dir="${build.snapshots.tmp}" mode="655">
  +        <include name="jboss-all/**/build.sh"/>
  +        <include name="jboss-all/**/tools/bin/ant"/>
  +        <include name="jboss-all/**/tools/bin/antRun"/>
  +      </tarfileset>
  +      <tarfileset dir="${build.snapshots.tmp}" mode="644">
  +        <include name="jboss-all/**"/>
  +        <exclude name="jboss-all/**/build.sh"/>
  +        <exclude name="jboss-all/**/tools/bin/ant"/>
  +        <exclude name="jboss-all/**/tools/bin/antRun"/>
  +      </tarfileset>
       </tar>
       <gzip src="${build.snapshots}/jboss-all.tar"
          zipfile="${build.snapshots}/jboss-all.tgz"/>
  @@ -309,27 +317,43 @@
   
       <!-- build jboss-mq.tgz -->
   
  -    <tar tarfile="${build.snapshots}/jboss-mq.tar" 
  -      longfile="gnu"
  -      basedir="${build.snapshots.tmp}"
  -      includes="jboss-mq/**">
  +    <tar tarfile="${build.snapshots}/jboss-mq.tar" longfile="gnu">
  +      <tarfileset dir="${build.snapshots.tmp}" mode="655">
  +        <include name="jboss-mq/**/build.sh"/>
  +        <include name="jboss-mq/**/tools/bin/ant"/>
  +        <include name="jboss-mq/**/tools/bin/antRun"/>
  +      </tarfileset>
  +      <tarfileset dir="${build.snapshots.tmp}" mode="644">
  +        <include name="jboss-mq/**"/>
  +        <exclude name="jboss-mq/**/build.sh"/>
  +        <exclude name="jboss-mq/**/tools/bin/ant"/>
  +        <exclude name="jboss-mq/**/tools/bin/antRun"/>
  +      </tarfileset>
       </tar>
       <gzip src="${build.snapshots}/jboss-mq.tar"
          zipfile="${build.snapshots}/jboss-mq.tgz"/>
   
       <!-- build jboss-plugins.zip -->
  -    
  -     <zip zipfile="${build.snapshots}/jboss-plugins.zip">
  +   
  +    <zip zipfile="${build.snapshots}/jboss-plugins.zip">
         <fileset dir="${build.snapshots.tmp}">
           <include name="jboss-plugins/**"/>
         </fileset>
       </zip>
   
       <!-- build jboss-plugins.tgz -->
  -     <tar tarfile="${build.snapshots}/jboss-plugins.tar" 
  -      longfile="gnu"
  -      basedir="${build.snapshots.tmp}"
  -      includes="jboss-plugins/**">
  +    <tar tarfile="${build.snapshots}/jboss-plugins.tar" longfile="gnu">
  +      <tarfileset dir="${build.snapshots.tmp}" mode="655">
  +        <include name="jboss-plugins/**/build.sh"/>
  +        <include name="jboss-plugins/**/tools/bin/ant"/>
  +        <include name="jboss-plugins/**/tools/bin/antRun"/>
  +      </tarfileset>
  +      <tarfileset dir="${build.snapshots.tmp}" mode="644">
  +        <include name="jboss-plugins/**"/>
  +        <exclude name="jboss-plugins/**/build.sh"/>
  +        <exclude name="jboss-plugins/**/tools/bin/ant"/>
  +        <exclude name="jboss-plugins/**/tools/bin/antRun"/>
  +      </tarfileset>
       </tar>
       <gzip src="${build.snapshots}/jboss-plugins.tar"
          zipfile="${build.snapshots}/jboss-plugins.tgz"/>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to