Update of /var/cvs/applications/taglib
In directory james.mmbase.org:/tmp/cvs-serv18204/applications/taglib
Modified Files:
maven.xml project.xml
Log Message:
Improvements in maven build for site and documentation generation
See also: http://cvs.mmbase.org/viewcvs/applications/taglib
Index: maven.xml
===================================================================
RCS file: /var/cvs/applications/taglib/maven.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- maven.xml 26 Nov 2005 17:51:39 -0000 1.2
+++ maven.xml 25 Mar 2008 21:03:09 -0000 1.3
@@ -6,12 +6,11 @@
The license (Mozilla version 1.0) can be read at the MMBase site.
See http://www.MMBase.org/license
-->
-<project xmlns:j="jelly:core" xmlns:x="jelly:xml" xmlns:deploy="deploy"
xmlns:ant="jelly:ant">
+<project xmlns:ant="jelly:ant">
<!-- after the prepare-bin-filesystem also copy libs and config -->
<preGoal name="java:jar-resources">
<ant:echo>C R E A T I N G T L D</ant:echo>
- <ant:echo>${basedir}</ant:echo>
<!-- 1.5 TransformerFactory class -->
${systemScope.setProperty('javax.xml.transform.TransformerFactory','com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl')}
@@ -34,4 +33,28 @@
<param name="uri" expression="http://www.mmbase.org/mmbase-taglib-2.0"/>
</ant:xslt>
</preGoal>
+
+ <postGoal name="sdocbook:generate-html">
+ <!-- Stylesheet uses a class as extension function -->
+ <attainGoal name="java:compile"/>
+
+ <!-- 1.5 TransformerFactory class -->
+
${systemScope.setProperty('javax.xml.transform.TransformerFactory','com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl')}
+
+<!-- Do not understand yet why the stylesheet does not compile
+ Error! Error checking type of the expression
'com.sun.org.apache.xalan.internal.xsltc.compiler.ApplyTemplates
+
+ <ant:xslt
in="${basedir}/src/org/mmbase/bridge/jsp/taglib/mmbase-taglib.xml"
+
out="${maven.sdocbook.target.dir}/frontenddevelopers/taglib/reference.html"
+ style="${basedir}/../share/xslt/xml2html.xslt"
+ processor="trax">
+ <param name="exampledir" expression="${basedir}/examples/"/>
+ <classpath>
+ <path refid="maven.dependency.classpath"/>
+ <pathelement path="${maven.build.dest}"/>
+ </classpath>
+ </ant:xslt>
+ -->
+ </postGoal>
+
</project>
Index: project.xml
===================================================================
RCS file: /var/cvs/applications/taglib/project.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- project.xml 3 Feb 2008 17:05:26 -0000 1.6
+++ project.xml 25 Mar 2008 21:03:09 -0000 1.7
@@ -26,47 +26,7 @@
<version>${mmbase.version}</version>
<type>jar</type>
</dependency>
-
- <dependency>
- <groupId>maven-taglib</groupId>
- <artifactId>maven-taglib-plugin</artifactId>
- <version>1.2.2</version>
- <type>plugin</type>
- <url>http://maven-taglib.sourceforge.net</url>
- </dependency>
- <dependency>
- <groupId>commons-fileupload</groupId>
- <artifactId>commons-fileupload</artifactId>
- <version>1.0</version>
- <url>http://jakarta.apache.org/commons/</url>
- </dependency>
-
- <dependency>
- <groupId>jspapi</groupId>
- <artifactId>jsp-api</artifactId>
- <version>2.0</version>
- </dependency>
- <!-- jsp taglibs, jstl -->
- <dependency>
- <groupId>jstl</groupId>
- <artifactId>jstl</artifactId>
- <version>1.1.2</version>
- <properties>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
- <dependency>
- <groupId>taglibs</groupId>
- <artifactId>standard</artifactId>
- <version>1.1.2</version>
- <properties>
- <war.bundle>true</war.bundle>
- </properties>
- </dependency>
</dependencies>
- <reports>
- <!-- report>taglib</report -->
- </reports>
<build>
<resources>
<resource>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs