pear-propel-gen.bat 1.2 KB

123456789101112131415161718192021222324252627282930
  1. @ECHO OFF
  2. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  3. :: The propel-gen build script for Windows based systems
  4. :: $Id: pear-propel-gen.bat,v 1.2 2004/10/17 13:24:09 hlellelid Exp $
  5. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  6. ::----------------------------------------------------------------------------------
  7. :: Please set following to the "phing" script. By default this is expected to be
  8. :: on your path. (You don't need to modify this file if that is the case.)
  9. SET phingScript=phing
  10. ::---------------------------------------------------------------------------------
  11. ::---------------------------------------------------------------------------------
  12. :: Do not modify below this line!! (Unless you know what your doing :)
  13. ::---------------------------------------------------------------------------------
  14. ::---------------------------------------------------------------------------------
  15. set nbArgs=0
  16. for %%x in (%*) do Set /A nbArgs+=1
  17. if %nbArgs% leq 1 (
  18. "%phingScript%" -f "@DATA-DIR@\propel_generator\pear-build.xml" -Dproject.dir="%CD%" %*
  19. ) else (
  20. "%phingScript%" -f "@DATA-DIR@\propel_generator\pear-build.xml" -Dproject.dir=%*
  21. )
  22. GOTO :EOF
  23. :PAUSE_END
  24. PAUSE