You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tdk-dev@turbine.apache.org by jv...@apache.org on 2001/07/14 19:14:24 UTC

cvs commit: jakarta-turbine-tdk/build build.properties test.sh

jvanzyl     01/07/14 10:14:24

  Modified:    build    build.properties test.sh
  Log:
  - make sure the tdk unpacks in a directory with a version number.
  
  Revision  Changes    Path
  1.7       +2 -2      jakarta-turbine-tdk/build/build.properties
  
  Index: build.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-tdk/build/build.properties,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.properties	2001/07/13 21:10:25	1.6
  +++ build.properties	2001/07/14 17:14:22	1.7
  @@ -1,7 +1,7 @@
   # -------------------------------------------------------------------
   # Properties for building the TDK
   # -------------------------------------------------------------------
  -tdk.version = 3.0-test
  +tdk.version = 3.0a3
   
   # These will be standardized when Maven is
   # finished, sorry for the inconsistency in naming.
  @@ -20,7 +20,7 @@
   tdk.lib = ../lib
   tdk.xdocs = ../xdocs
   tdk.base = ../dist
  -tdk.dist = ../dist/tdk
  +tdk.dist = ../dist/tdk-${tdk.version}
   
   #sample.dir = sample
   sample.dir = sample30
  
  
  
  1.2       +4 -2      jakarta-turbine-tdk/build/test.sh
  
  Index: test.sh
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-tdk/build/test.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- test.sh	2001/05/27 17:03:33	1.1
  +++ test.sh	2001/07/14 17:14:23	1.2
  @@ -10,19 +10,21 @@
   # out what's wrong with ant and this works fine
   # so this is what I'm using for now.
   
  +VERSION=`grep ^tdk\.version build.properties | sed 's/tdk\.version *= *//'`
  +
   # Assemble the TDK
   ant
   
   # Move to the assembled TDK and generate
   # the sample application.
   (
  -  cd ../dist/tdk
  +  cd ../dist/tdk-${VERSION}
     ant
   )
   
   # Move to the generated sample application
   # and execute the init target.
   (
  -  cd ../dist/tdk/webapps/newapp/WEB-INF/build
  +  cd ../dist/tdk-${VERSION}/webapps/newapp/WEB-INF/build
     ant init
   )  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-tdk-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-tdk-dev-help@jakarta.apache.org