From 68bd64a51f78ae6a66bd8eea9baf07185e2b9588 Mon Sep 17 00:00:00 2001 From: Siva Velusamy Date: Wed, 12 Feb 2014 11:32:18 -0800 Subject: Add scripts to enable Tycho build This CL adds all the required files to perform a build using Tycho. It is not integrated into the Android build system though. In order to perform a build, make sure your repository has the git projects prebuilts/eclipse and prebuilts/eclipse-build-deps, then do: $ cd sdk/eclipse $ make -f maven.mk That should create the necessary target platform and start a build using Maven/Tycho. The resulting artifacts should be in out/host/maven/bundles-/products Change-Id: I4672cd9ea1ac072a9b5ddb27d98a9849b2a2b8cb --- eclipse/artifacts/bundles/.project | 11 ++++++ eclipse/artifacts/bundles/category.xml | 32 ++++++++++++++++ eclipse/artifacts/bundles/ide.p2.inf | 9 +++++ eclipse/artifacts/bundles/ide.product | 55 +++++++++++++++++++++++++++ eclipse/artifacts/bundles/monitor.product | 54 ++++++++++++++++++++++++++ eclipse/artifacts/bundles/pom.xml | 63 +++++++++++++++++++++++++++++++ eclipse/artifacts/p2repo/.project | 11 ++++++ eclipse/artifacts/p2repo/category.xml | 32 ++++++++++++++++ eclipse/artifacts/p2repo/pom.xml | 17 +++++++++ 9 files changed, 284 insertions(+) create mode 100644 eclipse/artifacts/bundles/.project create mode 100644 eclipse/artifacts/bundles/category.xml create mode 100644 eclipse/artifacts/bundles/ide.p2.inf create mode 100644 eclipse/artifacts/bundles/ide.product create mode 100644 eclipse/artifacts/bundles/monitor.product create mode 100644 eclipse/artifacts/bundles/pom.xml create mode 100644 eclipse/artifacts/p2repo/.project create mode 100644 eclipse/artifacts/p2repo/category.xml create mode 100644 eclipse/artifacts/p2repo/pom.xml (limited to 'eclipse/artifacts') diff --git a/eclipse/artifacts/bundles/.project b/eclipse/artifacts/bundles/.project new file mode 100644 index 0000000..9174087 --- /dev/null +++ b/eclipse/artifacts/bundles/.project @@ -0,0 +1,11 @@ + + + tycho-bundles + + + + + + + + diff --git a/eclipse/artifacts/bundles/category.xml b/eclipse/artifacts/bundles/category.xml new file mode 100644 index 0000000..fd4ad19 --- /dev/null +++ b/eclipse/artifacts/bundles/category.xml @@ -0,0 +1,32 @@ + + + + Update Site for Android Development Toolkit + + + + + + + + + + + + + + + + + + + + + + + + + Features that add Android support to Eclipse for application developers. + + + diff --git a/eclipse/artifacts/bundles/ide.p2.inf b/eclipse/artifacts/bundles/ide.p2.inf new file mode 100644 index 0000000..cabaa55 --- /dev/null +++ b/eclipse/artifacts/bundles/ide.p2.inf @@ -0,0 +1,9 @@ +#tell pde.build not to generate start levels +org.eclipse.pde.build.append.startlevels=false + +requires.1.namespace=org.eclipse.equinox.p2.iu +requires.1.name=org.eclipse.platform.ide +requires.1.greedy=true + +instructions.configure=\ +org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//dl-ssl.google.com/android/eclipse/,type:0,name:Android Developer Tools Update Site,enabled:true); diff --git a/eclipse/artifacts/bundles/ide.product b/eclipse/artifacts/bundles/ide.product new file mode 100644 index 0000000..fd71c4b --- /dev/null +++ b/eclipse/artifacts/bundles/ide.product @@ -0,0 +1,55 @@ + + + + + + + + + + -product adtproduct + --launcher.XXMaxPermSize 256M + -Dosgi.requiredJavaVersion=1.6 -Xms40m -Xmx768m + -XX:MaxPermSize=256m + -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts + + + + + + + + + + + + + + org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6 + org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6 + org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6 + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse/artifacts/bundles/monitor.product b/eclipse/artifacts/bundles/monitor.product new file mode 100644 index 0000000..9aec4f1 --- /dev/null +++ b/eclipse/artifacts/bundles/monitor.product @@ -0,0 +1,54 @@ + + + + + + + + + + -data @noDefault + -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/eclipse/artifacts/bundles/pom.xml b/eclipse/artifacts/bundles/pom.xml new file mode 100644 index 0000000..e162934 --- /dev/null +++ b/eclipse/artifacts/bundles/pom.xml @@ -0,0 +1,63 @@ + + + 4.0.0 + + 22.6.2-SNAPSHOT + bundles + eclipse-repository + bundles + + + ../../pom.xml + adt.group + parent + 1.0.0-SNAPSHOT + + + + + + org.eclipse.tycho + tycho-p2-director-plugin + ${tycho-version} + + + + materialize-products + + materialize-products + + + + + archive-products + + archive-products + + + + + + zip + tar.gz + tar.gz + + + + com.android.ide.eclipse.monitor.product + com.android.ide.eclipse.monitor.product + monitor + + + adtproduct + adtproduct + adt + + + + + + + diff --git a/eclipse/artifacts/p2repo/.project b/eclipse/artifacts/p2repo/.project new file mode 100644 index 0000000..5360679 --- /dev/null +++ b/eclipse/artifacts/p2repo/.project @@ -0,0 +1,11 @@ + + + tycho-p2repo + + + + + + + + diff --git a/eclipse/artifacts/p2repo/category.xml b/eclipse/artifacts/p2repo/category.xml new file mode 100644 index 0000000..fd4ad19 --- /dev/null +++ b/eclipse/artifacts/p2repo/category.xml @@ -0,0 +1,32 @@ + + + + Update Site for Android Development Toolkit + + + + + + + + + + + + + + + + + + + + + + + + + Features that add Android support to Eclipse for application developers. + + + diff --git a/eclipse/artifacts/p2repo/pom.xml b/eclipse/artifacts/p2repo/pom.xml new file mode 100644 index 0000000..fa9aca1 --- /dev/null +++ b/eclipse/artifacts/p2repo/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + 22.6.2-SNAPSHOT + p2repo + eclipse-repository + p2repo + + + ../../pom.xml + adt.group + parent + 1.0.0-SNAPSHOT + + -- cgit v1.1