From: Michael S. <sta...@us...> - 2005-10-05 00:06:39
|
Update of /cvsroot/archive-access/archive-access/projects/wera In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5866 Modified Files: LICENSE.txt README.txt maven.xml project.properties project.xml Log Message: * LICENSE.txt * README.txt * maven.xml * project.properties Allow interpolation of version number. * project.xml Fix text. * src/webapps/wera/lib/header.inc Add interpolation of version number. * xdocs/navigation.xml Add in pointer to docbook generated manual. Index: maven.xml =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wera/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** maven.xml 4 Oct 2005 22:59:26 -0000 1.1 --- maven.xml 5 Oct 2005 00:06:30 -0000 1.2 *************** *** 20,25 **** --- 20,29 ---- </goal> + <!--Make jar a noop because this is a php project.--> + <goal name="jar" /> + <preGoal name="xdoc:jelly-transform"> <attainGoal name="faq" /> + <attainGoal name="docbook"/> </preGoal> *************** *** 32,34 **** --- 36,110 ---- </postGoal> + <postGoal name="dist:prepare-bin-filesystem"> + <echo>[wera] dist:prepare-bin-filesystem postGoal</echo> + <!--Set filter token used in a few instances below.--> + <filter token="VERSION" value="${pom.currentVersion}" /> + <copy todir="${maven.build.dir}/webapps" filtering="true"> + <fileset dir="${maven.src.dir}/webapps"> + <exclude name="**/*.gif"/> + <exclude name="**/*.jpg"/> + <exclude name="**/*.png"/> + </fileset> + </copy> + <copy todir="${maven.build.dir}/webapps" filtering="false"> + <fileset dir="${maven.src.dir}/webapps"> + <include name="**/*.gif"/> + <include name="**/*.jpg"/> + <include name="**/*.png"/> + <exclude name="**/*.swf"/> + </fileset> + </copy> + <!--Copy over the just made war files into the distribution copy.--> + <copy todir="${maven.dist.bin.assembly.dir}/webapps"> + <fileset dir="${maven.build.dir}/webapps" /> + </copy> + </postGoal> + + <goal name="docbook"> + <!--Check that the jimi jars are present. If not, skip docbook. + --> + <j:set var="sDocbookSupportPresent" value="false" /> + <util:available file="${maven.repo.local}/jimi/jars" > + <j:set var="sDocbookSupportPresent" value="true"/> + </util:available> + <j:if test="${sDocbookSupportPresent == 'true'}"> + <attainGoal name="sdocbook:generate-html"/> + <!--<attainGoal name="sdocbook:generate-pdf"/> + --> + </j:if> + <!-- else --> + <j:if test="${sDocbookSupportPresent != 'true'}"> + <echo + message="sdocbook SUN jimi jar not present. Skipping docbook build." /> + </j:if> + </goal> + <goal name="copy_docbook"> + <!--Copies docbooks under dist docs and under webapps. This goal runs + after these dirs have been setup. + --> + <property name="docbook.assembled" + value="${maven.dist.bin.assembly.dir}/docs/articles/" /> + <j:set var="docbookPresent" value="false" /> + <util:available file="${docbook.assembled}" > + <j:set var="docbookPresent" value="true"/> + </util:available> + <j:if test="${docbookPresent == 'true'}"> + <!--Copy under docs in dist--> + <mkdir dir="${docbook.assembled}" /> + <copy todir="${docbook.assembled}"> + <fileset dir="${maven.build.dir}/docs/articles/" /> + </copy> + <!--Copy into webapps dir--> + <mkdir dir="${maven.build.dir}/webapps/admin/docs/articles/" /> + <copy todir="${maven.build.dir}/webapps/admin/docs/articles/"> + <fileset dir="${maven.build.dir}/docs/articles/" /> + </copy> + </j:if> + <!-- else --> + <j:if test="${sDocbookSupportPresent != 'true'}"> + <echo + message="Docbook copy skipped (Nothing to copy -- not built?)." /> + </j:if> + </goal> + </project> Index: project.properties =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wera/project.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** project.properties 4 Oct 2005 22:59:26 -0000 1.1 --- project.properties 5 Oct 2005 00:06:30 -0000 1.2 *************** *** 15,16 **** --- 15,23 ---- # Have the name of stuff generated in here be nutchwax. maven.final.name=${pom.name}-${pom.currentVersion} + + # Sdocbook properties + maven.sdocbook.src.dir = ${basedir}/src/articles + maven.sdocbook.target.dir = ${maven.build.dir}/docs/articles + maven.sdocbook.resources.include = **/*.gif,**/*.png + maven.sdocbook.html.params = -PARAM generate.id.attributes 1 -PARAM section.autolabel 1 -PARAM part.autolabel 1 -PARAM chapter.autolabel 1 -PARAM generate.meta.abstract 1 + maven.sdocbook.fo.params = -PARAM generate.id.attributes 1 -PARAM section.autolabel 1 -PARAM part.autolabel 1 -PARAM chapter.autolabel 1 -PARAM generate.meta.abstract 1 Index: LICENSE.txt =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wera/LICENSE.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** LICENSE.txt 4 Oct 2005 22:59:26 -0000 1.1 --- LICENSE.txt 5 Oct 2005 00:06:30 -0000 1.2 *************** *** 1,3 **** ! WERA is free software; you can redistribute it and/or modify it under the terms of the GNU General Public license (GPL) reproduced below. --- 1,3 ---- ! wera is free software; you can redistribute it and/or modify it under the terms of the GNU General Public license (GPL) reproduced below. Index: project.xml =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wera/project.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** project.xml 4 Oct 2005 23:37:32 -0000 1.4 --- project.xml 5 Oct 2005 00:06:30 -0000 1.5 *************** *** 25,34 **** <package>no.nb.nwa</package> <logo /> ! <description>Wera is an archive viewer application that gives an Internet Archive Wayback Machine-like access to web archive collections. Wera is ! php5 application based on -- and replacing -- the <a ! href="http://nwa.nb.no/">NwaToolset</a>. Uses ! Uses <a href="/projects/nutch">Nutchwax</a> as its search engine ! core and the ARCRetriever fetching records from ARCs. </description> <!-- a short description of what the project does --> --- 25,35 ---- <package>no.nb.nwa</package> <logo /> ! <description>Wera is an archive <i>viewer</i> application that ! gives an Internet Archive Wayback Machine-like access to web archive collections. Wera is ! a php5 application based on -- and replacing -- the <a ! href="http://nwa.nb.no/">NwaToolset</a>. Currently, it uses ! <a href="/projects/nutch">Nutchwax</a> as its search engine ! core and the ARCRetriever (included) webapp fetching records from ARCs. </description> <!-- a short description of what the project does --> Index: README.txt =================================================================== RCS file: /cvsroot/archive-access/archive-access/projects/wera/README.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README.txt 4 Oct 2005 22:59:26 -0000 1.1 --- README.txt 5 Oct 2005 00:06:30 -0000 1.2 *************** *** 1,2 **** --- 1,9 ---- $Id$ + TODO + + ON BUILDING WERA + There is nothing to build in wera. You just copy the src/webapps/wera directory + under your suitably configured apache htdocs directory. Though wera project + is php, not java, wera uses maven to build the wera website, create the wera + binary and src bundles, and generating the docbook manual at build time. |