Bug 459570 - Support M2E integration
Summary: Support M2E integration
Status: NEW
Alias: None
Product: andmore
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Carver CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on: 459569 463610
Blocks:
  Show dependency tree
 
Reported: 2015-02-10 11:12 EST by David Carver CLA
Modified: 2016-05-04 08:22 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Carver CLA 2015-02-10 11:12:20 EST
This is to track basic support for importing and working with projects using m2e.  There is an existing open source project called m2e-android which provides this support for ADT.  We should work with that project to provide support for Andmore, or work with them to bring the core support that doesn't require ADT specific items over to Andmore for maintenance.

Regardless of how this is solved, we need integration with the android-maven-plugin.
Comment 1 Ricardo Gladwell CLA 2015-02-10 12:12:55 EST
We've raised a ticket for this:

https://github.com/rgladwell/m2e-android/issues/294

Please subscribe to this (I've subscribed to this ticket).

Are Andmore p2 repositories available?
Comment 2 David Carver CLA 2015-02-10 12:44:34 EST
(In reply to Ricardo Gladwell from comment #1)
> We've raised a ticket for this:
> 
> https://github.com/rgladwell/m2e-android/issues/294
> 
> Please subscribe to this (I've subscribed to this ticket).
> 
> Are Andmore p2 repositories available?

The closest we have at this point, is the following:

https://hudson.eclipse.org/andmore/job/Andmore-Develop/lastSuccessfulBuild/artifact/andmore-core/site/target/repository/

I have some more build migration to do before I can start producing signed items.

You can also clone the project, run a build, and get the p2 repository generated locally.  Then it is just a matter of pointing tycho to use that local repository as part of the build.

Hopefully soon I can get an official p2 repository for devs to start working with.
Comment 3 David Carver CLA 2015-04-28 09:02:27 EDT
With m2e-android now working with Andmore.  What other items do we need to support.  AAR and a the new Android Studio directory structures being features that need to be added.

For AAR support what functionality or extension points do we need to provide for m2e-android to make that project's life a bit easier.
Comment 4 Ricardo Gladwell CLA 2015-04-29 06:23:24 EDT
I though we already supported Android Studio directory structures? Is there some part of the folder layout we don't support?

There is an open ticket for AAR support:

https://github.com/rgladwell/m2e-android/issues/177
Comment 5 David Carver CLA 2015-04-29 15:26:23 EDT
The ADT plugins, do a really ugly hack to get some of the directory structures in place with the existing tooling.  They put virtual links that point to different locations.  The goal here is to make this more configurable in a bit more future proof.

So that tooling can specify the locations for the RES, ASSET, LIB, and other folders.  I know that Android Studio and Gradel now use src/main/ to store AndroidMainfest.xml, and the RES directory.   Basically we need to be able to support this without the use of link hackery within Andmore.   The same thing for generated source folders, those should be configurable, and have Andmore use what the tooling tells it to use (i.e use the appropriate generated-sources folder provided and configured by m2e-android or gradel).

This ticket should also provide you with any additional items you need to enable or disable within andmore so that m2e-android can provided generated sources, and Andmore uses them when building instead of generating it's own folders, etc.
Comment 6 David Carver CLA 2015-08-09 21:22:39 EDT
Moving to 0.5-M3