Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Removed broken build scripts and their libs. Build requires separate ant installation.

Doug Cuttingcfc5237e209c
diff --git a/build.bat b/build.bat
deleted file mode 100755
index 98147a324a2..00000000000
--- a/build.bat
+++ /dev/null
@@ -1,9 +0,0 @@
-@echo off
-
-for %%i in (.\lib\*.jar) do call cpappend.bat %%i
-
-echo CLASSPATH="%_CP%"
-
-java -classpath "%_CP%" org.apache.tools.ant.Main -Dant.home=%_AH% %1 %2 %3
-
-SET _CP=
diff --git a/build.properties b/build.properties
index ad065b42127..e9c5f95792b 100644
--- a/build.properties
+++ b/build.properties
@@ -48,3 +48,5 @@ javacc.home = ./
javacc.zip.dir = ${javacc.home}/lib
javacc.zip = ${javacc.zip.dir}/JavaCC.zip
+# Home directory of jakarta-site2
+jakarta.site2.home = ../jakarta-site2
diff --git a/build.sh b/build.sh
deleted file mode 100755
index 3397ffd779f..00000000000
--- a/build.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-if [ "$JAVA_HOME" = "" ] ; then
- echo You must set JAVA_HOME to point at your Java Development Kit directory
- exit 1
-fi
-
-# convert the existing path to unix
-if [ "$OSTYPE" = "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] ; then
- CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
-fi
-
-# Add in your .jar files first
-for i in ./lib/*.jar
-do
- CLASSPATH=$CLASSPATH:"$i"
-done
-# Add in the jakarta-site2 library files
-for i in ../jakarta-site2/lib/*.jar
-do
- CLASSPATH=$CLASSPATH:"$i"
-done
-
-# convert the unix path to windows
-if [ "$OSTYPE" = "cygwin32" ] || [ "$OSTYPE" = "cygwin" ] ; then
- CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
-fi
-
-BUILDFILE=build.xml
-
-#echo $CLASSPATH
-
-java $ANT_OPTS -classpath "$CLASSPATH" org.apache.tools.ant.Main \
- -Dant.home=$ANT_HOME \
- -buildfile ${BUILDFILE} \
- "$@"
diff --git a/build.xml b/build.xml
index d3841f71411..b1a639d0783 100644
--- a/build.xml
+++ b/build.xml
@@ -25,6 +25,12 @@
<pathelement path="${java.class.path}" />
</path>
+ <path id="anakia.classpath">
+ <fileset dir="${jakarta.site2.home}/lib">
+ <include name="*.jar" />
+ </fileset>
+ </path>
+
<!-- ================================================================== -->
<!-- Prepares the build directory -->
<!-- ================================================================== -->
@@ -211,14 +217,14 @@
<available
classname="org.apache.velocity.anakia.AnakiaTask"
property="AnakiaTask.present"
- classpathref="classpath"
+ classpathref="anakia.classpath"
/>
</target>
<target depends="docs-prepare" name="prepare-error" unless="AnakiaTask.present">
<echo>
AnakiaTask is not present! Please check to make sure that
- velocity.jar is in your classpath.
+ you have jakarta.site2.home set correctly.
</echo>
</target>
@@ -227,7 +233,7 @@
name="anakia"
classname="org.apache.velocity.anakia.AnakiaTask"
>
- <classpath refid="classpath"/>
+ <classpath refid="anakia.classpath"/>
</taskdef>
<anakia
@@ -238,7 +244,7 @@
excludes="**/stylesheets/** empty.xml"
includes="**/*.xml"
lastModifiedCheck="true"
- templatePath="../jakarta-site2/xdocs/stylesheets"
+ templatePath="${jakarta.site2.home}/xdocs/stylesheets"
>
</anakia>
diff --git a/cpappend.bat b/cpappend.bat
deleted file mode 100755
index c62555342e3..00000000000
--- a/cpappend.bat
+++ /dev/null
@@ -1 +0,0 @@
-set _CP=%1;%_CP%
diff --git a/lib/ant-1.3.jar b/lib/ant-1.3.jar
deleted file mode 100644
index 13acd1e128d..00000000000
--- a/lib/ant-1.3.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[e4efab3ced62cc2c310add71f678bb899e2e51cd] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/jdom-b7.jar b/lib/jdom-b7.jar
deleted file mode 100644
index ac5b958103f..00000000000
--- a/lib/jdom-b7.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[6be1f2de7126b91b14a11a4b00326859a85e5981] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/velocity-1.2-dev.jar b/lib/velocity-1.2-dev.jar
deleted file mode 100644
index 9aa4c31fdfd..00000000000
--- a/lib/velocity-1.2-dev.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[5f8889968e8e6ebbee53e6425ccaca3130c12fef] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file
diff --git a/lib/xerces-1.3.0.jar b/lib/xerces-1.3.0.jar
deleted file mode 100644
index fb3d01308f0..00000000000
--- a/lib/xerces-1.3.0.jar
+++ /dev/null
@@ -1,2 +0,0 @@
-AnyObjectId[311ab8d15990e3d0b0234e37afb89fd7f21f8eb8] was removed in git history.
-Apache SVN contains full history.
\ No newline at end of file