forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: xml-forrest/src/resources/forrest-shbat/var skinlist2fetch.xsl
Date Thu, 02 Oct 2003 07:07:06 GMT
nicolaken    2003/10/02 00:07:06

  Modified:    src/resources/forrest-shbat forrest.build.xml
               src/resources/forrest-shbat/var skinlist2fetch.xsl
  Log:
  Let there be zip!
  
  (changed skin extension from fsj to zip)
  
  Revision  Changes    Path
  1.105     +5 -5      xml-forrest/src/resources/forrest-shbat/forrest.build.xml
  
  Index: forrest.build.xml
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/forrest-shbat/forrest.build.xml,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- forrest.build.xml	1 Oct 2003 13:44:08 -0000	1.104
  +++ forrest.build.xml	2 Oct 2003 07:07:06 -0000	1.105
  @@ -1118,7 +1118,7 @@
     <target name="package-skin" description="Make a package of an existing skin">
       <input message="Which skin do you want to package?"
              addproperty="skin-name"/>
  -    <zip destfile="${forrest.home}/context/skins/${skin-name}-${version}.fsj"
  +    <zip destfile="${forrest.home}/context/skins/${skin-name}-${version}.zip"
          basedir="${forrest.home}/context/skins/"
          includes="${skin-name}/**"/>
     </target>
  @@ -1139,7 +1139,7 @@
             <available type="dir" file="${forrest.home}/context/skins/${project.skin}"/>
           </not>
           <not>
  -          <available type="file" file="${forrest.home}/context/skins/${project.skin}.fsj"/>
  +          <available type="file" file="${forrest.home}/context/skins/${project.skin}.zip"/>
           </not>
         </and>
       </condition>
  @@ -1149,12 +1149,12 @@
             depends="init-props">
        <unzip dest="${forrest.home}/context/skins/">
          <fileset dir="${forrest.home}/context/skins/">
  -          <include name="*.fsj"/>
  +          <include name="*.zip"/>
           </fileset>
        </unzip>       
        <delete>
           <fileset dir="${forrest.home}/context/skins/">
  -          <include name="*.fsj"/>
  +          <include name="*.zip"/>
           </fileset>
        </delete>
     </target>  
  
  
  
  1.4       +5 -5      xml-forrest/src/resources/forrest-shbat/var/skinlist2fetch.xsl
  
  Index: skinlist2fetch.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/forrest-shbat/var/skinlist2fetch.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- skinlist2fetch.xsl	1 Oct 2003 13:54:12 -0000	1.3
  +++ skinlist2fetch.xsl	2 Oct 2003 07:07:06 -0000	1.4
  @@ -14,8 +14,8 @@
               <echo>Trying to get "<xsl:value-of select="$skin-name" />" skin
version 
                     <xsl:value-of select="$forrest-version" />...</echo>
               <get verbose="true" usetimestamp="true" ignoreerrors="true">
  -               <xsl:attribute name="src"><xsl:value-of select="skin[@name=$skin-name]/@url"
/><xsl:value-of select="$skin-name" />-<xsl:value-of select="$forrest-version"
/>.fsj</xsl:attribute>
  -               <xsl:attribute name="dest">${forrest.home}/context/skins/<xsl:value-of
select="$skin-name" />.fsj</xsl:attribute>
  +               <xsl:attribute name="src"><xsl:value-of select="skin[@name=$skin-name]/@url"
/><xsl:value-of select="$skin-name" />-<xsl:value-of select="$forrest-version"
/>.zip</xsl:attribute>
  +               <xsl:attribute name="dest">${forrest.home}/context/skins/<xsl:value-of
select="$skin-name" />.zip</xsl:attribute>
               </get>
            </target>
   
  @@ -23,14 +23,14 @@
               <echo>Versioned skin unavailable, trying to get versionless skin...</echo>
   
               <get verbose="true" usetimestamp="true" ignoreerrors="true">
  -               <xsl:attribute name="src"><xsl:value-of select="skin[@name=$skin-name]/@url"
/><xsl:value-of select="$skin-name" />.fsj</xsl:attribute>
  -               <xsl:attribute name="dest">${forrest.home}/context/skins/<xsl:value-of
select="$skin-name" />.fsj</xsl:attribute>
  +               <xsl:attribute name="src"><xsl:value-of select="skin[@name=$skin-name]/@url"
/><xsl:value-of select="$skin-name" />.zip</xsl:attribute>
  +               <xsl:attribute name="dest">${forrest.home}/context/skins/<xsl:value-of
select="$skin-name" />.zip</xsl:attribute>
               </get>
            </target>
   
            <target name="final-check">
               <available property="skin.present">
  -               <xsl:attribute name="file">${forrest.home}/context/skins/<xsl:value-of
select="$skin-name" />.fsj</xsl:attribute>
  +               <xsl:attribute name="file">${forrest.home}/context/skins/<xsl:value-of
select="$skin-name" />.zip</xsl:attribute>
               </available>
   
               <fail unless="skin.present">
  
  
  

Mime
View raw message