Home | History | Annotate | Download | only in eclipse
      1 #!/bin/bash
      2 
      3 # Outputs a classpath file containing classpaths from development/ide/eclipse
      4 # and additional classpaths from cts/development/ide/eclipse.
      5 #
      6 # From your $ANDROID_BUILD_TOP directory:
      7 # ./cts/development/ide/eclipse/genclasspath.sh > .classpath
      8 
      9 if [[ -z $ANDROID_BUILD_TOP ]]; then
     10   echo "Run 'lunch' to set \$ANDROID_BUILD_TOP" >&2
     11   exit 1
     12 fi
     13 
     14 echo '<?xml version="1.0" encoding="UTF-8"?>'
     15 echo '<classpath>'
     16 cat $ANDROID_BUILD_TOP/cts/development/ide/eclipse/.classpath | grep classpathentry
     17 cat $ANDROID_BUILD_TOP/development/ide/eclipse/.classpath | grep classpathentry
     18 echo '</classpath>'
     19