~ubuntu-branches/ubuntu/edgy/ant/edgy

« back to all changes in this revision

Viewing changes to bootstrap.sh

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Gybas
  • Date: 2002-02-14 14:28:48 UTC
  • Revision ID: james.westby@ubuntu.com-20020214142848-g5e3i1w44rn4kn60
Tags: 1.4.1-4
* Applied patch from Adam Heath to not follow symlinks during deletion
  (closes: #133291)
* Copy the Ant startup script to /usr/share/ant/bin/ant (closes: #133641)
* Provide the upstream chaneglog (WHATSNEW)
* The package can now be compiled with j2sdk1.3 1.3.1-1.1 (which has
  JAVA_HOME set to /usr/lib/j2se/1.3) and 1.3.1-1 (which has JAVA_HOME set
  to /usr/lib/j2sdk1.3).

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
  rm -r build/classes
69
69
fi
70
70
 
71
 
CLASSPATH=lib/crimson.jar:lib/jaxp.jar:${CLASSPATH}
 
71
# CLASSPATH=lib/crimson.jar:lib/jaxp.jar:${CLASSPATH}
 
72
NEWCLASSPATH=""
 
73
for jar in antlr bsf junit log4j oro regexp xalan2 xalanj1compat xerces; do
 
74
  NEWCLASSPATH=${NEWCLASSPATH}:/usr/share/java/${jar}.jar
 
75
done
 
76
CLASSPATH=${NEWCLASSPATH}:${CLASSPATH}
72
77
 
73
78
DIRLIBS=lib/optional/*.jar
74
79
for i in ${DIRLIBS}
119
124
 
120
125
cp -r ${CLASSDIR} build
121
126
 
122
 
"${JAVACMD}" -classpath "${CLASSPATH}" -Dant.home=. org.apache.tools.ant.Main -emacs bootstrap
 
127
"${JAVACMD}" -classpath "${CLASSPATH}" -Dant.home=. org.apache.tools.ant.Main -emacs jars javadocs
123
128
 
124
129
echo ... Cleaning Up Build Directories
125
130