Permalink
Browse files

Use build helper in EmptyApp

Change-Id: I819f8b50cc5d6fc415f504bf9ac52ce9512539df
Reviewed-on: http://review.couchbase.org/9168
Reviewed-by: Dale Harvey <daleharvey@arandomurl.com>
Tested-by: Dale Harvey <daleharvey@arandomurl.com>
  • Loading branch information...
1 parent d75dd9c commit c7213f457194be18554195e33df2c4359e57afce @daleharvey daleharvey committed with Dale Harvey Aug 22, 2011
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
+<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
+<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="false"/>
+<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="EmptyApp"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/EmptyApp/couchbase-build.xml}"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="-d -v"/>
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${workspace_loc:/EmptyApp}"/>
+</launchConfiguration>
View
@@ -1,2 +1,3 @@
bin
-gen
+gen
+assets/couchbase-*.tgz.jpg
View
@@ -1,7 +1,6 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
+<?xml version="1.0" encoding="UTF-8"?><projectDescription>
<name>EmptyApp</name>
- <comment></comment>
+ <comment/>
<projects>
</projects>
<buildSpec>
@@ -25,7 +24,7 @@
<arguments>
</arguments>
</buildCommand>
- </buildSpec>
+ <buildCommand><name>org.eclipse.ui.externaltools.ExternalToolBuilder</name><triggers>full,incremental,</triggers><arguments><dictionary><key>LaunchConfigHandle</key><value>&lt;project&gt;/.externalToolBuilders/CouchbaseBuilder.launch</value></dictionary></arguments></buildCommand></buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
@@ -37,4 +36,4 @@
<locationURI>_android_Android_Couchbase_77cf4961/src</locationURI>
</link>
</linkedResources>
-</projectDescription>
+</projectDescription>
View
@@ -4,14 +4,11 @@ EmptyApp is minimal application that can be used to verify your installation wor
### Install
- git clone git://github.com/couchbase/Android-EmptyApp.git
- git clone git://github.com/couchbaselabs/Android-Couchbase.git
+EmptyApp requires Android-Couchbase to run, you can find this @ https://github.com/couchbase/Android-Couchbase, Follow the intructions for `Use existing application` to make sure EmptyApp works with your Android-Couchbase library.
-And open both (`File -> Import -> Existing Projects`) projects in eclipse
+### Run
-You will need to ensure EmptyApp has the correct path to Android-Couchbase, right click the EmptyApp project and select `Properties -> Android` and in the bottom right make sure to add the Android-Couchbase library.
-
-Now right click the EmptyApp project and select `Run As -> Android Application`, the installation should take around a minute and in the log you should see:
+Right click the EmptyApp project and select `Run As -> Android Application`, the installation should take around a minute and in the log you should see:
V/Couchbase( 1505): Apache CouchDB has started. Time to relax.
V/Couchbase( 1505): [info] [<0.41.0>] Apache CouchDB has started on http://0.0.0.0:34680/
Deleted file not rendered
View
@@ -0,0 +1,2 @@
+sdk.dir=~/lib/android-sdk-mac_x86
+android.couchbase.dir=../Android-Couchbase
View

0 comments on commit c7213f4

Please sign in to comment.