You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@apache.org on 2001/02/11 21:06:44 UTC

cvs commit: jakarta-velocity/examples test.sh

geirm       01/02/11 12:06:44

  Modified:    examples test.sh
  Log:
  Updated to remove dependency on specific version number in jar filename.
  
  Revision  Changes    Path
  1.5       +6 -1      jakarta-velocity/examples/test.sh
  
  Index: test.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-velocity/examples/test.sh,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- test.sh	2000/12/06 05:38:58	1.4
  +++ test.sh	2001/02/11 20:06:43	1.5
  @@ -1,5 +1,10 @@
   echo "Running Example with input file 'example.vm'"
   
  -java -cp .:../bin/velocity-0.71.jar Example example.vm  > output
  +for i in ../bin/*.jar
  +do
  +    _VELCP=$VELCP:"$i"
  +done
  +
  +java -cp $_VELCP:. Example example.vm  > output
   
   echo "Output of Example is in the file 'output'"