blob: 9b90d82a775a0886a451d48b321889c70894881f [file] [log] [blame]
Brian Muramatsuf176eaf2010-07-27 14:27:01 -07001#!/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>'
Stuart Scottf67280f2014-09-30 14:07:30 -070016cat $ANDROID_BUILD_TOP/cts/development/ide/eclipse/.classpath $ANDROID_BUILD_TOP/development/ide/eclipse/.classpath | grep classpathentry | sort
Brian Muramatsuf176eaf2010-07-27 14:27:01 -070017echo '</classpath>'