• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
9if [[ -z $ANDROID_BUILD_TOP ]]; then
10  echo "Run 'lunch' to set \$ANDROID_BUILD_TOP" >&2
11  exit 1
12fi
13
14echo '<?xml version="1.0" encoding="UTF-8"?>'
15echo '<classpath>'
16cat $ANDROID_BUILD_TOP/cts/development/ide/eclipse/.classpath | grep classpathentry
17cat $ANDROID_BUILD_TOP/development/ide/eclipse/.classpath | grep classpathentry
18echo '</classpath>'
19