Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change 
notification.

The following page has been changed by JörnNettingsmeier:
http://wiki.apache.org/lenya/TestDrivingLenya1%2e4-HEAD

------------------------------------------------------------------------------
  
  First, you need to check out the latest source code of Lenya-1.4:
  
-  yourhost:/srv/lenya # svn co http://svn.apache.org/repos/asf/lenya/trunk 
lenya-1.4.x
+  yourhost:/srv/lenya # svn co http://svn.apache.org/repos/asf/lenya/trunk 
lenya_1_4_X
  
  (Check the "official" SVN documentation at 
http://lenya.apache.org/1_4/installation/subversion.html in case the procedure 
changes)
  
@@ -33, +33 @@

  
  There is currently a problem with a broken link on the Cocoon download page, 
and Antonio Gallardo tells me the snapshots are currently broken. He recommends 
checking out
  
-  yourhost:/srv/lenya # svn co 
http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X/
+  yourhost:/srv/lenya # svn co 
http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X/ cocoon_2_1_X
  
  === Configuring the Lenya Build ===
  
  First of all, create your own config file:
  
-  yourhost:/srv/lenya # cp build.properties local.build.properties
+  yourhost:/srv/lenya/lenya_1_4_X # cp build.properties local.build.properties
  
- With your favourite vi, change the value of '''cocoon.src.dir''' to 
'''../BRANCH_2_1_X/'''. Since I want to play with asset uploads, I set 
'''enable.uploads''' to '''true'''. I won't bother with Tomcat yet - the 
built-in servlet engine is good enough for testing.
+ With your favourite vi, change the value of '''cocoon.src.dir''' to 
'''../cocoon_2_1_X/'''. Since I want to play with asset uploads, I set 
'''enable.uploads''' to '''true'''. I won't bother with Tomcat yet - the 
built-in servlet engine is good enough for testing.
  
  There is no need to build Cocoon manually - the Lenya build process will take 
care of that.
  
@@ -51, +51 @@

  
  Now all that's left to do is
   
-  yourhost:/srv/lenya # ./build.sh
+  yourhost:/srv/lenya/lenya_1_4_X # ./build.sh
  
  Grab a coffee while it compiles.
  
@@ -60, +60 @@

  
  Start your brand-new, bleeding-edge Lenya with
  
-  yourhost:/srv/lenya # su -c "./lenya.sh servlet" lenya
+  yourhost:/srv/lenya/lenya_1_4_X # su -c "./lenya.sh servlet" lenya
  
  Surf to yourhost:8888 and enjoy.
  
- 
  Remember to repeat this procedure at least once a week, lest the bleeding 
edge effect wear off :-D
  
+ === Updating and rebuilding ===
+ 
+ After the initial svn checkout, updates are very fast. Just do
+ 
+  yourhost:/srv/lenya # cd lenya_1_4_X
+  yourhost:/srv/lenya/lenya_1_4_X # svn update .
+  yourhost:/srv/lenya/lenya_1_4_X # cd ../cocoon_2_1_X
+  yourhost:/srv/lenya/cocoon_2_1_X # svn update .
+ 
+ Then do a '''./build.sh''' in the lenya_1_4_X directory. If you encounter 
problems during the build, try '''./build.sh clean''' in both the cocoon and 
lenya trees before you build. Back up your publication data first, just in 
case. There is an entry in build.properties that tells the build process to 
leave your content alone when cleaning up, but it might not cover all your 
modifications.
+ 
+ RandomThingsLearnedWhilePlayingWith1.4HEAD
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to