[xwiki-devs] Google Android Client for XWiki - GSOC project
Hi devs, Since GSOC students have to start coding from today (23rd May) onwards I like to gather requirements and decide scope of the mentioned project. A short description of the project is included here<http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient> (http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient) Simply I will try to access XWiki dataset using REST API and implement Android Library. Then by using that Android Library a sample application will be developed. Before starting I would like to know all of your ideas related to this such as what should be implemented, what will you expect from an Android Library etc. So that I can get a better understand about the XWiki Android. Thank you all, Best Regards, Chamika Weerasinghe
Hi Chamika, On Mon, May 23, 2011 at 20:50, Chamika Weerasinghe <[email protected]> wrote:
Hi devs,
Since GSOC students have to start coding from today (23rd May) onwards I like to gather requirements and decide scope of the mentioned project. A short description of the project is included here<http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient> (http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient)
Simply I will try to access XWiki dataset using REST API and implement Android Library. Then by using that Android Library a sample application will be developed.
Before starting I would like to know all of your ideas related to this such as what should be implemented, what will you expect from an Android Library etc. So that I can get a better understand about the XWiki Android.
He is how I see it: first of all as much code as possible should be shared with the "desktop" client and all that should be cut in as much peaces as possible. The first desktop client I have in mind here is XEclipse which is also a GSOC project this year so for shared parts would be great that you work with Jun. * model module: contains only the model (maybe it's already OK with https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwik...) * REST helper: list/generate/execute all the supported REST requests. Probably possible to share this with the desktop client. * high level tools based on REST request: document caching et synchronization, basically anything which is more that a direct REST request and not a widget. Maybe cut this module in two if we can find parts that can be shared with desktop client, will be impossible for caching and synchronization I guess or at least not entirely * widget module: contains android widgets that can be reused in other android applications (XWiki navigator, editors...) * the application: I proposed an android application which help editing and navigating an XWiki instance in http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient because that's what demonstrate most of the REST API but if you have other ideas to demonstrate on Android side no problem. Most of the widgets used in this application should be in the "widget module" if they are generic enough. We don't have yet the notion of friends/connexion that will comes with wiki3.0 project otherwise that would have been a good candidate for android contact synchronization.
Thank you all,
Best Regards, Chamika Weerasinghe _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Tue, May 24, 2011 at 09:45, Thomas Mortagne <[email protected]> wrote:
Hi Chamika,
On Mon, May 23, 2011 at 20:50, Chamika Weerasinghe <[email protected]> wrote:
Hi devs,
Since GSOC students have to start coding from today (23rd May) onwards I like to gather requirements and decide scope of the mentioned project. A short description of the project is included here<http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient> (http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient)
Simply I will try to access XWiki dataset using REST API and implement Android Library. Then by using that Android Library a sample application will be developed.
Before starting I would like to know all of your ideas related to this such as what should be implemented, what will you expect from an Android Library etc. So that I can get a better understand about the XWiki Android.
He is how I see it: first of all as much code as possible should be shared with the "desktop" client and all that should be cut in as much peaces as possible. The first desktop client I have in mind here is XEclipse which is also a GSOC project this year so for shared parts would be great that you work with Jun.
* model module: contains only the model (maybe it's already OK with https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwik...) * REST helper: list/generate/execute all the supported REST requests. Probably possible to share this with the desktop client. * high level tools based on REST request: document caching et synchronization, basically anything which is more that a direct REST request and not a widget. Maybe cut this module in two if we can find parts that can be shared with desktop client, will be impossible for caching and synchronization I guess or at least not entirely * widget module: contains android widgets that can be reused in other android applications (XWiki navigator, editors...)
* the application: I proposed an android application which help editing and navigating an XWiki instance in http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient because that's what demonstrate most of the REST API but if you have other ideas to demonstrate on Android side no problem. Most of the widgets used in this application should be in the "widget module" if they are generic enough. We don't have yet the notion of friends/connexion that will comes with wiki3.0 project otherwise that would have been a good candidate for android contact synchronization.
Note that I think the first thing you should do before the first line of java code (or maybe at least the hello world of the application ;)) is to have the skeleton of all that with nice maven based build configuration that anyone can build anytime just by executing "mvn clean install" and test it. I just created a https://github.com/xwiki-contrib/android-client repository which is where you will put your code during this GSOC. If you don't already have one you should create a github account and indicate it to me so that you I can give you the right to push on this repository.
Thank you all,
Best Regards, Chamika Weerasinghe _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
On Tue, May 24, 2011 at 14:51, Thomas Mortagne <[email protected]> wrote:
On Tue, May 24, 2011 at 09:45, Thomas Mortagne <[email protected]> wrote:
Hi Chamika,
On Mon, May 23, 2011 at 20:50, Chamika Weerasinghe <[email protected]> wrote:
Hi devs,
Since GSOC students have to start coding from today (23rd May) onwards I like to gather requirements and decide scope of the mentioned project. A short description of the project is included here<http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient> (http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient)
Simply I will try to access XWiki dataset using REST API and implement Android Library. Then by using that Android Library a sample application will be developed.
Before starting I would like to know all of your ideas related to this such as what should be implemented, what will you expect from an Android Library etc. So that I can get a better understand about the XWiki Android.
He is how I see it: first of all as much code as possible should be shared with the "desktop" client and all that should be cut in as much peaces as possible. The first desktop client I have in mind here is XEclipse which is also a GSOC project this year so for shared parts would be great that you work with Jun.
* model module: contains only the model (maybe it's already OK with https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwik...) * REST helper: list/generate/execute all the supported REST requests. Probably possible to share this with the desktop client. * high level tools based on REST request: document caching et synchronization, basically anything which is more that a direct REST request and not a widget. Maybe cut this module in two if we can find parts that can be shared with desktop client, will be impossible for caching and synchronization I guess or at least not entirely * widget module: contains android widgets that can be reused in other android applications (XWiki navigator, editors...)
* the application: I proposed an android application which help editing and navigating an XWiki instance in http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient because that's what demonstrate most of the REST API but if you have other ideas to demonstrate on Android side no problem. Most of the widgets used in this application should be in the "widget module" if they are generic enough. We don't have yet the notion of friends/connexion that will comes with wiki3.0 project otherwise that would have been a good candidate for android contact synchronization.
Note that I think the first thing you should do before the first line of java code (or maybe at least the hello world of the application ;)) is to have the skeleton of all that with nice maven based build configuration that anyone can build anytime just by executing "mvn clean install" and test it.
I just created a https://github.com/xwiki-contrib/android-client repository which is where you will put your code during this GSOC.
If you don't already have one you should create a github account and indicate it to me so that you I can give you the right to push on this repository.
Actually I just added https://github.com/chamika, that's it right ?
Thank you all,
Best Regards, Chamika Weerasinghe _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
Yeah it's me, Thank you for creating a repo and giving me permission. According to you my first step should be creating a maven based build. So I will look into it because I never did that before. Best Regards, Chamika Weerasinghe On Tue, May 24, 2011 at 6:25 PM, Thomas Mortagne <[email protected]>wrote:
On Tue, May 24, 2011 at 14:51, Thomas Mortagne <[email protected]> wrote:
On Tue, May 24, 2011 at 09:45, Thomas Mortagne <[email protected]> wrote:
Hi Chamika,
On Mon, May 23, 2011 at 20:50, Chamika Weerasinghe <[email protected]> wrote:
Hi devs,
Since GSOC students have to start coding from today (23rd May) onwards I like to gather requirements and decide scope of the mentioned project. A short description of the project is included here< http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient> (http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient)
Simply I will try to access XWiki dataset using REST API and implement Android Library. Then by using that Android Library a sample application will be developed.
Before starting I would like to know all of your ideas related to this such as what should be implemented, what will you expect from an Android Library etc. So that I can get a better understand about the XWiki Android.
He is how I see it: first of all as much code as possible should be shared with the "desktop" client and all that should be cut in as much peaces as possible. The first desktop client I have in mind here is XEclipse which is also a GSOC project this year so for shared parts would be great that you work with Jun.
* model module: contains only the model (maybe it's already OK with
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwik... )
* REST helper: list/generate/execute all the supported REST requests. Probably possible to share this with the desktop client. * high level tools based on REST request: document caching et synchronization, basically anything which is more that a direct REST request and not a widget. Maybe cut this module in two if we can find parts that can be shared with desktop client, will be impossible for caching and synchronization I guess or at least not entirely * widget module: contains android widgets that can be reused in other android applications (XWiki navigator, editors...)
* the application: I proposed an android application which help editing and navigating an XWiki instance in http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient because that's what demonstrate most of the REST API but if you have other ideas to demonstrate on Android side no problem. Most of the widgets used in this application should be in the "widget module" if they are generic enough. We don't have yet the notion of friends/connexion that will comes with wiki3.0 project otherwise that would have been a good candidate for android contact synchronization.
Note that I think the first thing you should do before the first line of java code (or maybe at least the hello world of the application ;)) is to have the skeleton of all that with nice maven based build configuration that anyone can build anytime just by executing "mvn clean install" and test it.
I just created a https://github.com/xwiki-contrib/android-client repository which is where you will put your code during this GSOC.
If you don't already have one you should create a github account and indicate it to me so that you I can give you the right to push on this repository.
Actually I just added https://github.com/chamika, that's it right ?
Thank you all,
Best Regards, Chamika Weerasinghe _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Tue, May 24, 2011 at 17:21, Chamika Weerasinghe <[email protected]> wrote:
Yeah it's me, Thank you for creating a repo and giving me permission. According to you my first step should be creating a maven based build. So I will look into it because I never did that before.
Don't know very well android plugin for maven but will help you on that and will look at it. Also don't hesitate to ask any specific maven related question here.
Best Regards, Chamika Weerasinghe
On Tue, May 24, 2011 at 6:25 PM, Thomas Mortagne <[email protected]>wrote:
On Tue, May 24, 2011 at 14:51, Thomas Mortagne <[email protected]> wrote:
On Tue, May 24, 2011 at 09:45, Thomas Mortagne <[email protected]> wrote:
Hi Chamika,
On Mon, May 23, 2011 at 20:50, Chamika Weerasinghe <[email protected]> wrote:
Hi devs,
Since GSOC students have to start coding from today (23rd May) onwards I like to gather requirements and decide scope of the mentioned project. A short description of the project is included here< http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient> (http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient)
Simply I will try to access XWiki dataset using REST API and implement Android Library. Then by using that Android Library a sample application will be developed.
Before starting I would like to know all of your ideas related to this such as what should be implemented, what will you expect from an Android Library etc. So that I can get a better understand about the XWiki Android.
He is how I see it: first of all as much code as possible should be shared with the "desktop" client and all that should be cut in as much peaces as possible. The first desktop client I have in mind here is XEclipse which is also a GSOC project this year so for shared parts would be great that you work with Jun.
* model module: contains only the model (maybe it's already OK with
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwik... )
* REST helper: list/generate/execute all the supported REST requests. Probably possible to share this with the desktop client. * high level tools based on REST request: document caching et synchronization, basically anything which is more that a direct REST request and not a widget. Maybe cut this module in two if we can find parts that can be shared with desktop client, will be impossible for caching and synchronization I guess or at least not entirely * widget module: contains android widgets that can be reused in other android applications (XWiki navigator, editors...)
* the application: I proposed an android application which help editing and navigating an XWiki instance in http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient because that's what demonstrate most of the REST API but if you have other ideas to demonstrate on Android side no problem. Most of the widgets used in this application should be in the "widget module" if they are generic enough. We don't have yet the notion of friends/connexion that will comes with wiki3.0 project otherwise that would have been a good candidate for android contact synchronization.
Note that I think the first thing you should do before the first line of java code (or maybe at least the hello world of the application ;)) is to have the skeleton of all that with nice maven based build configuration that anyone can build anytime just by executing "mvn clean install" and test it.
I just created a https://github.com/xwiki-contrib/android-client repository which is where you will put your code during this GSOC.
If you don't already have one you should create a github account and indicate it to me so that you I can give you the right to push on this repository.
Actually I just added https://github.com/chamika, that's it right ?
Thank you all,
Best Regards, Chamika Weerasinghe _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
On Tue, May 24, 2011 at 17:41, Thomas Mortagne <[email protected]> wrote:
On Tue, May 24, 2011 at 17:21, Chamika Weerasinghe <[email protected]> wrote:
Yeah it's me, Thank you for creating a repo and giving me permission. According to you my first step should be creating a maven based build. So I will look into it because I never did that before.
Don't know very well android plugin for maven but will help you on that and will look at it. Also don't hesitate to ask any specific maven related question here.
Or in IRC chat of course which is better for quick questions.
Best Regards, Chamika Weerasinghe
On Tue, May 24, 2011 at 6:25 PM, Thomas Mortagne <[email protected]>wrote:
On Tue, May 24, 2011 at 14:51, Thomas Mortagne <[email protected]> wrote:
On Tue, May 24, 2011 at 09:45, Thomas Mortagne <[email protected]> wrote:
Hi Chamika,
On Mon, May 23, 2011 at 20:50, Chamika Weerasinghe <[email protected]> wrote:
Hi devs,
Since GSOC students have to start coding from today (23rd May) onwards I like to gather requirements and decide scope of the mentioned project. A short description of the project is included here< http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient> (http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient)
Simply I will try to access XWiki dataset using REST API and implement Android Library. Then by using that Android Library a sample application will be developed.
Before starting I would like to know all of your ideas related to this such as what should be implemented, what will you expect from an Android Library etc. So that I can get a better understand about the XWiki Android.
He is how I see it: first of all as much code as possible should be shared with the "desktop" client and all that should be cut in as much peaces as possible. The first desktop client I have in mind here is XEclipse which is also a GSOC project this year so for shared parts would be great that you work with Jun.
* model module: contains only the model (maybe it's already OK with
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwik... )
* REST helper: list/generate/execute all the supported REST requests. Probably possible to share this with the desktop client. * high level tools based on REST request: document caching et synchronization, basically anything which is more that a direct REST request and not a widget. Maybe cut this module in two if we can find parts that can be shared with desktop client, will be impossible for caching and synchronization I guess or at least not entirely * widget module: contains android widgets that can be reused in other android applications (XWiki navigator, editors...)
* the application: I proposed an android application which help editing and navigating an XWiki instance in http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient because that's what demonstrate most of the REST API but if you have other ideas to demonstrate on Android side no problem. Most of the widgets used in this application should be in the "widget module" if they are generic enough. We don't have yet the notion of friends/connexion that will comes with wiki3.0 project otherwise that would have been a good candidate for android contact synchronization.
Note that I think the first thing you should do before the first line of java code (or maybe at least the hello world of the application ;)) is to have the skeleton of all that with nice maven based build configuration that anyone can build anytime just by executing "mvn clean install" and test it.
I just created a https://github.com/xwiki-contrib/android-client repository which is where you will put your code during this GSOC.
If you don't already have one you should create a github account and indicate it to me so that you I can give you the right to push on this repository.
Actually I just added https://github.com/chamika, that's it right ?
Thank you all,
Best Regards, Chamika Weerasinghe _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne
Hi all, As Thomas said I configured android plugin for maven to build Android projects. It will generate .apk file which can be deployed in Android devices. Those who are interested in testing Android projects should first install Android SDK and can put .apk files to the emulator which comes with Android SDK. http://developer.android.com/sdk/installing.html (installing SDK) http://developer.android.com/sdk/index.html (Download SDK) For adding android plugin to maven, following lines should be added to the maven settings.xml <pluginGroups> <pluginGroup>com.jayway.maven.plugins.android.generation2</pluginGroup> </pluginGroups> after adding this, properly configured(pom.xml) Android project can be built using "mvn clean install" command and can be deployed to a running Android emulator by using "mvn android:deploy" command. But when building using maven if the java classes have @Override annotations it will give following error "annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) @Override" Is this a problem in pom.xml which I configured for a sample project or any other problem? Best Regards, Chamika Weerasinghe On Tue, May 24, 2011 at 9:20 PM, Thomas Mortagne <[email protected]>wrote:
On Tue, May 24, 2011 at 17:41, Thomas Mortagne <[email protected]> wrote:
On Tue, May 24, 2011 at 17:21, Chamika Weerasinghe <[email protected]> wrote:
Yeah it's me, Thank you for creating a repo and giving me permission. According to you my first step should be creating a maven based build. So I will look into it because I never did that before.
Don't know very well android plugin for maven but will help you on that and will look at it. Also don't hesitate to ask any specific maven related question here.
Or in IRC chat of course which is better for quick questions.
Best Regards, Chamika Weerasinghe
On Tue, May 24, 2011 at 6:25 PM, Thomas Mortagne <[email protected]>wrote:
On Tue, May 24, 2011 at 14:51, Thomas Mortagne <[email protected]> wrote:
On Tue, May 24, 2011 at 09:45, Thomas Mortagne <[email protected]> wrote:
Hi Chamika,
On Mon, May 23, 2011 at 20:50, Chamika Weerasinghe <
wrote:
> Hi devs, > > Since GSOC students have to start coding from today (23rd May) onwards I > like to gather requirements and decide scope of the mentioned project. A > short description of the project is included > here< http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient> > ( http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient) > > Simply I will try to access XWiki dataset using REST API and implement > Android Library. Then by using that Android Library a sample application > will be developed. > > Before starting I would like to know all of your ideas related to this such > as what should be implemented, what will you expect from an Android Library > etc. So that I can get a better understand about the XWiki Android.
He is how I see it: first of all as much code as possible should be shared with the "desktop" client and all that should be cut in as much peaces as possible. The first desktop client I have in mind here is XEclipse which is also a GSOC project this year so for shared parts would be great that you work with Jun.
* model module: contains only the model (maybe it's already OK with
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwik...
)
* REST helper: list/generate/execute all the supported REST requests. Probably possible to share this with the desktop client. * high level tools based on REST request: document caching et synchronization, basically anything which is more that a direct REST request and not a widget. Maybe cut this module in two if we can find parts that can be shared with desktop client, will be impossible for caching and synchronization I guess or at least not entirely * widget module: contains android widgets that can be reused in other android applications (XWiki navigator, editors...)
* the application: I proposed an android application which help editing and navigating an XWiki instance in
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/Androidclient
because that's what demonstrate most of the REST API but if you have other ideas to demonstrate on Android side no problem. Most of the widgets used in this application should be in the "widget module" if they are generic enough. We don't have yet the notion of friends/connexion that will comes with wiki3.0 project otherwise that would have been a good candidate for android contact synchronization.
Note that I think the first thing you should do before the first line of java code (or maybe at least the hello world of the application ;)) is to have the skeleton of all that with nice maven based build configuration that anyone can build anytime just by executing "mvn clean install" and test it.
I just created a https://github.com/xwiki-contrib/android-client repository which is where you will put your code during this GSOC.
If you don't already have one you should create a github account and indicate it to me so that you I can give you the right to push on this repository.
Actually I just added https://github.com/chamika, that's it right ?
> > Thank you all, > > Best Regards, > Chamika Weerasinghe > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs >
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi, On Fri, May 27, 2011 at 8:05 PM, Chamika Weerasinghe <[email protected]>wrote:
Hi all, As Thomas said I configured android plugin for maven to build Android projects. It will generate .apk file which can be deployed in Android devices.
Those who are interested in testing Android projects should first install Android SDK and can put .apk files to the emulator which comes with Android SDK. http://developer.android.com/sdk/installing.html (installing SDK) http://developer.android.com/sdk/index.html (Download SDK)
For adding android plugin to maven, following lines should be added to the maven settings.xml
<pluginGroups> <pluginGroup>com.jayway.maven.plugins.android.generation2</pluginGroup> </pluginGroups>
after adding this, properly configured(pom.xml) Android project can be built using "mvn clean install" command and can be deployed to a running Android emulator by using "mvn android:deploy" command.
But when building using maven if the java classes have @Override annotations it will give following error "annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) @Override"
You might have to configure the maven compiler plugin: http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-... Is the pom.xml one you created by hand? then I guess it would be ok to set your own source version. Hope this helps. Btw, don't be afraid to create new topics for new questions ;) - Asiri
It worked. Thank you. Best Regards, Chamika Weerasinghe On Sat, May 28, 2011 at 4:27 AM, Asiri Rathnayake < [email protected]> wrote:
Hi,
On Fri, May 27, 2011 at 8:05 PM, Chamika Weerasinghe <[email protected]
wrote:
Hi all, As Thomas said I configured android plugin for maven to build Android projects. It will generate .apk file which can be deployed in Android devices.
Those who are interested in testing Android projects should first install Android SDK and can put .apk files to the emulator which comes with Android SDK. http://developer.android.com/sdk/installing.html (installing SDK) http://developer.android.com/sdk/index.html (Download SDK)
For adding android plugin to maven, following lines should be added to the maven settings.xml
<pluginGroups> <pluginGroup>com.jayway.maven.plugins.android.generation2</pluginGroup> </pluginGroups>
after adding this, properly configured(pom.xml) Android project can be built using "mvn clean install" command and can be deployed to a running Android emulator by using "mvn android:deploy" command.
But when building using maven if the java classes have @Override annotations it will give following error "annotations are not supported in -source 1.3 (use -source 5 or higher to enable annotations) @Override"
You might have to configure the maven compiler plugin:
http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-...
Is the pom.xml one you created by hand? then I guess it would be ok to set your own source version.
Hope this helps.
Btw, don't be afraid to create new topics for new questions ;)
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (3)
-
Asiri Rathnayake -
Chamika Weerasinghe -
Thomas Mortagne