[jboss-cvs] JBossAS SVN: r99674 - branches/JBPAPP_5_0/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jan 20 14:46:21 EST 2010


Author: smarlow at redhat.com
Date: 2010-01-20 14:46:21 -0500 (Wed, 20 Jan 2010)
New Revision: 99674

Modified:
   branches/JBPAPP_5_0/build/README
Log:
added note about need to install 'gnu patch'

Modified: branches/JBPAPP_5_0/build/README
===================================================================
--- branches/JBPAPP_5_0/build/README	2010-01-20 19:19:32 UTC (rev 99673)
+++ branches/JBPAPP_5_0/build/README	2010-01-20 19:46:21 UTC (rev 99674)
@@ -1,3 +1,5 @@
+Before attempting to build EAP, you must install the gnu "patch" program.  Issuing "yum install patch" should install it (if you don't have it already).
+
 By default, all jbossas/server/* profiles are secured with 'jbossas-5-enableauth.patch'.
 
 To build an unsecured jbossas, specify the -Dbuild.unsecure option:
@@ -20,6 +22,13 @@
 The patch files can be updated manually as needed or generated with these commands (assuming two AS trees representing desired targets).  
 Be sure to delete any noise in the output.  
 
+If you manually update the patch files, make sure that you only patch each file once (don't accumulate separate patches to the same file).  
+Violating this rule, will cause problems when trying to apply the jbossas-5-disableauth.patch.
+
+The best approach is to issue the following commands after creating a secured installation (auth folder) and an unsecured installation (noauth folder).
+You can use the result from "./build.sh -Dbuild.unsecure=" for generating the "noauth" folder (you need to rename the output AS root folder to noauth).
+You can use the result from "./build.sh" for generating the "auth" folder (plus any manual changes to the server configuration folders).
+
  diff -Naur noauth/server auth/server > /work/as/JBPAPP_5_0/JBPAPP_5_0/build/jbossas-5-enableauth.patch
  sed -i 's/noauth\//.\//g' /work/as/JBPAPP_5_0/JBPAPP_5_0/build/jbossas-5-enableauth.patch
  sed -i 's/auth\//.\//g' /work/as/JBPAPP_5_0/JBPAPP_5_0/build/jbossas-5-enableauth.patch




More information about the jboss-cvs-commits mailing list