Francois Bientz a écrit :
> For the happy FreeBSD/WODeploy  users
>
> http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Applications/Deployment/FreeBSD_6.2_WO5.3.3
>
> Francois BIENTZ
Thanks for the Howto (I have done similar things under Linux)

I have done (quickly) a (dirty) script in order to automate a part of
the installation.
(the script can be improved by using args and files/directory checks...)

Aurelien Minet
 
_______________________________________________________________
#!/bin/sh

# change tha var to the one you want
NEW_ROOT=/var/root/Apple

mkdir $NEW_ROOT
mkdir $NEW_ROOT/Library
mkdir $NEW_ROOT/Library/Frameworks
mkdir $NEW_ROOT/Library/PrivateFrameworks
mkdir $NEW_ROOT/Library/Java
mkdir $NEW_ROOT/Library/WebObjects

mkdir $NEW_ROOT/Local
mkdir $NEW_ROOT/Local/logs
mkdir $NEW_ROOT/Local/Library
mkdir $NEW_ROOT/Local/Library/WebObjects
mkdir $NEW_ROOT/Local/Library/WebObjects/Configuration
mkdir $NEW_ROOT/Local/Library/WebObjects/Extensions
mkdir $NEW_ROOT/Local/Library/WebObjects/libs
mkdir $NEW_ROOT/Local/Library/WebObjects/Applications
mkdir $NEW_ROOT/Local/Library/WebObjects/Frameworks

mkdir $NEW_ROOT/htdocs


cp -r /System/Library/Frameworks/JavaDirectToWeb.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaDTWGeneration.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaEOAccess.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaEOApplication.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaEOCocoa.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaEOControl.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaEODistribution.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaEOGeneration.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaEOInterface.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaEOInterfaceCocoa.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaEOInterfaceSwing.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaEOProject.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaEORuleSystem.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaFoundation.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaJDBCAdaptor.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaJNDIAdaptor.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaWebObjects.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaWebServicesClient.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaWebServicesGeneration.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaWebServicesSupport.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaWOExtensions.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaWOJSPServlet.framework
$NEW_ROOT/Library/Frameworks
cp -r /System/Library/Frameworks/JavaXML.framework
$NEW_ROOT/Library/Frameworks

cp -r /System/Library/PrivateFrameworks/EOPlaceholders.framework
$NEW_ROOT/Library/PrivateFrameworks
cp -r /System/Library/PrivateFrameworks/JavaMonitor.framework
$NEW_ROOT/Library/PrivateFrameworks

cp -r /System/Library/WebObjects/JavaApplications
$NEW_ROOT/Library/WebObjects
cp -r /System/Library/WebObjects/WODocumentRoot $NEW_ROOT/Library/WebObjects


cp /Library/WebObjects/Extensions/axis-ant.jar
$NEW_ROOT/Local/Library/WebObjects/Extensions
cp /Library/WebObjects/Extensions/axis.jar
$NEW_ROOT/Local/Library/WebObjects/Extensions
cp /Library/WebObjects/Extensions/commons-discovery.jar
$NEW_ROOT/Local/Library/WebObjects/Extensions
cp /Library/WebObjects/Extensions/commons-logging.jar
$NEW_ROOT/Local/Library/WebObjects/Extensions
cp /Library/WebObjects/Extensions/jaxrpc.jar
$NEW_ROOT/Local/Library/WebObjects/Extensions
cp /Library/WebObjects/Extensions/log4j-1.2.8.jar
$NEW_ROOT/Local/Library/WebObjects/Extensions
cp /Library/WebObjects/Extensions/saaj.jar
$NEW_ROOT/Local/Library/WebObjects/Extensions
cp /Library/WebObjects/Extensions/wsdl4j.jar
$NEW_ROOT/Local/Library/WebObjects/Extensions

cp -r /Library/WebServer/Documents/WebObjects $NEW_ROOT/htdocs

tar cvfz wo53.tgz $NEW_ROOT
# next copy the tgz on your target unix
# and do tar xcvf wo53.tgz
_______________________________________________________________


-- 
------------------
Direction des systèmes d'information
Université Paris Descartes
01.40.46.17.09

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to