summaryrefslogtreecommitdiffstats
path: root/mkprojectfile
diff options
context:
space:
mode:
authorMichael Chan <mchan@android.com>2012-11-21 03:15:40 -0800
committerMichael Chan <mchan@android.com>2012-11-21 15:01:45 -0800
commit14a97b233fd212cd87fcb66b1ce79a560930dcdd (patch)
treea0e6159b149929232b1cc7897c4481d8baa537df /mkprojectfile
parent8e93f66f4617f2f4cb3e2a1919988fdf401b51f4 (diff)
downloadandroid_packages_apps_Calendar-14a97b233fd212cd87fcb66b1ce79a560930dcdd.tar.gz
android_packages_apps_Calendar-14a97b233fd212cd87fcb66b1ce79a560930dcdd.tar.bz2
android_packages_apps_Calendar-14a97b233fd212cd87fcb66b1ce79a560930dcdd.zip
Added eclipse project files
You will also need to create frameworks/ex/chips as another eclipse project then add that as a library to this project Change-Id: Ia0cd534101dade3303fd72efda4a21924c099ae1
Diffstat (limited to 'mkprojectfile')
-rwxr-xr-xmkprojectfile53
1 files changed, 53 insertions, 0 deletions
diff --git a/mkprojectfile b/mkprojectfile
new file mode 100755
index 00000000..0dc8c83f
--- /dev/null
+++ b/mkprojectfile
@@ -0,0 +1,53 @@
+#!/bin/bash
+# Creates eclipse .project file
+
+pushd ../../.. > /dev/null
+sed -e "s,SRC_ROOT_DIR,$PWD," <<- EOF > packages/apps/Calendar/.project
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>B-CalendarAndroid</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.android.ide.eclipse.adt.ApkBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>com.android.ide.eclipse.adt.AndroidNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+ <linkedResources>
+ <link>
+ <name>src_ex_common</name>
+ <type>2</type>
+ <location>SRC_ROOT_DIR/frameworks/ex/common/java</location>
+ </link>
+ <link>
+ <name>src_opt_calendar</name>
+ <type>2</type>
+ <location>SRC_ROOT_DIR/frameworks/opt/calendar/src</location>
+ </link>
+ </linkedResources>
+</projectDescription>
+EOF
+popd > /dev/null
+