jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x IDEA Plugin
  • MIDEA-126

Add Android Support (when packaging type is apk)

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.2
  • Fix Version/s: None
  • Labels:
    None
  • Patch Submitted:
    Yes

Description

Hi,

When developping with applications for Android platform, we have the ability to also use Maven thanks to this plugin your moght know:

http://code.google.com/p/maven-android-plugin/
http://www.sonatype.com/books/mvnref-book/reference/android-dev-sect-using.html

The artifact packaging must be set to 'apk'.

IntelliJ IDEA has a special module type for this: the module type must be set to ANDROID_MODULE.

Attached is a patched that was build upon the trunk code of 3rd July 2010 that add support for Android.

When we issue a mvn idea:idea, the correct IntelliJ module type is created with the plateform we want:

<plugin>
<artifactId>maven-idea-plugin</artifactId>
<version>2.3-20100703-SNAPSHOT</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>false</downloadJavadocs>
<androidPlaform>Android 2.2 Platform</androidPlaform>
</configuration>
</plugin>

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    add-android-support.patch
    04/Jul/10 10:54 AM
    5 kB
    Mathieu Carbou
  2. Text File
    add-android-support.patch
    03/Jul/10 3:05 PM
    3 kB
    Mathieu Carbou
  3. Text File
    add-android-support-GOOD-ONE.patch
    04/Jul/10 11:46 AM
    5 kB
    Mathieu Carbou

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Mathieu Carbou added a comment - 04/Jul/10 10:53 AM

Here is an update patch to support also changing the gen directory, without impacted other properties already available in the project.

Show
Mathieu Carbou added a comment - 04/Jul/10 10:53 AM Here is an update patch to support also changing the gen directory, without impacted other properties already available in the project.
Hide
Permalink
Mathieu Carbou added a comment - 04/Jul/10 10:54 AM

Update patch (4 july) to add also support for changing gen folder.
Please do not use the old one.

Show
Mathieu Carbou added a comment - 04/Jul/10 10:54 AM Update patch (4 july) to add also support for changing gen folder. Please do not use the old one.
Hide
Permalink
Mathieu Carbou added a comment - 04/Jul/10 11:46 AM

This the the good one

Show
Mathieu Carbou added a comment - 04/Jul/10 11:46 AM This the the good one

People

  • Assignee:
    Unassigned
    Reporter:
    Mathieu Carbou
Vote (0)
Watch (1)

Dates

  • Created:
    03/Jul/10 3:05 PM
    Updated:
    04/Jul/10 11:46 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.