LabResources:Subversion
From Adapt
Subversion Resources
Recovering subversion
After stopping all services, run
svnadmin recover /export/subversion/repository
Checking out PAWN
I'm assuming that you have a seperate directory for source code and libraries.
Check out the top level source directory containing all projects and libraries. This will ensure you have all necessary projects regardless of you actually using them. We use stow to manage libraries, at least for unix.
[toaster@loach adapt]$ cd src [toaster@loach src]$ svn co http://narasvn.umiacs.umd.edu/repository/src . [toaster@loach src]$ cd ../lib [toaster@loach lib]$ svn export http://narasvn.umiacs.umd.edu/repository/lib/stow
You will now have a stow directory containing all libraries you may need to use. Now, you can either add the libraries directory into your library manager, or if you will be switching libraries frequently, you can stow them prior to adding. When adding items into your library manager, you should name them after the mid-level directory for each library, not the top level.
I.e. mysql layout
- mysql-jdbc-3.1.8.LP1/
- mysql-jdbc-3.1.8.LP1/com.mysql.jdbc
- mysql-jdbc-3.1.8.LP1/com.mysql.jdbc/mysql-connector-java.jar
The library should be named com.mysql.jdbc.
[toaster@loach lib]$ cd stow [toaster@loach stow]$ stow xml-stream-jwsdp-1.5 xml-security-1.2.0 xml-parsers-1.2.6.01 \ xml-bind-1.0.1 wss4j-CVS.2005.02.25 mysql-jdbc-3.1.8.LP1 mail-1.3.2 log4j-1.2.9 [toaster@loach stow]$ cd .. [toaster@loach lib]$ ls -l total 8 lrwxrwxrwx 1 toaster nara 40 Nov 2 14:06 com.mysql.jdbc -> stow/mysql-jdbc-3.1.8.LP1/com.mysql.jdbc lrwxrwxrwx 1 toaster nara 38 Nov 2 14:06 condor.classad -> stow/condor-classad-2.2/condor.classad lrwxrwxrwx 1 toaster nara 32 Nov 2 14:06 edu.sdsc.grid -> stow/jargon-1.4.13/edu.sdsc.grid lrwxrwxrwx 1 toaster nara 38 Nov 2 14:04 javax.activation -> stow/activation-1.0.2/javax.activation lrwxrwxrwx 1 toaster nara 26 Nov 2 14:06 javax.mail -> stow/mail-1.3.2/javax.mail lrwxrwxrwx 1 toaster nara 34 Nov 2 14:06 javax.xml.bind -> stow/xml-bind-1.0.1/javax.xml.bind lrwxrwxrwx 1 toaster nara 43 Nov 2 14:06 javax.xml.parsers -> stow/xml-parsers-1.2.6.01/javax.xml.parsers lrwxrwxrwx 1 toaster nara 42 Nov 2 14:06 javax.xml.stream -> stow/xml-stream-jwsdp-1.5/javax.xml.stream lrwxrwxrwx 1 toaster nara 37 Nov 2 14:06 org.apache.axis -> stow/axis-1.2.RC2.LP1/org.apache.axis lrwxrwxrwx 1 toaster nara 67 Nov 2 14:06 org.apache.commons.httpclient -> stow/jakarta-commons-httpclient-2.0.2/org.apache.commons.httpclient lrwxrwxrwx 1 toaster nara 50 Nov 2 14:06 org.apache.jakarta.taglibs -> stow/jakarta-jstl-1.1.2/org.apache.jakarta.taglibs lrwxrwxrwx 1 toaster nara 33 Nov 2 14:06 org.apache.log4j -> stow/log4j-1.2.9/org.apache.log4j lrwxrwxrwx 1 toaster nara 42 Nov 2 14:06 org.apache.wss4j -> stow/wss4j-CVS.2005.02.25/org.apache.wss4j lrwxrwxrwx 1 toaster nara 47 Nov 2 14:06 org.apache.xml.security -> stow/xml-security-1.2.0/org.apache.xml.security lrwxrwxrwx 1 toaster nara 50 Nov 2 14:06 org.bouncycastle.bcprovider -> stow/bouncycastle-1.30/org.bouncycastle.bcprovider drwxr-xr-x 20 toaster nara 4096 Nov 2 14:03 stow