Michael Chan | 14a97b2 | 2012-11-21 03:15:40 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # Creates eclipse .project file |
| 3 | |
| 4 | pushd ../../.. > /dev/null |
| 5 | sed -e "s,SRC_ROOT_DIR,$PWD," <<- EOF > packages/apps/Calendar/.project |
| 6 | <?xml version="1.0" encoding="UTF-8"?> |
| 7 | <projectDescription> |
Michael Chan | c6b4945 | 2012-12-11 17:10:53 -0800 | [diff] [blame] | 8 | <name>CalendarAndroid</name> |
Michael Chan | 14a97b2 | 2012-11-21 03:15:40 -0800 | [diff] [blame] | 9 | <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> |
| 51 | EOF |
| 52 | popd > /dev/null |
| 53 | |