[prev in list] [next in list] [prev in thread] [next in thread] 

List:       forrest-svn
Subject:    svn commit: rev 21544 - in forrest/trunk/src/core: context targets
From:       nicolaken () apache ! org
Date:       2004-06-21 15:49:55
Message-ID: 20040621154955.48911.qmail () minotaur ! apache ! org
[Download RAW message or body]

Author: nicolaken
Date: Mon Jun 21 08:49:54 2004
New Revision: 21544

Modified:
   forrest/trunk/src/core/context/sitemap.xmap
   forrest/trunk/src/core/targets/context.xml
Log:
Upgrade the skinconf directly in Cocoon rather than in the Ant task.

Modified: forrest/trunk/src/core/context/sitemap.xmap
==============================================================================
--- forrest/trunk/src/core/context/sitemap.xmap	(original)
+++ forrest/trunk/src/core/context/sitemap.xmap	Mon Jun 21 08:49:54 2004
@@ -226,6 +226,7 @@
       <map:pipeline internal-only="false">
          <map:match pattern="skinconf.xml">
            <map:generate src="{project:skinconf}" />
+           <map:transform src="{forrest:stylesheets}/upgrade-skinconf.xsl"/>
            <map:select type="exists">
              <map:when test="{project:skins-dir}{forrest:skin}/skinconf.xsl">
                <map:transform src="{project:skins-dir}{forrest:skin}/skinconf.xsl"/>

Modified: forrest/trunk/src/core/targets/context.xml
==============================================================================
--- forrest/trunk/src/core/targets/context.xml	(original)
+++ forrest/trunk/src/core/targets/context.xml	Mon Jun 21 08:49:54 2004
@@ -67,7 +67,7 @@
        param: location to make temporary context-dir ${project.webapp} 
        =============================================================== -->
   <target name="project-context" depends="examine-proj, ensure-content,
-    validate, init, bare-context, copy-sitemap, copy-conf, upgrade-skinconf, copy-status"/>
+    validate, init, bare-context, copy-sitemap, copy-conf, copy-status"/>
 
   <target name="copy-conf" if="conf.present">
     <copy toDir="${project.webapp}/WEB-INF" filtering="false"
@@ -99,14 +99,6 @@
       </fileset>
       <mapper type="glob" from="*-${version}.xmap" to="*.xmap"/>
     </copy>
-  </target>
-
-  <target name="upgrade-skinconf" if="skinconf.present">
-     <!-- FIXME: hardcode values here -->
-     <xslt in="${skinconf}" out="${project.webapp}/skinconf.xml" 
-           style="${forrest.home}/context/resources/stylesheets/upgrade-skinconf.xsl">
-      <xmlcatalog refid="fcatalog"/>
-    </xslt>
   </target>
 
   <target name="copy-status" if="status.present">

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic