cziegeler 2002/10/29 23:04:23
Modified: . build.xml
Log:
Workaround (or hack if you like) to add roles defined in blocks to the roles.xml
Revision Changes Path
1.275 +9 -0 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.274
retrieving revision 1.275
diff -u -r1.274 -r1.275
--- build.xml 30 Oct 2002 05:18:55 -0000 1.274
+++ build.xml 30 Oct 2002 07:04:23 -0000 1.275
@@ -2135,6 +2135,15 @@
inheritRefs="true"
target="${compile.project}"/>
+ <!-- FIXME: We have to rebuild the cocoon.jar in order to
+ add the roles defined in the blocks -->
+ <jar jarfile="${build.dir}/${name}.jar" manifest="${build.src}/Manifest.mf">
+ <fileset dir="${build.dest}">
+ <include name="org/**"/>
+ <include name="META-INF/**"/>
+ <exclude name="org/apache/cocoon/samples/**"/>
+ </fileset>
+ </jar>
</target>
<!-- =================================================================== -->
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]