logo       

Re: Where do I find the mini setup: msg#00697

cms.sakai.devel

Subject: Re: Where do I find the mini setup

On Apr 26, 2006, at 5:24 PM, Ian Boston wrote:

mini came into existence for 2.2 , its not available in 2.1.2

2.2 is a in https://source.sakaiproject.org/svn/sakai/branches/

Ian

Jeremy -

Ian is 100% correct - I inline and attach my personal script that I use to check-out and compile mini for my home nightly build server in the basement. Be careful to handle line wraps properly if you grab this from the E-Mail.


applesrv:~/dev/mini csev$ cat mini-bootstrap.csh
#!/bin/csh

# To run this type
# cd ~/dev
# csh svn-bootstrap.csh

# Pick your Sakai Tag and checkout type

# Head Check out
set SVNPATH=sakai/branches/sakai_mini
set DIRECTORY=sakai_mini

echo Sakai Checkout Type: $SVNPATH Directory: $DIRECTORY

# set Tomcats ports and version

set TC_PORT=8091
set TC_SHUT=8096
set TC_JK=8196
set TOMCAT=5.5.16

echo TOMCAT Version:$TOMCAT Port:$TC_PORT Shutdown port:$TC_SHUT

set MYPATH=`pwd`

# Download Tomcat using curl if necessary

if ( -d keepzips ) then
echo keepzips directory exists...
else
echo Creating keepzips directory ...
mkdir keepzips
endif

if ( -f keepzips/apache-tomcat-compat-$TOMCAT.zip ) then
echo keepzips/apache-tomcat-compat-$TOMCAT.zip exists...
else
echo Downloading keepzips/apache-tomcat-compat-$TOMCAT.zip ...
cd keepzips
curl -O http://source.sakaiproject.org/mirrors/ibiblio/maven/ tomcat/zips/apache-tomcat-compat-$TOMCAT.zip
cd $MYPATH
endif

if ( -f keepzips/apache-tomcat-$TOMCAT.zip ) then
echo keepzips/apache-tomcat-$TOMCAT.zip exists...
else
echo Downloading keepzips/apache-tomcat-$TOMCAT.zip ...
cd keepzips
curl -O http://source.sakaiproject.org/mirrors/ibiblio/maven/ tomcat/zips/apache-tomcat-$TOMCAT.zip
cd $MYPATH
endif

rm -rf apache-tomcat-$TOMCAT/
rm -rf old-$DIRECTORY
mv $DIRECTORY old-$DIRECTORY

echo Extracting Tomcat...
unzip -q keepzips/apache-tomcat-$TOMCAT.zip
echo Extracting Tomcat JDK 1.5 Compatibility patch
unzip -o -q keepzips/apache-tomcat-compat-$TOMCAT.zip

chmod +x apache-tomcat-$TOMCAT/bin/*.sh

cd apache-tomcat-$TOMCAT/conf
cp server.xml server.sav
cat server.sav | sed s/8080/$TC_PORT/ | sed s/8005/$TC_SHUT/ | sed s/ 8009/$TC_JK/> server.xml
diff server.sav server.xml
cd ../..

svn co https://source.sakaiproject.org/svn/$SVNPATH $DIRECTORY

# PLACE HACKS HERE


# END OF HACKS

cd $DIRECTORY
maven sakai -Dmaven.tomcat.home=$MYPATH/apache-tomcat-$TOMCAT/ -D maven.repo.remote=http://source.sakaiproject.org/mirrors/ibiblio/ maven/,http://www.ibiblio.org/maven/

cd ..

echo
echo Make sure that your JVM has enough memory - These are some basic settings that work for developers.
echo
echo JAVA_OPTS='-Xmx512m -Xms512m -XX:PermSize=16m - XX:MaxPermSize=128m -XX:NewSize=128m -XX:+UseConcMarkSweepGC -XX: +UseParNewGC' ; export JAVA_OPTS
echo
echo On my Mac I add this line to my .bash_login and forget about it...
echo

echo cd apache-tomcat-$TOMCAT/logs
echo ../bin/startup.sh


[see attachment: "unknown.html", size: 6108 bytes]

[see attachment: "mini-bootstrap.csh", size: 2511 bytes]

[see attachment: "unknown.html", size: 145 bytes]


Attachments:

unknown.html
http://collab.sakaiproject.org/access/content/attachment/5a5effba-cc34-4f93-8039-201d278e2e87/unknown.html

mini-bootstrap.csh
http://collab.sakaiproject.org/access/content/attachment/8b73fbe9-faf3-468d-001e-23c52950d47c/mini-bootstrap.csh

unknown.html
http://collab.sakaiproject.org/access/content/attachment/e6c7dc88-8356-4f05-80e2-89ce317ab88b/unknown.html

----------------------
This automatic notification message was sent by Sakai Collab
(http://collab.sakaiproject.org/portal) from the DG: Development site.
You can modify how you receive notifications at My Workspace > Preferences.




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise