summaryrefslogtreecommitdiff
path: root/buildscripts/phing/tasks/ManualIndexTask.php
diff options
context:
space:
mode:
authorctrlaltca <>2012-07-12 11:21:01 +0000
committerctrlaltca <>2012-07-12 11:21:01 +0000
commit903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch)
treee08bf04f0823650a231227ac3499121270172a23 /buildscripts/phing/tasks/ManualIndexTask.php
parent3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff)
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'buildscripts/phing/tasks/ManualIndexTask.php')
-rw-r--r--buildscripts/phing/tasks/ManualIndexTask.php74
1 files changed, 37 insertions, 37 deletions
diff --git a/buildscripts/phing/tasks/ManualIndexTask.php b/buildscripts/phing/tasks/ManualIndexTask.php
index 1725880f..c689d4c5 100644
--- a/buildscripts/phing/tasks/ManualIndexTask.php
+++ b/buildscripts/phing/tasks/ManualIndexTask.php
@@ -1,38 +1,38 @@
-<?php
-
-require_once 'phing/Task.php';
-
-/**
- * Task to index PRADO API docs.
- */
-class ManualIndexTask extends Task
-{
- private $docdir;
- private $todir;
-
- /**
- * @param string the API documentation directory
- */
- public function setDocdir($value)
- {
- $this->docdir=$value;
- }
-
- public function setTodir($value)
- {
- $this->todir=$value;
- }
-
- public function main()
- {
- $srcdir=realpath(dirname(__FILE__).'/../../../');
- $zend_path = $srcdir.'/demos/quickstart/protected/index';
- set_include_path(get_include_path().PATH_SEPARATOR.realpath($zend_path));
- require_once ('Zend/Search/Lucene.php');
- require_once($srcdir.'/buildscripts/index/api_index.php');
- $api = new api_index($this->todir, realpath($this->docdir));
- $api->create_index();
- }
-}
-
+<?php
+
+require_once 'phing/Task.php';
+
+/**
+ * Task to index PRADO API docs.
+ */
+class ManualIndexTask extends Task
+{
+ private $docdir;
+ private $todir;
+
+ /**
+ * @param string the API documentation directory
+ */
+ public function setDocdir($value)
+ {
+ $this->docdir=$value;
+ }
+
+ public function setTodir($value)
+ {
+ $this->todir=$value;
+ }
+
+ public function main()
+ {
+ $srcdir=realpath(dirname(__FILE__).'/../../../');
+ $zend_path = $srcdir.'/demos/quickstart/protected/index';
+ set_include_path(get_include_path().PATH_SEPARATOR.realpath($zend_path));
+ require_once ('Zend/Search/Lucene.php');
+ require_once($srcdir.'/buildscripts/index/api_index.php');
+ $api = new api_index($this->todir, realpath($this->docdir));
+ $api->create_index();
+ }
+}
+
?> \ No newline at end of file