Changes

Jump to: navigation, search

Package the Android Extensions for Eclipse

3,298 bytes added, 22:53, 10 November 2012
Project Details
== Project Details ==
Here are the details of the milestones so far.  <!b><font style="font-size:110%">0.1 Milestone</font></b>---- Provides more depth than  The purpose of this milestone is twofold - research and preliminary RPM package release. The research into the Project Description. This Eclipse extensions for Android showed that there are about 6 extensions (or plugins) for Eclipse that are related to Android:<pre>- ADT (Android Development Tools)- DDMS (Dalvik Debug Monitor Server)- GLDebugger (OpenGL Debugger)- Hierarchyviewer- Traceview- Base</pre> Progress so far:<pre>- research phase is mostly completed; we know what we need to do- extensions are stored as JAR files; JARs contain the place source Java files- for technical discussionsa successful completion of this project, we need to simplify the process of installing ADT as much as possible</pre> How ADT needs to be installed at the moment:<pre>-> Install Eclipse, project specsstart Eclipse-> Get the Android depository link -> Add New Software In Eclipse -> Paste link -> Accept a few licences -> Wait for download and installation -> Restart Eclipse</pre> Instead, we intend to shorten it to this:<pre>-> Install Eclipse -> Run "yum install eclipse-adt eclipse-ddms ..." or other details "yum install @"Android Extensions for Eclipse-> Start Eclipse </pre> Alon will be focusing on packaging the ADT plugin and Daniel will be focusing on the DDMS plugin.  <b><font style="font-size:100%">ADT</font></b>---- In order to retrieve the files required for this release, the following steps were taken:<pre>- Eclipse was installed on Fedora 17 using the built in yum installer.- Plugins were installed using the built-in updater in Eclipse.- Required files were retrieved from the plugins and features folders under the main Eclipse folder.</pre> To build the actual RPM, I downloaded a source RPM of an existing non-android Eclipse plugin and took a look at the spec file to determine the required steps needed to package and install the ADT Plugin. If  The RPM that I am releasing today, places the files in the correct folders, however, the dependencies required for the ADT Plugin are not included and therefore require manual intervention at this gets very longpoint. You can find the release files below: [http://dl.dropbox.com/u/3209356/ADT/adtplugin-0.0.1-1.fc17.noarch.rpm RPM][http://dl.dropbox.com/u/3209356/ADT/adtplugin-0.0.1-1.fc17.src.rpm SRPM][http://dl.dropbox.com/u/3209356/ADT/adtplugin.spec Spec file]  <b><font style="font-size:100%">DDMS</font></b>---- As stated previously, to package DDMS, the Dalvik Debug Monitor Server, first you might consider breaking this part into multiple pages have to have Eclipse installed (done through a simple <code>yum install</code> operation). After that, we would need an RPM to use to install the DDMS plugin. My RPM package was created by using the spec file of an already existing Eclipse plugin, and linking modifying it to my needs. I used the source JAR files that are provided by the Android project and packaged theminto an RPM file, using rpmbuild. Here’s a quick [http://i.imgur.com/JJmPj.png screenshot]. Now we have an RPM that is almost complete - it places the JAR files in the correct sub-folders of Eclipse, but the plugin will not work - it needs a few [http://i.imgur.com/onxqd.png dependencies] to be satisfied. Those dependencies will be taken care of by milestone 0.2. Here are the RPM, SRC-RPM and spec files.[https://www.dropbox.com/s/yr1wj6646wqytin/ddms-0.0.1-1.fc17.noarch.rpm RPM] [https://www.dropbox. com/s/0qt8x7qdv7be5e1/ddms-0.0.1->1.fc17.src.rpm SRPM] [https://www.dropbox.com/s/twts0w40sysboad/ddms.spec Spec file]
== Project Plan ==
1
edit

Navigation menu