Skip to content

Commit e0d7a33

Browse files
committed
Added eclipse conf to enable debug in hotreplace in dev. Fixes issue 41
1 parent 946d428 commit e0d7a33

12 files changed

Lines changed: 248 additions & 1 deletion

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: androidannotations
4+
Bundle-SymbolicName: com.googlecode.androidannotations;singleton:=true
5+
Bundle-Version: 1.0.0
6+
Export-Package: com.googlecode.androidannotations,
7+
com.googlecode.androidannotations.annotationprocessor,
8+
com.googlecode.androidannotations.annotations,
9+
com.googlecode.androidannotations.annotations.res,
10+
com.googlecode.androidannotations.annotations.rest,
11+
com.googlecode.androidannotations.annotations.sharedpreferences,
12+
com.googlecode.androidannotations.api,
13+
com.googlecode.androidannotations.api.sharedpreferences,
14+
com.googlecode.androidannotations.generation,
15+
com.googlecode.androidannotations.helper,
16+
com.googlecode.androidannotations.model,
17+
com.googlecode.androidannotations.processing,
18+
com.googlecode.androidannotations.processing.rest,
19+
com.googlecode.androidannotations.rclass,
20+
com.googlecode.androidannotations.validation,
21+
com.googlecode.androidannotations.validation.rest
22+
Bundle-Vendor: androidannotations
23+
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.6.0",
24+
org.eclipse.jdt.apt.core;bundle-version="3.3.402",
25+
androidannotations-dependencies;bundle-version="1.0.0"
26+
Import-Package: com.googlecode.androidannotations
27+
Bundle-Activator: com.googlecode.androidannotations.Activator
28+
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#
2+
# Copyright (C) 2010-2011 Pierre-Yves Ricau (py.ricau at gmail.com)
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
# use this file except in compliance with the License. You may obtain a copy of
6+
# the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed To in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
# License for the specific language governing permissions and limitations under
14+
# the License.
15+
#
16+
17+
source.. = src/main/java/,\
18+
src/main/eclipse/,\
19+
src/main/resources/,\
20+
src/test/java/
21+
bin.includes = META-INF/,\
22+
.,\
23+
plugin.xml
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright (C) 2010-2011 Pierre-Yves Ricau (py.ricau at gmail.com)
5+
6+
Licensed under the Apache License, Version 2.0 (the "License"); you may not
7+
use this file except in compliance with the License. You may obtain a copy of
8+
the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed To in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15+
License for the specific language governing permissions and limitations under
16+
the License.
17+
18+
-->
19+
<?eclipse version="3.4"?>
20+
<plugin>
21+
<extension
22+
point="org.eclipse.jdt.apt.core.annotationProcessorFactory">
23+
<java6processors enableDefault="true">
24+
<java6processor class="com.googlecode.androidannotations.AndroidAnnotationProcessor"/>
25+
</java6processors>
26+
</extension>
27+
28+
</plugin>
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/**
2+
* Copyright (C) 2010-2011 Pierre-Yves Ricau (py.ricau at gmail.com)
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed To in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
package com.googlecode.androidannotations;
17+
18+
import org.eclipse.core.runtime.Plugin;
19+
import org.osgi.framework.BundleContext;
20+
21+
/**
22+
* The activator class controls the plug-in life cycle
23+
*/
24+
public class Activator extends Plugin {
25+
26+
// The plug-in ID
27+
public static final String PLUGIN_ID = "com.googlecode.androidannotations";
28+
29+
// The shared instance
30+
private static Activator plugin;
31+
32+
/**
33+
* The constructor
34+
*/
35+
public Activator() {
36+
}
37+
38+
/*
39+
* (non-Javadoc)
40+
* @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
41+
*/
42+
public void start(BundleContext context) throws Exception {
43+
super.start(context);
44+
plugin = this;
45+
}
46+
47+
/*
48+
* (non-Javadoc)
49+
* @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
50+
*/
51+
public void stop(BundleContext context) throws Exception {
52+
plugin = null;
53+
super.stop(context);
54+
}
55+
56+
/**
57+
* Returns the shared instance
58+
*
59+
* @return the shared instance
60+
*/
61+
public static Activator getDefault() {
62+
return plugin;
63+
}
64+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<factorypath>
22
<factorypathentry kind="PLUGIN" id="org.eclipse.jst.ws.annotations.core" enabled="true" runInBatchMode="false"/>
3-
<factorypathentry kind="WKSPJAR" id="/androidannotations/target/androidannotations-2.2-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
3+
<factorypathentry kind="PLUGIN" id="com.googlecode.androidannotations" enabled="true" runInBatchMode="false"/>
44
</factorypath>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
4+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
5+
<classpathentry exported="true" kind="lib" path="codemodel-2.4.1.jar"/>
6+
<classpathentry exported="true" kind="lib" path="android-1.6_r2.jar"/>
7+
<classpathentry kind="output" path="bin"/>
8+
</classpath>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>androidannotations-dependencies</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.pde.ManifestBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.pde.SchemaBuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
</buildSpec>
24+
<natures>
25+
<nature>org.eclipse.pde.PluginNature</nature>
26+
<nature>org.eclipse.jdt.core.javanature</nature>
27+
</natures>
28+
</projectDescription>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#Wed Oct 19 17:10:01 CEST 2011
2+
eclipse.preferences.version=1
3+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
4+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
5+
org.eclipse.jdt.core.compiler.compliance=1.6
6+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
7+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
8+
org.eclipse.jdt.core.compiler.source=1.6
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
Manifest-Version: 1.0
2+
Bundle-ManifestVersion: 2
3+
Bundle-Name: androidannotations-dependencies
4+
Bundle-SymbolicName: androidannotations-dependencies
5+
Bundle-Version: 1.0.0
6+
Bundle-ClassPath: codemodel-2.4.1.jar,
7+
android-1.6_r2.jar
8+
Export-Package: android,
9+
android.accessibilityservice,
10+
android.app,
11+
android.appwidget,
12+
android.content,
13+
android.content.pm,
14+
android.content.res,
15+
android.database,
16+
android.database.sqlite,
17+
android.gesture,
18+
android.graphics,
19+
android.graphics.drawable,
20+
android.graphics.drawable.shapes,
21+
android.hardware,
22+
android.inputmethodservice,
23+
android.location,
24+
android.media,
25+
android.net,
26+
android.net.http,
27+
android.net.wifi,
28+
android.opengl,
29+
android.os,
30+
android.preference,
31+
android.provider,
32+
android.sax,
33+
android.speech,
34+
android.speech.tts,
35+
android.telephony,
36+
android.telephony.gsm,
37+
android.text,
38+
android.text.format,
39+
android.text.method,
40+
android.text.style,
41+
android.text.util,
42+
android.util,
43+
android.view,
44+
android.view.accessibility,
45+
android.view.animation,
46+
android.view.inputmethod,
47+
android.webkit,
48+
android.widget,
49+
com.android.internal.util,
50+
com.sun.codemodel,
51+
com.sun.codemodel.fmt,
52+
com.sun.codemodel.util,
53+
com.sun.codemodel.writer,
54+
dalvik.annotation,
55+
dalvik.bytecode,
56+
dalvik.system
57+
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
2.29 MB
Binary file not shown.

0 commit comments

Comments
 (0)