cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <nicola...@apache.org>
Subject Re: images problem in css during build
Date Fri, 31 May 2002 09:02:47 GMT
From: "Bert Van Kets" <bert@vankets.com>

> Building my new skin (gosh that sounds weird!) I noticed that due to the
> crawler there is a problem with the images that are used in CSS.
> when doing a build webapp the images are perfectly copied, but doing a
> build docs they are not.  Since there is no <img> tag calling the images
> they are not put in the docs directory.  Putting the images in the css
> directory or in an images directory in the css directory does not help
> either (of course not).
> As a workaround I could add a link to the images on a 1px image somewhere
> hidden and thus make sure they are copied.
> Can we solve this?  I suppose we need to adjust Ant to get this
> done?  Suggestions?

Put the image url in a commented link tag, and I think it will be picked up.
<!-- <a href="mystylesheet">Dummy link</a> -->

I know, it's a hack, but it will get it working 4 now.

Someone has time to fix-propose something better for link finding in the
crawler?

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message