packages: lenya/lenya.spec - don't build it against system jars. It is fuck...

pawelz pawelz at pld-linux.org
Thu Oct 8 15:34:16 CEST 2009


Author: pawelz                       Date: Thu Oct  8 13:34:16 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- don't build it against system jars. It is fuckin java. It will work only
  with jar libraries supplied with sources. It includes ant.
- updated TODO

---- Files affected:
packages/lenya:
   lenya.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/lenya/lenya.spec
diff -u packages/lenya/lenya.spec:1.4 packages/lenya/lenya.spec:1.5
--- packages/lenya/lenya.spec:1.4	Thu Oct  8 15:20:44 2009
+++ packages/lenya/lenya.spec	Thu Oct  8 15:34:10 2009
@@ -1,6 +1,8 @@
 # $Revision$, $Date$
 # TODO:
-# - build against system jars (?)
+# - some directories should be writeable for tomcat. Which one? Move them to /var/lib/lenya
+# - where to setup lenya username/passwords? Is it possible to integrate it
+#   with LDAP?
 
 %include	/usr/lib/rpm/macros.java
 Summary:	Open Source Java/XML Content Management System
@@ -36,13 +38,11 @@
 cp %{SOURCE5} mysql-schema.sql
 
 %build
-required_jars="bcel regexp xalan xercesImpl xml-apis"
-CLASSPATH=$(build-classpath $required_jars)
-
 # use bundled ant, because it does need ant < 1.7.0
 export ANT_HOME=tools
 
-# Yeah, ugly hack
+# some libs
+CLASSPATH=$(build-classpath-directory externals/cocoon_2_1_x/lib/endorsed)
 CLASSPATH=$CLASSPATH:externals/cocoon_2_1_x/tools/lib/ant-contrib-0.6.jar
 CLASSPATH=$CLASSPATH:externals/cocoon_2_1_x/tools/lib/jing-20030619.jar
 
@@ -86,6 +86,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2009/10/08 13:34:10  pawelz
+- don't build it against system jars. It is fuckin java. It will work only
+  with jar libraries supplied with sources. It includes ant.
+- updated TODO
+
 Revision 1.4  2009/10/08 13:20:44  pawelz
 - use bundled libraries, not system jars. Lenya needs exact versions of jars.
   It won't work with any other jars.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lenya/lenya.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list