Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: More krysalis problems (WAS: HEAD: Krysalis-skin: some images not copie: msg#00167

text.xml.forrest.devel

Subject: Re: More krysalis problems (WAS: HEAD: Krysalis-skin: some images not copied)

Nicola Ken Barozzi wrote:
Jason End wrote:
...

Apart from the image problem, Krysalis isn't
generating the mini-toc in the left menu, and in my
pages main index.html, it doesn't add a pdf image/link
(it does add the pdf link in other files)
I built the site using the default forrest skin and
both these elements work correctly, so I don't think
it's due to any errors in my xmls.


Ok, I'll check, thanks for reporting. Oh, and also thanks for the way it's written, I always like reports like this that contain all the main information and even a suggestion :-)

The warnings about missing directories is caused by the fact that forrest.build.xml was still trying to copy content and skins from the webapp directory during the site build. The attached patch fixes this.

Before applying the patch consider whether we still need to copy static content across to the build/site directory. I don't think we do as Cocoon will copy this stuff across when building. However, I'm not sure why this was introduced in the first place so I've left it in.

However, this does not fix the problem with the missing images and broken mini-toc. I suspect these bugs were introduced by my patch and I have some time today so I'm looking at it now. Nikola Ken, if you have made progress let me know I'm wasting my time (assuming you read this mail).

Ross
Index: forrest.build.xml
===================================================================
RCS file: /home/cvspublic/xml-forrest/src/core/forrest.build.xml,v
retrieving revision 1.11
diff -c -r1.11 forrest.build.xml
*** forrest.build.xml 26 Nov 2003 09:15:32 -0000 1.11
--- forrest.build.xml 28 Nov 2003 15:49:59 -0000
***************
*** 518,546 ****
<property name="skindir"
location="${project.webapp}/skins/${project.skin}"/>
<copy toDir="${project.site-dir}"
overwrite="true" failonerror="false">
! <fileset dir="${project.webapp}/content">
<exclude name="xdocs/**"/>
</fileset>
! <fileset dir="${project.webapp}/resources" includes="images"/>
</copy>

- <!-- Copy skin images -->
- <mkdir dir="${project.site-dir}/skin/images"/>
- <copy toDir="${project.site-dir}/skin/images" overwrite="true"
- failonerror="false">
- <fileset dir="${skindir}/images"/>
- </copy>
-
- <!-- Copy all other non-resource files -->
- <copy toDir="${project.site-dir}/skin"
- overwrite="true"
- failonerror="false">
- <mapper type="flatten"/>
- <fileset dir="${skindir}">
- <exclude name="images/**"/>
- <exclude name="xslt/**"/>
- </fileset>
- </copy>
<!-- This place is our last chance to give them help messages.
Hopefully Cocoon won't issue messages until these tasks are done.
-->
--- 518,529 ----
<property name="skindir"
location="${project.webapp}/skins/${project.skin}"/>
<copy toDir="${project.site-dir}"
overwrite="true" failonerror="false">
! <fileset dir="${project.content-dir}"> <!-- fixme should this be
raw.content-dir? -->
<exclude name="xdocs/**"/>
</fileset>
! <fileset dir="${project.content-dir}/resources" includes="images"/>
</copy>

<!-- This place is our last chance to give them help messages.
Hopefully Cocoon won't issue messages until these tasks are done.
-->
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation