On 23 March 2011 03:45, Jake Wharton <jakew...@gmail.com> wrote:
> When building with the CLI the resolution succeeds. Upon importing the root pom.xml (and
> all of it's modules) as projects into Eclipse, however, this dependency was left out of the
> 'Maven Dependencies' dynamic folder.
The current release of m2eclipse-android-integration (0.2.5) does not
support Android library projects which could be the issue. This is
coming in the new 0.3.0 alpha version which will released in time with
m2eclipse 0.13.0, but I haven't written any code to handle apklib
dependencies yet so this may not solve your problem.
Sounds like a new feature:
https://code.google.com/a/eclipselabs.org/p/m2eclipse-android-integration/issues/detail?id=44
Patches welcome :)
--
Ricardo Gladwell <ricardo....@gmail.com>
http://www.google.com/profiles/ricardo.gladwell
Twitter: @rgladwell - MSN: axo...@gmail.com
I dont think the m2eclipse android integration project has added that yet,
but I am sure contributions are welcome ;-)
On 29 March 2011 17:43, Manfred Moser <man...@mosabuam.com> wrote:
>> I glanced at the source and assume something will have to be added to
>> AndroidDevelopmentToolsProjectConfigurator? Other than that I don't see
>> anything really dealing with dependency management.
Yes, the configureClasspath or configureRawClasspath methods will need
to be modified to add apklib dependencies to the 'Maven Dependencies'
dynamic classpath.
>> Can Eclipse even handle an .apklib dependency? Adding the .apklib of the
>> missing dependency does not cure the problem because Eclipse does not know
>> that the dependency is to be treated as an Android library.
Yes, we will need to write code that tells the ADT that a apklib
dependency JAR is an Android Library. This assumes that the ADT
supports Android Library as JARs, and doesn't require Android Library
projects to be in the same workspace.
I suppose if the ADT doesn't support this we could unzip the JAR
archive and add it to the workspace automatically.
Further discussion about this change is better carried out on the
ticket I raised:
https://code.google.com/a/eclipselabs.org/p/m2eclipse-android-integration/issues/detail?id=44
Regards...