forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: svn commit: r122833 - /forrest/trunk/main/build.xml
Date Mon, 20 Dec 2004 10:41:31 GMT
Juan Jose Pablos wrote:
> David,
> As far as I know the error was to do with a missing  "site" directory.

Yeah, i was just in the process of fixing that part of it.

> We are trying to validate a site that is not longer under main. That was 
> the reason I have removed.

Gump could not find the ant-apache-resolver.jar needed by xmlvalidate.
Stefan has tried to fix that. We will see on the next run.

> If you feel that we should validate the 
> skinconf for :

Well do you think that we should do this? We had another thread
yesterday about this topic but we did not arrive at a decision.
I think that we should somehow do such validation. Not sure if
it all should be done in the main build. Perhaps just do fresh-site
in the main build and the rest in a separate Ant task.

--David

> ./main/fresh-site/
> ./whiteboard/tests/whole-site/
> ./whiteboard/tests/basic/
> ./site-author/
> ./docs-author/
> ./plugins/wiki/
> ./plugins/simplified-docbook/
> ./plugins/rtf-output/
> ./plugins/IMSManifest/
> ./plugins/pluginTemplate/
> ./plugins/org.apache.forrest.plugin.pdf-output/
> ./plugins/org.apache.forrest.plugin.fbits/
> ./plugins/org.apache.forrest.plugin.logs/
> ./plugins/org.apache.forrest.plugin.photoGallery/
> ./plugins/org.apache.forrest.plugin.htmlArea/
> ./plugins/org.apache.forrest.plugin.OpenOffice.org/
> ./plugins/org.apache.forrest.plugin.text-output/
> ./plugins/org.apache.forrest.plugin.feeder/
> ./plugins/org.apache.forrest.plugin.pod-output/
> 
> 
> Then:
> 
> <fileset dir="../" includes="**/skinconf.xml" />
> 
> 
> WDYT?
> Cheers,
> Cheche
> 
> crossley@apache.org wrote:
> 
> >Author: crossley
> >Date: Mon Dec 20 01:53:24 2004
> >New Revision: 122833
> >
> >URL: http://svn.apache.org/viewcvs?view=rev&rev=122833
> >Log:
> >Stefan at Gump has tried to fix the failure of <xmlvalidate>
> >by adding the ant-apache-resolver to gump's build of Ant.
> >Roll back our change 122715 so we can test our gump build.
> >
> >Modified:
> >  forrest/trunk/main/build.xml
> >
> >Modified: forrest/trunk/main/build.xml
> >Url: 
> >http://svn.apache.org/viewcvs/forrest/trunk/main/build.xml?view=diff&rev=122833&p1=forrest/trunk/main/build.xml&r1=122832&p2=forrest/trunk/main/build.xml&r2=122833
> >==============================================================================
> >--- forrest/trunk/main/build.xml	(original)
> >+++ forrest/trunk/main/build.xml	Mon Dec 20 01:53:24 2004
> >@@ -156,6 +156,19 @@
> >        <fileset dir="../lib/core" includes="*.jar" />
> >      </classpath>
> >    </taskdef>
> >+    <!-- skinconf.xml -->
> >+    <!-- FIXME: do we need to validate skinconf.xml to build forrest? -->
> >+    <echo message="validating **/skinconf.xml ..."/>
> >+    <xmlvalidate failonerror="true" lenient="no" warn="yes">
> >+      <xmlcatalog id="xcat">
> >+        <catalogpath>
> >+          <pathelement
> >+            location="./webapp/resources/schema/catalog.xcat"/>
> >+        </catalogpath>
> >+      </xmlcatalog>
> >+      <fileset dir="./site"
> >+        includes="**/skinconf.xml" />
> >+    </xmlvalidate>
> >    <!-- All stylesheets **/*.xsl -->
> >    <echo message="validating stylesheets **/*.xsl ..."/>
> >    <jing rngfile="./webapp/resources/schema/relaxng/xslt.rng">
> >
> >
> > 
> >

Mime
View raw message