Skip to content

Commit 4e721e1

Browse files
committed
Update Eclipse configuration
1 parent fbd7305 commit 4e721e1

6 files changed

+46
-9
lines changed

.classpath

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="src" path="gen"/>
43
<classpathentry kind="src" path="src/main/java"/>
4+
<classpathentry kind="src" path="gen">
5+
<attributes>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
59
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
6-
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
10+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
711
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
812
<classpathentry exported="true" kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
913
<attributes>
1014
<attribute name="maven.pomderived" value="true"/>
1115
</attributes>
1216
</classpathentry>
17+
<classpathentry kind="con" path="me.gladwell.eclipse.m2e.android.classpath.NONRUNTIME_DEPENDENCIES">
18+
<attributes>
19+
<attribute name="maven.pomderived" value="true"/>
20+
</attributes>
21+
</classpathentry>
1322
<classpathentry kind="output" path="bin/classes"/>
1423
</classpath>

.project

+18-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
3030
<arguments>
3131
</arguments>
32-
</buildCommand>
32+
</buildCommand>
3333
<buildCommand>
3434
<name>org.eclipse.m2e.core.maven2Builder</name>
3535
<arguments>
@@ -42,4 +42,21 @@
4242
<nature>org.eclipse.jdt.core.javanature</nature>
4343
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
4444
</natures>
45+
<linkedResources>
46+
<link>
47+
<name>AndroidManifest.xml</name>
48+
<type>1</type>
49+
<locationURI>PROJECT_LOC/src/main/AndroidManifest.xml</locationURI>
50+
</link>
51+
<link>
52+
<name>assets</name>
53+
<type>2</type>
54+
<locationURI>PROJECT_LOC/src/main/assets</locationURI>
55+
</link>
56+
<link>
57+
<name>res</name>
58+
<type>2</type>
59+
<locationURI>PROJECT_LOC/src/main/res</locationURI>
60+
</link>
61+
</linkedResources>
4562
</projectDescription>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
eclipse.preferences.version=1
2+
encoding/<project>=UTF-8
3+
encoding/src=UTF-8

.settings/org.eclipse.jdt.core.prefs

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
eclipse.preferences.version=1
22
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
3+
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
4+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
45
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5-
org.eclipse.jdt.core.compiler.compliance=1.6
6+
org.eclipse.jdt.core.compiler.compliance=1.5
67
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
78
org.eclipse.jdt.core.compiler.debug.localVariable=generate
89
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
910
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
1011
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11-
org.eclipse.jdt.core.compiler.source=1.6
12+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
13+
org.eclipse.jdt.core.compiler.source=1.5

.settings/org.eclipse.xtend.core.Xtend.prefs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
BuilderConfiguration.is_project_specific=true
12
autobuilding=true
23
eclipse.preferences.version=1
34
is_project_specific=true
@@ -7,5 +8,7 @@ outlet.DEFAULT_OUTPUT.createDirectory=true
78
outlet.DEFAULT_OUTPUT.derived=true
89
outlet.DEFAULT_OUTPUT.directory=gen
910
outlet.DEFAULT_OUTPUT.hideLocalSyntheticVariables=true
10-
outlet.DEFAULT_OUTPUT.installDslAsPrimarySource=true
11+
outlet.DEFAULT_OUTPUT.installDslAsPrimarySource=false
1112
outlet.DEFAULT_OUTPUT.override=true
13+
outlet.DEFAULT_OUTPUT.sourceFolder.src.directory=target/generated-sources
14+
outlet.DEFAULT_OUTPUT.userOutputPerSourceFolder=true

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,11 @@ Initial setup
5959
I use Eclipse to develop the application, and you can too, once you've got Building working. After you've done the following steps you can import the code and act like it's a normal Android project. You will need to perform the following steps:
6060

6161
1. Install the Eclipse Marketplace Client: https://www.eclipse.org/mpc/
62-
2. Install the Andmore Android tools: Search for 'Andmore' in the Eclipse Marketplace (Help -> Eclipse Marketplace).
63-
3. Install the Eclipse Xtend IDE plugin from their site (Marketplace one doesn't work at time of writing): https://www.eclipse.org/xtend/download.html
62+
2. Install the Android Development Tools: Search for 'Android Development' in the Eclipse Marketplace (Help -> Eclipse Marketplace).
63+
3. Install the Android for Maven Eclipse plugin: Search for 'android m2e' in the Eclipse Marketplace (Help -> Eclipse Marketplace).
64+
4. Install the Eclipse Xtend plugin : Search for 'Eclipse Xtend' in the Eclipse Marketplace (Help -> Eclipse Marketplace).
65+
66+
If the Xtend support doesn't work, you might need to download the Eclipse pre-packaged with Xtend off the Xtend website, then install Andmore on top of that.
6467

6568
Debugging
6669
---------

0 commit comments

Comments
 (0)