maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject cvs commit: maven-components/maven-model build.sh
Date Mon, 09 Aug 2004 15:40:26 GMT
trygvis     2004/08/09 08:40:26

  Modified:    maven-model build.sh
  Log:
  o Making it easier to change the model file.
  
  Revision  Changes    Path
  1.10      +8 -6      maven-components/maven-model/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-model/build.sh,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- build.sh	18 Jul 2004 01:22:49 -0000	1.9
  +++ build.sh	9 Aug 2004 15:40:26 -0000	1.10
  @@ -2,28 +2,30 @@
   
   rm -rf target
   
  +model=maven.mdo.new
  +
   # Generate the sources from the model
  -modello --model=maven.mdo --version=4.0.0 --mode=java --dir=target/generated-sources
  +modello --model=$model --version=4.0.0 --mode=java --dir=target/generated-sources
   ret=$?; if [ $ret != 0 ]; then exit $ret; fi
   
   # Generate the source for the xpp3 marshaller and unmarshaller
  -modello --model=maven.mdo --version=4.0.0 --mode=xpp3 --dir=target/generated-sources
  +modello --model=$model --version=4.0.0 --mode=xpp3 --dir=target/generated-sources
   ret=$?; if [ $ret != 0 ]; then exit $ret; fi
   
   # Generate the 3.0.0 source from the model
  -modello --model=maven.mdo --version=3.0.0 --mode=java --dir=target/generated-sources --package-with-version
  +modello --model=$model --version=3.0.0 --mode=java --dir=target/generated-sources --package-with-version
   ret=$?; if [ $ret != 0 ]; then exit $ret; fi
   
   # Generate the 3.0.0 source for the xpp3 marshaller and unmarshaller
  -modello --model=maven.mdo --version=3.0.0 --mode=xpp3 --dir=target/generated-sources --package-with-version
  +modello --model=$model --version=3.0.0 --mode=xpp3 --dir=target/generated-sources --package-with-version
   ret=$?; if [ $ret != 0 ]; then exit $ret; fi
   
   # Generate XML Schema
  -modello --model=maven.mdo --version=4.0.0 --mode=xsd --dir=.
  +modello --model=$model --version=4.0.0 --mode=xsd --dir=.
   ret=$?; if [ $ret != 0 ]; then exit $ret; fi
   
   # Generate XDoc
  -modello --model=maven.mdo --version=4.0.0 --mode=xdoc --dir=target/generated-xdocs
  +modello --model=$model --version=4.0.0 --mode=xdoc --dir=target/generated-xdocs
   ret=$?; if [ $ret != 0 ]; then exit $ret; fi
   
   # Build the sources
  
  
  

Mime
View raw message