ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@locus.apache.org
Subject cvs commit: jakarta-ant/proposal/antfarm bootstrap.sh build.sh clean.sh
Date Sat, 16 Dec 2000 02:20:36 GMT
donaldp     00/12/15 18:20:36

  Added:       proposal/antfarm bootstrap.sh build.sh clean.sh
  Log:
  Added bash shell scripts.
  
  Submitted By: Josh Lucas <josh@stonecottage.com>
  
  Revision  Changes    Path
  1.1                  jakarta-ant/proposal/antfarm/bootstrap.sh
  
  Index: bootstrap.sh
  ===================================================================
  #!/bin/sh
  
  if ! test -d boot ; then
      mkdir -p boot/tasks
      mkdir -p boot/xml
  fi
  
  if ! test -d  temp ; then
      mkdir -p temp/core
      mkdir -p temp/xml
      mkdir -p temp/tasks
  fi
  
  if  test -z "$JAVAC" ; then
      JAVAC=javac;
  fi
  
  TOOLS=core/org/apache/tools
  
  ${JAVAC} -d temp/core ${TOOLS}/ant/*.java \
                        ${TOOLS}/ant/cmdline/*.java \
                        core/*.java
  
  jar -cfm boot/ant.jar core/META-INF/manifest.mf -C temp/core .
  
  ${JAVAC} -classpath boot/ant.jar:jaxp/jaxp.jar:jaxp/crimson.jar -d temp/xml xml/org/apache/tools/ant/xml/*.java
  
  jar -cf boot/xml/ant-xml.jar -C temp/xml .
  
  ${JAVAC} -classpath boot/ant.jar -d temp/tasks tasks/org/apache/tools/ant/tasks/*.java
  
  cp tasks/java2sdk.ant temp/tasks/java2sdk.ant
  
  jar -cf boot/tasks/java2sdk.jar -C temp/tasks .
  
  cp jaxp/jaxp.jar boot/xml/jaxp.jar
  cp jaxp/crimson.jar boot/xml/crimson.jar
  
  #rm -rf temp
  
  
  
  1.1                  jakarta-ant/proposal/antfarm/build.sh
  
  Index: build.sh
  ===================================================================
  #!/bin/sh
  
  java -classpath boot/ant.jar -Dant.project.path=.:jaxp ant ant:all
  
  
  
  1.1                  jakarta-ant/proposal/antfarm/clean.sh
  
  Index: clean.sh
  ===================================================================
  #!/bin/sh
  
  if test -d boot ; then
      rm -rf boot
  fi
  
  if test -d temp ; then
      rm -rf temp
  fi
  
  if test -d dist ; then
      rm -rf dist
  fi
  
  
  

Mime
View raw message