From 625a601615d02e56337f55b4042915caa1dde45b Mon Sep 17 00:00:00 2001 From: frank Date: Tue, 18 Oct 2011 14:30:52 -0700 Subject: [PATCH] correct ant build-apidoc --- build/build-cloud.xml | 14 +---------- build/developer.xml | 12 +++++---- setup/apidoc/build-apidoc.sh | 47 ------------------------------------ 3 files changed, 8 insertions(+), 65 deletions(-) delete mode 100644 setup/apidoc/build-apidoc.sh diff --git a/build/build-cloud.xml b/build/build-cloud.xml index 489b4c48089..853a30af45f 100755 --- a/build/build-cloud.xml +++ b/build/build-cloud.xml @@ -78,7 +78,7 @@ - + @@ -323,19 +323,7 @@ - - - - - - - - - - - - diff --git a/build/developer.xml b/build/developer.xml index 51e8a273d7b..8b78d4e5020 100755 --- a/build/developer.xml +++ b/build/developer.xml @@ -376,18 +376,20 @@ - - - - + + + + + + - + diff --git a/setup/apidoc/build-apidoc.sh b/setup/apidoc/build-apidoc.sh deleted file mode 100644 index 309f9778f10..00000000000 --- a/setup/apidoc/build-apidoc.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env bash - # - # Copyright (C) 2010 Cloud.com, Inc. All rights reserved. - # - # This software is licensed under the GNU General Public License v3 or later. - # - # It is free software: you can redistribute it and/or modify - # it under the terms of the GNU General Public License as published by - # the Free Software Foundation, either version 3 of the License, or any later version. - # This program is distributed in the hope that it will be useful, - # but WITHOUT ANY WARRANTY; without even the implied warranty of - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. - # - # You should have received a copy of the GNU General Public License - # along with this program. If not, see . - # - - -# cloud-build-api-doc.sh -- builds api documentation. -# -#set -x - -PATHSEP=':' -if [[ $OSTYPE == "cygwin" ]] ; then - PATHSEP=';' -fi - -CP=$PATHSEP/ - -CP=${CP}$PATHSEP$CATALINA_HOME/conf - -for file in $CATALINA_HOME/webapps/client/WEB-INF/lib/*.jar -do - CP=${CP}$PATHSEP$file -done - -for file in $CATALINA_HOME/lib/*.jar; do - CP=${CP}$PATHSEP$file -done - -java -cp $CP com.cloud.api.doc.ApiXmlDocWriter $* - -if [ $? -ne 0 ] -then - exit 1 -fi \ No newline at end of file