diff options
Diffstat (limited to 'buildscripts')
-rw-r--r-- | buildscripts/classtree/build.php | 1 | ||||
-rw-r--r-- | buildscripts/phing/tasks/PradoVersionTask.php | 15 | ||||
-rw-r--r-- | buildscripts/texbuilder/quickstart/quickstart.tex | 2 |
3 files changed, 4 insertions, 14 deletions
diff --git a/buildscripts/classtree/build.php b/buildscripts/classtree/build.php index 44700be4..f7b8d7e7 100644 --- a/buildscripts/classtree/build.php +++ b/buildscripts/classtree/build.php @@ -12,7 +12,6 @@ $exclusions=array( 'pradolite.php', 'prado-cli.php', 'JSMin.php', - '.svn', '/I18N/core', '/3rdParty', '/Testing', diff --git a/buildscripts/phing/tasks/PradoVersionTask.php b/buildscripts/phing/tasks/PradoVersionTask.php index 4310cf60..15c73efd 100644 --- a/buildscripts/phing/tasks/PradoVersionTask.php +++ b/buildscripts/phing/tasks/PradoVersionTask.php @@ -38,17 +38,8 @@ class PradoVersionTask extends PropertyTask */ private function getPradoRevision() { - $svnPath=dirname(__FILE__).'/../../../.svn'; - if(is_file($svnPath.'/all-wcprops')) - $propFile=$svnPath.'/all-wcprops'; - else if(is_file($svnPath.'/dir-wcprops')) - $propFile=$svnPath.'/dir-wcprops'; - else - return 'unknown'; - $contents=file_get_contents($propFile); - if(preg_match('/\\/svn\\/\\!svn\\/ver\\/(\d+)\\//ms',$contents,$matches)>0) - return $matches[1]; - else - return 'unknown'; + $rev=shell_exec("git log -1 --pretty=format:'%h'"); + if($rev===null) $rev='unknown'; + return $rev; } } diff --git a/buildscripts/texbuilder/quickstart/quickstart.tex b/buildscripts/texbuilder/quickstart/quickstart.tex index deaba73c..41258800 100644 --- a/buildscripts/texbuilder/quickstart/quickstart.tex +++ b/buildscripts/texbuilder/quickstart/quickstart.tex @@ -52,7 +52,7 @@ %----------------- TITLE -------------- -\title{\Huge \bfseries PRADO v3.2.2 Quickstart Tutorial +\title{\Huge \bfseries PRADO v3.2.3 Quickstart Tutorial \thanks{Copyright 2004-2013. All Rights Reserved.} } \author{Qiang Xue and Wei Zhuo} |