You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by so...@apache.org on 2008/04/15 10:11:24 UTC
svn commit: r648164 - in /lenya/branches/revolution/1.3.x: 13Eclipse.txt
13INSTALL.txt lib/commons-io-1.1.jar lib/quartz-1.6.0.jar
Author: solprovider
Date: Tue Apr 15 01:11:17 2008
New Revision: 648164
URL: http://svn.apache.org/viewvc?rev=648164&view=rev
Log:
Fix library issues. Added 13INSTALL.txt to explain manual repairs. Need to fix build to remove need for manual repairs.
Added:
lenya/branches/revolution/1.3.x/13INSTALL.txt
Removed:
lenya/branches/revolution/1.3.x/lib/commons-io-1.1.jar
lenya/branches/revolution/1.3.x/lib/quartz-1.6.0.jar
Modified:
lenya/branches/revolution/1.3.x/13Eclipse.txt
Modified: lenya/branches/revolution/1.3.x/13Eclipse.txt
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/13Eclipse.txt?rev=648164&r1=648163&r2=648164&view=diff
==============================================================================
--- lenya/branches/revolution/1.3.x/13Eclipse.txt (original)
+++ lenya/branches/revolution/1.3.x/13Eclipse.txt Tue Apr 15 01:11:17 2008
@@ -7,7 +7,7 @@
http://svn.apache.org/repos/asf/lenya/branches/revolution/1.3.x
(Committers should use https:.)
Next
-Click top choice matching the reposityory string.
+Click top choice matching the repository string.
Next
Finish
(New Project Wizard)
@@ -19,31 +19,55 @@
Next
Finish
+-- Cocoon-2.1.11
+Lenya 1.3 uses Cocoon-2.1.11. A major bug from before Cocoon-2.1.6 survived through Cocoon-2.1.10 making those releases undesirable.
-Add lib Libraries to build path.
-Add tools/jetty/lib/servlet-2.3.jar to build path
+Repeat for Cocoon:
+Download the Cocoon-2.1.11 release.
-Lenya 1.3 will use Cocoon-2.1.11 when it is released. A major bug from before Cocoon-2.1.6 survived through Cocoon-2.1.10 making those releases undesirable.
+-- Cocoon in Eclipse
+These instructions attempt to make an Eclipse project for Cocoon. The instructions are incomplete because I could not discover the proper libraries to prevent errors. The code may just be incompatible with Eclipse's convention of all classes resolving without errors.
-Repeat for Cocoon:
-http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
-Project name: Cocoon21x
+Project name: Cocoon-2.1.11
+
+Cocoon is missing several libraries. Download and add to Cocoon's build path:
+ commons-httpclient-3.1.jar -
+ commons-lang-2.3.jar -
+ htmlunit-1.14.jar -
+ jaxen-1.1.1.jar - http://jaxen.codehaus.org/releases.html
+ jcr-1.0.jar - http://www.day.com/maven/jsr170/jars/jcr-1.0.jar (This jar is also found buried in a download from Sun with a misleading name.)
+Remove source from the build path.
+ src/jdk1.3/java
+ src/blocks/slop
+
+These may not be the correct libraries as Eclipse still finds errors.
+--- Java version error
JRE: Must be above 1.4 or will error:
Access restriction: the method ___ from the type ___ is not accessible due to restriction on required library rt.jar
-Add to build path
-lib/core
-lib/endorsed
-tools/lib/ant.jar
+Install and configure j2sdk1.4.2_15
+
+--- Finish Lenya in Eclipse
Copy Lenya13x/src/cocoon/
local.blocks.properties
local.build.properties
-To Cocoon21x/
+To Cocoon-2.1.11/
-Run Cocoon21x/build.bat
+Run cocoon-2.1.11/build.bat
-Open Lenya13x/build.properties
-Verify cocoon.src.dir.
+Add libraries to build path from:
+lib/core
+lib/endorsed
+tools/jetty/lib/servlet-2.3.jar
+tools/lib/ant.jar
+cocoon-2.1.11/build/webapp/WEB-INF/lib/*
+
+Remove duplicate libraries keeping latest versions (higher numbers.)
+
+Open Lenya13x/build.properties and verify cocoon.src.dir
Run Lenya13x/build.bat
+Run Lenya13x/lenya.bat
+
+Change the Problems filter to "description" "doesn't contain" "deprecated" (unless you are fixing these warnings.)
\ No newline at end of file
Added: lenya/branches/revolution/1.3.x/13INSTALL.txt
URL: http://svn.apache.org/viewvc/lenya/branches/revolution/1.3.x/13INSTALL.txt?rev=648164&view=auto
==============================================================================
--- lenya/branches/revolution/1.3.x/13INSTALL.txt (added)
+++ lenya/branches/revolution/1.3.x/13INSTALL.txt Tue Apr 15 01:11:17 2008
@@ -0,0 +1,41 @@
+=== Installing Lenya 1.3 ===
+
+The "cocoon-2.1.11" and "lenya-1.3" directories should be in the same directory for the easiest configuration.
+
+Download Cocoon-2.1.11 from:
+http://cocoon.apache.org/mirror.cgi
+
+Use svn to checkout from:
+http://svn.apache.org/repos/asf/lenya/branches/revolution/1.3.x
+
+
+Copy lenya-1.3/src/cocoon/
+ local.blocks.properties
+ local.build.properties
+To Cocoon-2.1.11/
+
+Run cocoon-2.1.11/build.bat
+
+Open lenya-1.3/build.properties and verify cocoon.src.dir
+Run lenya-1.3/build.bat (or build.sh)
+
+Check for duplicate libraries in directory:
+ lenya-1.3/build/lenya/webapp/WEB-INF/lib
+
+Move to the endorsed directory:
+ serializer-2.7.1.jar
+
+Do not delete files from the "lib/endorsed" directory. Keep the latest version of each duplicate (except for quartz -- see below.) These files may be safely deleted:
+ commons-httpclient-2.0.2.jar
+ commons-io-1.1.jar
+ log4j-1.2.14.jar
+ lucene-1.4.3.jar
+ xercesImpl-2.7.1.jar
+ xml-apis-2.7.1.jar
+ xml-commons-resolver-1.1.jar
+
+Note that quartx-1.6.0.jar will cause Cocoon to error so quartx-1.5.2.jar must be used.
+
+Run lenya-1.3/lenya.bat (or lenya.sh)
+
+
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org