Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
roelofkemp committed Aug 21, 2013
1 parent b32acde commit b080ff9
Show file tree
Hide file tree
Showing 36 changed files with 2,274 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<!-- replace line below with correct reference to sdk-lib.jar -->
<classpathentry kind="lib" path="/Users/rkemp/android-sdk/tools/lib/sdklib.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin
28 changes: 28 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>cuckoo-plugin</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
7 changes: 7 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
1 change: 1 addition & 0 deletions OSGI-INF/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.DS_Store
1 change: 1 addition & 0 deletions OSGI-INF/l10n/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.DS_Store
2 changes: 2 additions & 0 deletions OSGI-INF/l10n/bundle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#Properties file for CuckooPlugin
Bundle-Name = CuckooPlugin
4 changes: 0 additions & 4 deletions README.md

This file was deleted.

6 changes: 6 additions & 0 deletions build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source.. = src/
output.. = tmp-eclipse/
bin.includes = plugin.xml,\
icons/,\
.,\
OSGI-INF/,
99 changes: 99 additions & 0 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.DS_Store
Binary file added icons/cuckoo_project_add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/cuckoo_project_new.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/cuckoo_project_remove.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
110 changes: 110 additions & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin
id="CuckooPlugin"
name="Cuckoo plugin for Eclipse"
version="0.0.3.qualifier"
provider-name="VU University Amsterdam"
class="interdroid.cuckoo.eclipse.plugin.CuckooPlugin">
<requires>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.ui.ide"/>
<import plugin="org.eclipse.ant.core"/>
<import plugin="org.eclipse.jdt.core"/>
<import plugin="com.android.ide.eclipse.adt"/>
<import plugin="org.eclipse.core.runtime"/>
</requires>
<extension
id="CuckooBuilder"
name="Cuckoo Project Builder"
point="org.eclipse.core.resources.builders">
<builder
hasNature="true">
<run
class="interdroid.cuckoo.eclipse.plugin.CuckooBuilder">
</run>
</builder>
</extension>
<extension
id="CuckooNature"
name="Cuckoo Project Nature"
point="org.eclipse.core.resources.natures">
<runtime>
<run class="interdroid.cuckoo.eclipse.plugin.CuckooNature"/>
</runtime>
<builder id="CuckooPlugin.CuckooBuilder"/>
</extension>
<extension
point="org.eclipse.ui.ide.projectNatureImages">
<image
icon="icons/cuckoo_project_new.png"
id="CuckooPlugin.image1"
natureId="CuckooPlugin.CuckooNature">
</image>
</extension>
<extension
point="org.eclipse.ui.popupMenus">
<objectContribution
id="interdroid.cuckoo.addaction"
objectClass="org.eclipse.jdt.core.IJavaProject">
<visibility>
<not>
<objectState value="CuckooPlugin.CuckooNature" name="nature"/>
</not>
</visibility>
<action
definitionId="CuckooPlugin.action1"
enablesFor="1"
label="Make Offloadable with Cuckoo"
icon="icons/cuckoo_project_add.png"
class="interdroid.cuckoo.eclipse.plugin.AddCuckooNature"
menubarPath="com.android.ide.eclipse.adt.AndroidTools/group1"
tooltip="Converts an Android project into a Cuckoo project"
id="interdroid.cuckoo.action1"/>
</objectContribution>
<objectContribution
objectClass="org.eclipse.jdt.core.IJavaProject"
id="interdroid.cuckoo.removeaction">
<visibility>
<objectState value="CuckooPlugin.CuckooNature" name="nature"/>
</visibility>
<action
enablesFor="1"
label="Undo Cuckoo Offloading"
icon="icons/cuckoo_project_remove.png"
class="interdroid.cuckoo.eclipse.plugin.RemoveCuckooNature"
menubarPath="com.android.ide.eclipse.adt.AndroidTools/group1"
tooltip="Converts a Cuckoo project back into an Android project"
id="interdroid.cuckoo.action2"/>
</objectContribution>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page
class="interdroid.cuckoo.eclipse.plugin.preferences.CuckooPreferencePage"
id="interdroid.cuckoo.eclipse.plugin.preferences.CuckooPreferencePage"
name="Cuckoo Preferences">
</page>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer
class="interdroid.cuckoo.eclipse.plugin.preferences.PreferenceInitializer">
</initializer>
</extension>
<extension point="org.eclipse.jdt.core.classpathContainerInitializer">
<classpathContainerInitializer
class="interdroid.cuckoo.eclipse.plugin.ClasspathContainerInitializer"
id="CuckooPlugin.ClasspathContainer">
</classpathContainerInitializer>
</extension>
<extension point="org.eclipse.ui.bindings">

<key sequence="Ctrl+Alt+7"
commandId="CuckooPlugin.action1"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
contextId="org.eclipse.ui.contexts.window"/>
</extension>


</plugin>
16 changes: 16 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
** Cuckoo README **

Cuckoo is an open source computation offloading project of the Computer
Systems group of the Computer Science department of the Faculty of
Sciences at the VU University, Amsterdam, The Netherlands. The
main goal of the Cuckoo project is to simplify computation offloading
for Android apps.

Cuckoo is free software. See the file "LICENSE" for copying permissions.

The manual in the docs directory of the library project ("docs/manual.pdf") explains
how to build and run your Cuckoo application.

The current Cuckoo source repository tree is accessible through Github at
https://github.com/interdroid/cuckoo-library and https://github.com/interdroid/cuckoo-plugin..

1 change: 1 addition & 0 deletions src/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.DS_Store
1 change: 1 addition & 0 deletions src/interdroid/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.DS_Store
1 change: 1 addition & 0 deletions src/interdroid/cuckoo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.DS_Store
1 change: 1 addition & 0 deletions src/interdroid/cuckoo/eclipse/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.DS_Store
1 change: 1 addition & 0 deletions src/interdroid/cuckoo/eclipse/plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.DS_Store
Loading

0 comments on commit b080ff9

Please sign in to comment.