blob: 99c83896a1d5c5308515b4bc80f20d948a14fc4e [file] [log] [blame]
Michael Chan14a97b22012-11-21 03:15:40 -08001#!/bin/bash
2# Creates eclipse .project file
3
4pushd ../../.. > /dev/null
5sed -e "s,SRC_ROOT_DIR,$PWD," <<- EOF > packages/apps/Calendar/.project
6<?xml version="1.0" encoding="UTF-8"?>
7<projectDescription>
Michael Chanc6b49452012-12-11 17:10:53 -08008 <name>CalendarAndroid</name>
Michael Chan14a97b22012-11-21 03:15:40 -08009 <comment></comment>
10 <projects>
11 </projects>
12 <buildSpec>
13 <buildCommand>
14 <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
15 <arguments>
16 </arguments>
17 </buildCommand>
18 <buildCommand>
19 <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
20 <arguments>
21 </arguments>
22 </buildCommand>
23 <buildCommand>
24 <name>org.eclipse.jdt.core.javabuilder</name>
25 <arguments>
26 </arguments>
27 </buildCommand>
28 <buildCommand>
29 <name>com.android.ide.eclipse.adt.ApkBuilder</name>
30 <arguments>
31 </arguments>
32 </buildCommand>
33 </buildSpec>
34 <natures>
35 <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
36 <nature>org.eclipse.jdt.core.javanature</nature>
37 </natures>
38 <linkedResources>
39 <link>
40 <name>src_ex_common</name>
41 <type>2</type>
42 <location>SRC_ROOT_DIR/frameworks/ex/common/java</location>
43 </link>
44 <link>
45 <name>src_opt_calendar</name>
46 <type>2</type>
47 <location>SRC_ROOT_DIR/frameworks/opt/calendar/src</location>
48 </link>
49 </linkedResources>
50</projectDescription>
51EOF
52popd > /dev/null
53