57 | | |
| 57 | |
| 58 | Before tagging a new release, be sure to check that examples provided compile successfully. To check this, follow the following steps |
| 59 | * Create a vanilla SCDB |
| 60 | * Load templates to be checked into the vanilla SCDB (with Subversion client or using the tarball) |
| 61 | * Compile with `ant`, the standard tool for compiling with SCDB |
| 62 | |
| 63 | To do these checks, you don't need to run a Subversion server. You just need a Subversion client and Java for running `ant`. |
| 64 | |
| 65 | Below is a check example for gLite 3.0.0 branch (replace with the appropriate one) : |
| 66 | |
| 67 | {{{ |
| 68 | mkdir /tmp/template-validation |
| 69 | cd /tmp/template-validation |
| 70 | svn export https://svn.lal.in2p3.fr/SCDB/trunk . |
| 71 | cd cfg |
| 72 | # In the next command, change the branch to the appropriate one |
| 73 | svn export https://svn.lal.in2p3.fr/templates/branches/gLite-3.0.0 . |
| 74 | cd .. |
| 75 | external/ant/bin/ant |
| 76 | }}} |
| 77 | |
| 78 | Tool [source:templates/trunk/tools/compile-check.sh compile-check.sh] is executing this set of commands and can be used instead of entering command manually. |