You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2004/06/12 10:54:21 UTC
svn commit: rev 21124 - in forrest/trunk/src: core/fresh-site/src/documentation documentation
Author: crossley
Date: Sat Jun 12 01:54:20 2004
New Revision: 21124
Modified:
forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
forrest/trunk/src/documentation/skinconf.xml
Log:
Warn not to use the forrest.apache.org systemId for DTD until either we do
not use document() anymore or Xalan Issue 28341 is fixed.
Modified: forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
==============================================================================
--- forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml (original)
+++ forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml Sat Jun 12 01:54:20 2004
@@ -23,6 +23,8 @@
<!DOCTYPE skinconfig PUBLIC
"-//APACHE//DTD Skin Configuration V0.6-2//EN"
"skinconfig-v06-2.dtd">
+<!-- FIXME: Do not use the forrest.apache.org systemId until either we do
+ not use document() anymore or Xalan Issue 28341 is fixed. -->
<skinconfig>
<!-- To enable lucene search add provider="lucene"
Modified: forrest/trunk/src/documentation/skinconf.xml
==============================================================================
--- forrest/trunk/src/documentation/skinconf.xml (original)
+++ forrest/trunk/src/documentation/skinconf.xml Sat Jun 12 01:54:20 2004
@@ -23,6 +23,8 @@
<!DOCTYPE skinconfig PUBLIC
"-//APACHE//DTD Skin Configuration V0.6-1//EN"
"skinconfig-v06-2.dtd">
+<!-- FIXME: Do not use the forrest.apache.org systemId until either we do
+ not use document() anymore or Xalan Issue 28341 is fixed. -->
<skinconfig>
<!-- To enable lucene search add provider="lucene"
Re: ForrestConfModule (Was: svn commit: rev 21124)
Posted by Nicola Ken Barozzi <ni...@apache.org>.
Juan Jose Pablos wrote:
> David,
>
>>>>
>>>> Does it need to be declared in the ForrestConfModule/values/
>>>> part of cocoon.xconf ?
>>>
>>> where do you change that?
>>
>> src/core/context/WEB-INF/cocoon.xconf around line 110
>> not sure if its in the defaults or project section.
>> and i am not even sure if that is the correct answer.
>
> no, I wanted to have the @project.webapp@ but the ForrestConfModule does
> change that value as I was expecting. So I have asked where are supposed
> to change it
I'm not sure I understand 100% (gosh, so many changes lately, it's
exciting but difficult to track). In any case, ForrestConfModule does
not get the Ant properties by design.
>>>>> I have got in my laptop a xslt to transform cocoon.xconf values
>>>>> just using ant. I can put it on SVN if you want.
>>
>> I think that i am not familiar enough with this configuration
>> stuff. Nicola Ken could comment better.
>>
>> --David
>
> I will post it later today on the list so people see what I have meant
Thanks, I hope I can help you.
--
Nicola Ken Barozzi nicolaken@apache.org
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
Re: ForrestConfModule (Was: svn commit: rev 21124)
Posted by Juan Jose Pablos <ch...@che-che.com>.
David,
>>>
>>>Does it need to be declared in the ForrestConfModule/values/
>>>part of cocoon.xconf ?
>>
>>where do you change that?
>
>
> src/core/context/WEB-INF/cocoon.xconf around line 110
> not sure if its in the defaults or project section.
> and i am not even sure if that is the correct answer.
no, I wanted to have the @project.webapp@ but the ForrestConfModule does
change that value as I was expecting. So I have asked where are supposed
to change it
>>>>
>>>>I have got in my laptop a xslt to transform cocoon.xconf values just
>>>>using ant. I can put it on SVN if you want.
>>>
>
>
> I think that i am not familiar enough with this configuration
> stuff. Nicola Ken could comment better.
>
> --David
>
I will post it later today on the list so people see what I have meant
Re: ForrestConfModule (Was: svn commit: rev 21124)
Posted by David Crossley <cr...@apache.org>.
Juan Jose Pablos wrote:
> David Crossley escribió:
> > Juan Jose Pablos wrote:
> >>But for some reason this value does not get changed:
> >>
> >>X [0] index.html BROKEN:
> >>/var/tmp/fs/build/webapp/@project.webapp@/skinconf.xml (No such file or
> >>directory
> >
> > Does it need to be declared in the ForrestConfModule/values/
> > part of cocoon.xconf ?
>
> where do you change that?
src/core/context/WEB-INF/cocoon.xconf around line 110
not sure if its in the defaults or project section.
and i am not even sure if that is the correct answer.
> >>I think that this should be fixed on the ForrestConfModule, but I am not
> >>sure.
> >>
> >>I have got in my laptop a xslt to transform cocoon.xconf values just
> >>using ant. I can put it on SVN if you want.
> >
> >
> > Not sure what you mean here.
>
> ok, we put the defaults values within cocoon.xconf instead of @value@:
>
> <component-instance name="defaults"
> class="org.apache.forrest.conf.ForrestConfModule">
> <values>
> <skin>forrest-site/skin>
>
> For the values that we want to customize use a xslt to transform it
>
> I managed to do it with the entity-resolver.
>
> WDYT?
I think that i am not familiar enough with this configuration
stuff. Nicola Ken could comment better.
--David
Re: ForrestConfModule (Was: svn commit: rev 21124)
Posted by Juan Jose Pablos <ch...@che-che.com>.
David Crossley escribió:
>
>
>>But for some reason this value does not get changed:
>>
>>X [0] index.html BROKEN:
>>/var/tmp/fs/build/webapp/@project.webapp@/skinconf.xml (No such file or
>>directory
>
>
> Does it need to be declared in the ForrestConfModule/values/
> part of cocoon.xconf ?
>
>
where do you change that?
>>I think that this should be fixed on the ForrestConfModule, but I am not
>>sure.
>>
>>I have got in my laptop a xslt to transform cocoon.xconf values just
>>using ant. I can put it on SVN if you want.
>
>
> Not sure what you mean here.
>
ok, we put the defaults values within cocoon.xconf instead of @value@:
<component-instance name="defaults"
class="org.apache.forrest.conf.ForrestConfModule">
<values>
<skin>forrest-site/skin>
For the values that we want to customize use a xslt to transform it
I managed to do it with the entity-resolver.
WDYT?
Cheers,
Cheche
ForrestConfModule (Was: svn commit: rev 21124)
Posted by David Crossley <cr...@apache.org>.
Juan Jose Pablos wrote:
> > Author: crossley
> >
> > Modified:
> > forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
> > forrest/trunk/src/documentation/skinconf.xml
> > Log:
> > Warn not to use the forrest.apache.org systemId for DTD until either we do
> > not use document() anymore or Xalan Issue 28341 is fixed.
>
> There is a work aroud that we can use within forrest.
>
> just put this on cocoon.xconf:
>
> <component-instance name="project"
> class="org.apache.forrest.conf.ForrestConfModule">
> <values>
> <skinconf>@project.webapp@/skinconf.xml</skinconf>
Sounds like a better solution anyway.
> But for some reason this value does not get changed:
>
> X [0] index.html BROKEN:
> /var/tmp/fs/build/webapp/@project.webapp@/skinconf.xml (No such file or
> directory
Does it need to be declared in the ForrestConfModule/values/
part of cocoon.xconf ?
> I think that this should be fixed on the ForrestConfModule, but I am not
> sure.
>
> I have got in my laptop a xslt to transform cocoon.xconf values just
> using ant. I can put it on SVN if you want.
Not sure what you mean here.
--David
Re: svn commit: rev 21124 - in forrest/trunk/src: core/fresh-site/src/documentation
documentation
Posted by Juan Jose Pablos <ch...@che-che.com>.
crossley@apache.org escribió:
> Author: crossley
> Date: Sat Jun 12 01:54:20 2004
> New Revision: 21124
>
> Modified:
> forrest/trunk/src/core/fresh-site/src/documentation/skinconf.xml
> forrest/trunk/src/documentation/skinconf.xml
> Log:
> Warn not to use the forrest.apache.org systemId for DTD until either we do
> not use document() anymore or Xalan Issue 28341 is fixed.
>
There is a work aroud that we can use within forrest.
just put this on cocoon.xconf:
<component-instance name="project"
class="org.apache.forrest.conf.ForrestConfModule">
<values>
<skinconf>@project.webapp@/skinconf.xml</skinconf>
But for some reason this value does not get changed:
X [0] index.html BROKEN:
/var/tmp/fs/build/webapp/@project.webapp@/skinconf.xml (No such file or
directory
I think that this should be fixed on the ForrestConfModule, but I am not
sure.
I have got in my laptop a xslt to transform cocoon.xconf values just
using ant. I can put it on SVN if you want.
Cheers.
Cheche