forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [issues] New comment: (FOR-198) local stylesheets for a user project not found
Date Thu, 01 Jan 1970 00:00:00 GMT
The following comment has been added to this issue:

     Author: David Crossley
    Created: Thu, 17 Jun 2004 5:54 AM
       Body:
Following the document your-project.html#sitemap.xmap to add a new document type. Everything
works okay, except that the custom XSLT is not found, because it does not get copied over
to the build dir. The following fix works, but i am not sure about it so not yet committed.
(copyless?)

Index: src/core/targets/site.xml
===================================================================
--- src/core/targets/site.xml   (revision 21373)
+++ src/core/targets/site.xml   (working copy)
@@ -70,6 +70,12 @@
           <fileset dir="${project.webapp}/resources" includes="images"/>
         </copy>
  
+        <!-- Copy the user project stylesheets -->
+        <copy toDir="${project.webapp}/resources/stylesheets"
+          overwrite="true" failonerror="false">
+          <fileset dir="${project.home}/src/documentation/resources/stylesheets" includes="*.xsl"/>
+        </copy>
+
         <!-- Copy skin images -->
         <mkdir dir="${project.site-dir}/skin/images"/>

---------------------------------------------------------------------
View the issue:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-198


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-198
    Summary: local stylesheets for a user project not found
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Forrest
  Component: Building Forrest
    Fix For: 0.6
   Versions:
             HEAD

   Assignee: 
   Reporter: David Crossley

    Created: Thu, 17 Jun 2004 5:37 AM
    Updated: Thu, 17 Jun 2004 5:37 AM

Description:
When a user project defines their own sitemap and stylesheets, then the sitemaps are over-ridden
okay, but their local stylesheets are not found.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org/jira//Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message