Details
-
Improvement
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
0.8
-
None
-
None
-
Low
Description
In forrest.build.xml there is the followoing target:
<!-- Load properties from Forrest's default skinconf.xml, unless a user's is defined -->
<target name="load-forrest-props" unless="skinconf.present">
<xslt in="${forrest.core.webapp}/skinconf.xml"
out="${project.temp-dir}/no-doctype-forrest-skinconf.xml"
style="${forrest.core.webapp}/resources/stylesheets/strip-doctype.xsl">
<xmlcatalog refid="fcatalog"/>
</xslt>
<!-- Forrest skinconf should have been previously validated in build.xml -->
<xmlproperty file="${project.temp-dir}/no-doctype-forrest-skinconf.xml"
collapseattributes="true"/>
</target>
This target is never used in a skin based site (they always have skinconf present from the seed).
Furthermore, since the core skinconf file no longer exists it breaks the dispatcher based sites, which may not have a skinconf.
----
There may well be other redundant code that needs to be cleared out.
<!-- Load properties from Forrest's default skinconf.xml, unless a user's is defined -->
<target name="load-forrest-props" unless="skinconf.present">
<xslt in="${forrest.core.webapp}/skinconf.xml"
out="${project.temp-dir}/no-doctype-forrest-skinconf.xml"
style="${forrest.core.webapp}/resources/stylesheets/strip-doctype.xsl">
<xmlcatalog refid="fcatalog"/>
</xslt>
<!-- Forrest skinconf should have been previously validated in build.xml -->
<xmlproperty file="${project.temp-dir}/no-doctype-forrest-skinconf.xml"
collapseattributes="true"/>
</target>
This target is never used in a skin based site (they always have skinconf present from the seed).
Furthermore, since the core skinconf file no longer exists it breaks the dispatcher based sites, which may not have a skinconf.
----
There may well be other redundant code that needs to be cleared out.