Re: [xwiki-devs] [GSoc] XWiki Android
Hi Thomas, This is the latest result for xwiki-android-tests-instrumentation (The UI stress testing test module) [INFO] *Found 0 devices connected with the Android Debug Bridge* mojoFailed com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.3.0(default-internal-pre-integration-test) projectFailed org.xwiki.android:xwiki-android-tests-instrumentation:1.0-SNAPSHOT sessionEnded Need an AVD / Device connected to Jenkins to run the tests. Also the ....test-rest will have failures if some preconditions are not met. (like having a page named Blog/test2 ) Is there a testing server instance running on the Jenkins server?. Best Regards Sasinda. PS: I created a login with username sasindar. On Thu, Jul 12, 2012 at 6:08 PM, Thomas Mortagne <[email protected]>wrote:
BTW don't put too much details in mail in general, better making sure that references places like https://github.com/xwiki-contrib/android-client/blob/master/README and http://extensions.xwiki.org/xwiki/bin/view/Extension/Google+Android+Client are up to date and link to them. Unless the mail is about asking some details of course, I mostly talking about announcement mails.
On Thu, Jul 12, 2012 at 2:35 PM, Thomas Mortagne <[email protected]> wrote:
On Thu, Jul 12, 2012 at 1:10 PM, sasinda rukshan <[email protected]> wrote:
Hi :-) Do you mean to put a mail to Xwiki Users list [email protected]., Not Developers list ?
I mean users and dev list. The idea is to talk about your project to the community (what already exist, what coming, etc). Note that dev mailing list is not for developers, it's for developers of XWiki itself, developers that are going to use XWiki and in this case android framework are users from mailing list point or view.
Well did you check the apk ? is it enough to show off.
As long as it's working and there anything new to advertise it's enough. The important things here is to show that there is something produced which is easy to test and that people can try it whenever they want to check last stuff.
Regards Sasinda.
On Thu, Jul 12, 2012 at 3:55 PM, Thomas Mortagne <
wrote:
It's an announcement mail, not a documentation. It's made to show off
;)
On Thu, Jul 12, 2012 at 12:23 PM, Thomas Mortagne <[email protected]> wrote:
On Thu, Jul 12, 2012 at 12:15 PM, sasinda rukshan <[email protected]> wrote:
Hi, You mean to a real phone? I was thinking about an emulator. :-)
Not was talking about real quick test for end user.
>>I don't understand, you don't need command line to install any APK
on
>>a phone. You just need to enable it. Well I mean for the developers to test what the API offers. Not the application users to check what is available. The demo blog app was not meant for real users. I only spent about 7-8 hours developing the UI of it.
It's not a big deal, it's just about showing that you have something working and that it's easy to try it.
You should also obviously talk about what's not visible yet and provide links for developers. But no need to explain developer how to put an APK in an emulator, just indicate what new and where it is.
Regards Sasinda.
On Thu, Jul 12, 2012 at 3:07 PM, Thomas Mortagne <[email protected]> wrote: > > On Thu, Jul 12, 2012 at 11:35 AM, Thomas Mortagne > <[email protected]> wrote: > > On Thu, Jul 12, 2012 at 11:32 AM, sasinda rukshan > > <[email protected]> wrote: > >> Hi, > >> Thanks. > >>>>Evaluation (you passed by the way unless Google has soemthing
to
> >>>> say > >>>>about it but I think they let us decide) > >> Thanks a lot! I am happy to here that. > >> > >> By the way I did not care about making the visual aspects. Since > >> you > >> said > >> that the API is the most important one. > >> So it looks only little work. > >> I mean, no one will see that I have automated the work of sending > >> the > >> representation of the Xwiki Document to the server > >> with just one method call (i.e. create()). I am very happy to have > >> made > >> such an abstraction because I were originally planning to show the > >> Blog > >> demo > >> using earlier project's fine grained API directly. The abstraction > >> was > >> made > >> such that XE can keep on changing the ReST API without affecting > >> the > >> upper > >> application layers. > >> But I am afraid nobody(not you :-)) will notice that because all > >> that > >> is > >> internal technical functionality. > >> > >> > >>>> But try to do > >>>>a not too technical mail and gives phone/tablet oriented > >>>> instructions > >>>>to install the APK > >> I'll send a mail to the community without tech stuff. ( I mean the > >> ORM > >> frameworks , restful abstractions etc) > >> But they will have to install it using cmd line any way. > >> adb install <apk> . No GUI ;-) > >> Navigation is intuitive. > > > > I don't understand, you don't need command line to install any APK > > on > > a phone. You just need to enable it. > > Talking about enable installing APK comming from "unkown sources" in > Applications preferences. > > > > >> > >> > >> I will only mention the internals in the design docs. > >> > >> > >> Thanks. > >> > >> > >> > >> > >> > >> > >> > >> On Thu, Jul 12, 2012 at 2:00 PM, Thomas Mortagne > >> <[email protected]> > >> wrote: > >>> > >>> I'm the one that is assigned to this project as the most available > >>> to > >>> help you and follow you work but your are actually working with > >>> XWiki > >>> community, not just me ;) > >>> > >>> On Thu, Jul 12, 2012 at 10:28 AM, Thomas Mortagne > >>> <[email protected]> wrote: > >>> > On Thu, Jul 12, 2012 at 10:02 AM, sasinda rukshan > >>> > <[email protected]> wrote: > >>> >> Hi, > >>> >> PS: > >>> >>>> * Post, Publish a blog post > >>> >>>> ( > >>> >>>> These two features use the internal functionality as > >>> >>>> follows. > >>> >>>> Posting a Document in the server using the new ReSTful > >>> >>>> Access > >>> >>>> Layer > >>> >>>> simplified API. > >>> >>>> Actually an API user would only have to call a create(doc) > >>> >>>> method > >>> >>>> passing the Xwik Document he made. All the logic of > >>> >>>> transforming > >>> >> ... > >>> >> All the logic of transforming is done behind the scenes. The > >>> >> developer > >>> >> need > >>> >> not know much about the underlying restful api. That is > >>> >> he does not need to know he has to post objects to a page, then > >>> >> post > >>> >> tags > >>> >> comments and etc. > >>> >> All the ReST calls are done under the ReSTful Access layer. It > >>> >> is > >>> >> just > >>> >> like > >>> >> the hibernate layer above the Xwiki Enterprise Database ;-). > >>> >> > >>> >> Also For the API user's ease, we have integrated ORMLite a ORM > >>> >> library. So > >>> >> Hibernate, JPA users will feel familiar here. > >>> >> > >>> >> Those are the important points in a summary. > >>> >> Further details will be provided when I update the > >>> >> documentations. > >>> > > >>> > Again do not send all that only to me. > >>> > > >>> > Evaluation (you passed by the way unless Google has soemthing to > >>> > say > >>> > about it but I think they let us decide) is good period to start > >>> > announcing what you have done so far and how to test it. But try > >>> > to > >>> > do > >>> > a not too technical mail and gives phone/tablet oriented > >>> > instructions > >>> > to install the APK people should try since most people are not > >>> > going > >>> > to test it with the debugger ;) > >>> > > >>> >> > >>> >> Please feel free to suggest. > >>> >> > >>> >> Thanks. > >>> >> Best Regards. > >>> >> Sasinda. > >>> >> > >>> >> > >>> >> > >>> >> On Thu, Jul 12, 2012 at 1:21 PM, sasinda rukshan > >>> >> <[email protected]> > >>> >> wrote: > >>> >>> > >>> >>> Hi Thomas , all, > >>> >>> > >>> >>> Oops.Very Sorry. I was doing it on my office machine. I > >>> >>> commented > >>> >>> out > >>> >>> the > >>> >>> parent reference. Big mistake with removing comments. > >>> >>> The build did work in the local machine. The earlier build's > >>> >>> problem > >>> >>> was > >>> >>> that it did not export the dependencies. Now with the older > >>> >>> jayway > >>> >>> plugin > >>> >>> the export of dependencies to the apk is done ok. > >>> >>> Thanks for pointing out. > >>> >>> > >>> >>> >>Note that it still not fully building. > >>> >>> > >>> >>> [INFO] XWiki Android - Parent POM ........................ > >>> >>> SUCCESS > >>> >>> [5.786s] > >>> >>> [INFO] XWiki REST Model .................................. > >>> >>> SUCCESS > >>> >>> [1.991s] > >>> >>> [INFO] XWiki REST Simple-Xml Model ....................... > >>> >>> SUCCESS > >>> >>> [4.136s] > >>> >>> [INFO] XWiki REST GSON Model ............................. > >>> >>> SUCCESS > >>> >>> [3.222s] > >>> >>> [INFO] XWiki Android REST Connector ...................... > >>> >>> SUCCESS > >>> >>> [4.277s] > >>> >>> [INFO] XWiki android core lib ............................ > >>> >>> SUCCESS > >>> >>> [6.672s] > >>> >>> [INFO] Xwiki Android Components .......................... > >>> >>> SUCCESS > >>> >>> [4.882s] > >>> >>> [INFO] XWiki Client Apps ................................. > >>> >>> SUCCESS > >>> >>> [12.440s] > >>> >>> [INFO] XWiki Android REST Tests .......................... > >>> >>> FAILURE > >>> >>> [8.884s] > >>> >>> [INFO] XWiki Android Instrumentation Tests ............... > >>> >>> SKIPPED > >>> >>> > >>> >>> The two test modules are not building. Well I did not check > >>> >>> there > >>> >>> build, > >>> >>> as I did not change the lower layer APIs which they depended > >>> >>> on. > >>> >>> Well, the > >>> >>> Junit version tag is missing in their poms. > >>> > > >>> > There were building well before you change the plugin version > >>> > (and > >>> > many things that has nothing to do with the plugin version > >>> > despite > >>> > what you indicated in the commit log) so it would be nice that > >>> > you > >>> > fix > >>> > this. Having them working should be first priority. Generally > >>> > specking > >>> > the whole build should always work on master especially > >>> > automated > >>> > tests which are checking for you automatically if you introduce > >>> > any > >>> > regression. > >>> > > >>> >>> > >>> >>> I did not add my own tests yet. > >>> >>> > >>> >>> But you can check out the apk at > >>> >>> > >>> >>> > >>> >>> > >>> >>> > >>> >>> http://maven.xwiki.org/snapshots/org/xwiki/android/xwiki-android-client/1.0-... > >>> >>> It is working. > >>> >>> Steps to install. > >>> >>> 1) Download android SDK > >>> >>> > >>> >>> http://developer.android.com/sdk/installing/adding-packages.html > >>> >>> 2) Start SDK Manager.exe in the extracted folder and download > >>> >>> Android > >>> >>> 2.1 > >>> >>> API 7 or later. (I test on API 7). > >>> >>> 3) Start AVD Manager.exe and make a Android Virtual Device > >>> >>> named > >>> >>> exactly > >>> >>> "android-7". > >>> >>> 4) Make sure you have added the path to > >>> >>> <android-sdk-installation > >>> >>> path>/platform-tools and <android-sdk-installation path>/tools > >>> >>> as > >>> >>> described > >>> >>> in the above guide at (Tip in the bottom) > >>> >>> > >>> >>> http://developer.android.com/sdk/installing/adding-packages.html > >>> >>> > >>> >>> 5) download xwiki-android-client-1.0-20120711.121416-177.apk > >>> >>> or a > >>> >>> later > >>> >>> apk in > >>> >>> > >>> >>> > >>> >>> > >>> >>> http://maven.xwiki.org/snapshots/org/xwiki/android/xwiki-android-client/1.0-... > >>> >>> 6) run command>> adb install <your apk> ex: for the build on > >>> >>> July 11 > >>> >>> adb install xwiki-android-client-1.0-20120711.121416-177.apk > >>> >>> > >>> >>> After install is successful please press the XWiki icon in > >>> >>> the > >>> >>> android > >>> >>> virtual device's launcher. > >>> >>> Features: > >>> >>> * Password , username, server url remember feature added. > >>> >>> * Connection timeouts added > >>> >>> * Generalized Launch pad added for android client apps. ( > >>> >>> Client > >>> >>> app > >>> >>> icons > >>> >>> are shown in the launch pad). > >>> >>> * Post, Publish a blog post > >>> >>> ( > >>> >>> These two features use the internal functionality as > >>> >>> follows. > >>> >>> Posting a Document in the server using the new ReSTful > >>> >>> Access > >>> >>> Layer > >>> >>> simplified API. > >>> >>> Actually an API user would only have to call a create(doc) > >>> >>> method > >>> >>> passing the Xwik Document he made. All the logic of > >>> >>> transforming > >>> >>> > >>> >>> > >>> >>> Conversion of XWiki Domain model to relevant rest model > >>> >>> objects. > >>> >>> ) > >>> >>> > >>> >>> * Save, Load blog posts ( Persisting the XWiki Domain model) > >>> >>> > >>> >>> The UI here is just demo purpose only. > >>> >>> > >>> >>> > >>> >>> > >>> >>> > >>> >>> On Wed, Jul 11, 2012 at 9:39 PM, Thomas Mortagne > >>> >>> <[email protected]> wrote: > >>> >>>> > >>> >>>> On Wed, Jul 11, 2012 at 2:13 PM, Thomas Mortagne > >>> >>>> <[email protected]> wrote: > >>> >>>> > I fixed many mistakes in the root pom.xml, there is no way > >>> >>>> > you > >>> >>>> > could > >>> >>>> > build anything with that so I don't understand exactly what > >>> >>>> > you > >>> >>>> > tested... > >>> >>>> > >>> >>>> Note that it still not fully building. > >>> >>>> > >>> >>>> > > >>> >>>> > On Tue, Jul 10, 2012 at 9:13 AM, Thomas Mortagne > >>> >>>> > <[email protected]> wrote: > >>> >>>> >> The build is still failing on > >>> >>>> >> http://ci.xwiki.org/job/xwiki-android-client/, you should > >>> >>>> >> always > >>> >>>> >> make > >>> >>>> >> sure this is working well. > >>> >>>> >> > >>> >>>> >> On Mon, Jul 9, 2012 at 2:07 PM, sasinda rukshan > >>> >>>> >> <[email protected]> wrote: > >>> >>>> >>> Hi Thomas, > >>> >>>> >>> The issue with the build was solved by reverting back to > >>> >>>> >>> older > >>> >>>> >>> version of > >>> >>>> >>> jayway android maven plugin. This seems not the correct > >>> >>>> >>> option, > >>> >>>> >>> but > >>> >>>> >>> it > >>> >>>> >>> works now. :-). > >>> >>>> >>> > >>> >>>> >>> Thanks > >>> >>>> >>> Regards. > >>> >>>> >>> Sasinda. > >>> >>>> >>> > >>> >>>> >>> On Mon, Jul 9, 2012 at 12:51 PM, sasinda rukshan > >>> >>>> >>> <[email protected]>wrote: > >>> >>>> >>> > >>> >>>> >>>> Hi Thomas, > >>> >>>> >>>> >As you want, was just a suggestion to make it easier. > >>> >>>> >>>> > Not > >>> >>>> >>>> > sure > >>> >>>> >>>> > how > >>> >>>> >>>> >XWord deal with macros. > >>> >>>> >>>> > >>> >>>> >>>> Well actually I did not use code macro there. Just copy > >>> >>>> >>>> pasted > >>> >>>> >>>> from > >>> >>>> >>>> eclipse ;-). Less work it was!. > >>> >>>> >>>> > >>> >>>> >>>> >From what I can see this is not a real issue. > >>> >>>> >>>> Yes, its not a real issue. > >>> >>>> >>>> > >>> >>>> >>>> > >>> >>>> >>>> > >>> >>>> >>>> > I need > >>> >>>> >>>> > to finish something before 4.2M1, will try to look at > >>> >>>> >>>> > it > >>> >>>> >>>> > after > >>> >>>> >>>> > that. > >>> >>>> >>>> > >>> >>>> >>>> No problem. Don't be distracted with this. I am trying a > >>> >>>> >>>> workaround, > >>> >>>> >>>> to > >>> >>>> >>>> copy the needed jars with maven-dependancy plugin.(I > >>> >>>> >>>> upgraded > >>> >>>> >>>> maven > >>> >>>> >>>> to > >>> >>>> >>>> 3.0.4. also) . I will try more and hopefully get this > >>> >>>> >>>> thing > >>> >>>> >>>> done. It > >>> >>>> >>>> is not > >>> >>>> >>>> halting my development because I can build with eclipse. > >>> >>>> >>>> Thanks for offering me help. :-). > >>> >>>> >>>> > >>> >>>> >>>> Best Regards. > >>> >>>> >>>> > >>> >>>> >>>> > >>> >>>> >>>> > >>> >>>> >>>> On Mon, Jul 9, 2012 at 12:37 PM, Thomas Mortagne < > >>> >>>> >>>> [email protected]> wrote: > >>> >>>> >>>> > >>> >>>> >>>>> On Mon, Jul 9, 2012 at 6:35 AM, sasinda rukshan > >>> >>>> >>>>> <[email protected]> wrote: > >>> >>>> >>>>> > Hi, > >>> >>>> >>>>> > Thanks for the info. > >>> >>>> >>>>> > I did it using XWord . I will do some more > >>> >>>> >>>>> > documentation > >>> >>>> >>>>> > after > >>> >>>> >>>>> > reaching > >>> >>>> >>>>> the > >>> >>>> >>>>> > milestone 3( security module). That documentation is > >>> >>>> >>>>> > not > >>> >>>> >>>>> > enough > >>> >>>> >>>>> > to give > >>> >>>> >>>>> the > >>> >>>> >>>>> > whole picture. Need to separate the API how to s, > >>> >>>> >>>>> > from > >>> >>>> >>>>> > the > >>> >>>> >>>>> > design > >>> >>>> >>>>> > and architecture descriptions.So the documentation > >>> >>>> >>>>> > will > >>> >>>> >>>>> > get > >>> >>>> >>>>> > changed in > >>> >>>> >>>>> the > >>> >>>> >>>>> > future. Is it ok if I edit the formatting later at > >>> >>>> >>>>> > that > >>> >>>> >>>>> > time?. > >>> >>>> >>>>> > >>> >>>> >>>>> As you want, was just a suggestion to make it easier. > >>> >>>> >>>>> Not > >>> >>>> >>>>> sure > >>> >>>> >>>>> how > >>> >>>> >>>>> XWord deal with macros. > >>> >>>> >>>>> > >>> >>>> >>>>> > > >>> >>>> >>>>> > By the way the maven build of the android project is > >>> >>>> >>>>> > currently > >>> >>>> >>>>> > having > >>> >>>> >>>>> the > >>> >>>> >>>>> > following issue. > >>> >>>> >>>>> > > >>> >>>> >>>>> > > >>> >>>> >>>>> > > >>> >>>> >>>>> > > >>> >>>> >>>>> > http://code.google.com/p/maven-android-plugin/issues/detail?id=266 > >>> >>>> >>>>> > >>> >>>> >>>>> From what I can see this is not a real issue. Also note > >>> >>>> >>>>> that > >>> >>>> >>>>> it's > >>> >>>> >>>>> working well with the other application > >>> >>>> >>>>> (xwiki-android-client). > >>> >>>> >>>>> I > >>> >>>> >>>>> need > >>> >>>> >>>>> to finish something before 4.2M1, will try to look at > >>> >>>> >>>>> it > >>> >>>> >>>>> after > >>> >>>> >>>>> that. > >>> >>>> >>>>> > >>> >>>> >>>>> > I am trying to resolve it, but still not successful. > >>> >>>> >>>>> > The > >>> >>>> >>>>> > build > >>> >>>> >>>>> > works in > >>> >>>> >>>>> > eclipse. > >>> >>>> >>>>> > Currently I have implemented the functionality for > >>> >>>> >>>>> > saving > >>> >>>> >>>>> > and > >>> >>>> >>>>> > loading > >>> >>>> >>>>> back > >>> >>>> >>>>> > xwiki document model. It is working fine. > >>> >>>> >>>>> > (We can save, load , list documents stored in the > >>> >>>> >>>>> > system). I > >>> >>>> >>>>> > have > >>> >>>> >>>>> stopped > >>> >>>> >>>>> > development until the maven build issue is solved. > >>> >>>> >>>>> > > >>> >>>> >>>>> > Thanks. > >>> >>>> >>>>> > Regards. > >>> >>>> >>>>> > > >>> >>>> >>>>> > > >>> >>>> >>>>> > > >>> >>>> >>>>> > On Sun, Jul 8, 2012 at 11:11 PM, Thomas Mortagne > >>> >>>> >>>>> > <[email protected]>wrote: > >>> >>>> >>>>> > > >>> >>>> >>>>> >> On Sun, Jul 8, 2012 at 2:53 PM, sasinda rukshan > >>> >>>> >>>>> >> <[email protected]> wrote: > >>> >>>> >>>>> >> > Hi, > >>> >>>> >>>>> >> > I updated the documentation for XWiki Android > >>> >>>> >>>>> >> > project > >>> >>>> >>>>> >> > at, > >>> >>>> >>>>> >> > > >>> >>>> >>>>> >> > > >>> >>>> >>>>> >> > http://dev.xwiki.org/xwiki/bin/view/Design/XWikiAndroid. > >>> >>>> >>>>> >> > > >>> >>>> >>>>> >> > Sorry for the little formatting errors. > >>> >>>> >>>>> >> > >>> >>>> >>>>> >> You should use code macro instead of setting your > >>> >>>> >>>>> >> own > >>> >>>> >>>>> >> styling. > >>> >>>> >>>>> >> > >>> >>>> >>>>> >> > > >>> >>>> >>>>> >> > Thanks > >>> >>>> >>>>> >> > Sasinda. > >>> >>>> >>>>> >> > _______________________________________________ > >>> >>>> >>>>> >> > devs mailing list > >>> >>>> >>>>> >> > [email protected] > >>> >>>> >>>>> >> > http://lists.xwiki.org/mailman/listinfo/devs > >>> >>>> >>>>> >> > >>> >>>> >>>>> >> > >>> >>>> >>>>> >> > >>> >>>> >>>>> >> -- > >>> >>>> >>>>> >> Thomas Mortagne > >>> >>>> >>>>> >> > >>> >>>> >>>>> > _______________________________________________ > >>> >>>> >>>>> > devs mailing list > >>> >>>> >>>>> > [email protected] > >>> >>>> >>>>> > http://lists.xwiki.org/mailman/listinfo/devs > >>> >>>> >>>>> > >>> >>>> >>>>> > >>> >>>> >>>>> > >>> >>>> >>>>> -- > >>> >>>> >>>>> 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 > >>> >>>> > >>> >>>> > >>> >>>> > >>> >>>> -- > >>> >>>> Thomas Mortagne > >>> >>> > >>> >>> > >>> >> > >>> > > >>> > > >>> > > >>> > -- > >>> > Thomas Mortagne > >>> > >>> > >>> > >>> -- > >>> Thomas Mortagne > >> > >> > > > > > > > > -- > > Thomas Mortagne > > > > -- > Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
On Sun, Aug 5, 2012 at 11:42 AM, sasinda rukshan <[email protected]> wrote:
Hi Thomas,
This is the latest result for xwiki-android-tests-instrumentation (The UI stress testing test module)
[INFO] *Found 0 devices connected with the Android Debug Bridge* mojoFailed com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.3.0(default-internal-pre-integration-test) projectFailed org.xwiki.android:xwiki-android-tests-instrumentation:1.0-SNAPSHOT sessionEnded
Need an AVD / Device connected to Jenkins to run the tests.
Will look at it.
Also the ....test-rest will have failures if some preconditions are not met. (like having a page named Blog/test2 )
Is there a testing server instance running on the Jenkins server?.
No, you need to start one (which is not very hard with jetty/hsqldb distribution) or mock one (but then you have the risk that you don't have the exact same behavior) when you start the tests. You can look at how https://github.com/xwiki/xwiki-enterprise/tree/master/xwiki-enterprise-test/... does it for example.
Best Regards Sasinda.
PS: I created a login with username sasindar.
On Thu, Jul 12, 2012 at 6:08 PM, Thomas Mortagne <[email protected]>wrote:
BTW don't put too much details in mail in general, better making sure that references places like https://github.com/xwiki-contrib/android-client/blob/master/README and http://extensions.xwiki.org/xwiki/bin/view/Extension/Google+Android+Client are up to date and link to them. Unless the mail is about asking some details of course, I mostly talking about announcement mails.
On Thu, Jul 12, 2012 at 2:35 PM, Thomas Mortagne <[email protected]> wrote:
On Thu, Jul 12, 2012 at 1:10 PM, sasinda rukshan <[email protected]> wrote:
Hi :-) Do you mean to put a mail to Xwiki Users list [email protected]., Not Developers list ?
I mean users and dev list. The idea is to talk about your project to the community (what already exist, what coming, etc). Note that dev mailing list is not for developers, it's for developers of XWiki itself, developers that are going to use XWiki and in this case android framework are users from mailing list point or view.
Well did you check the apk ? is it enough to show off.
As long as it's working and there anything new to advertise it's enough. The important things here is to show that there is something produced which is easy to test and that people can try it whenever they want to check last stuff.
Regards Sasinda.
On Thu, Jul 12, 2012 at 3:55 PM, Thomas Mortagne <
wrote:
It's an announcement mail, not a documentation. It's made to show off
;)
On Thu, Jul 12, 2012 at 12:23 PM, Thomas Mortagne <[email protected]> wrote:
On Thu, Jul 12, 2012 at 12:15 PM, sasinda rukshan <[email protected]> wrote: > Hi, > You mean to a real phone? > I was thinking about an emulator. :-)
Not was talking about real quick test for end user.
>>>I don't understand, you don't need command line to install any APK
on
>>>a phone. You just need to enable it. > Well I mean for the developers to test what the API offers. Not the > application users to check what is available. > The demo blog app was not meant for real users. I only spent about 7-8 > hours > developing the UI of it.
It's not a big deal, it's just about showing that you have something working and that it's easy to try it.
You should also obviously talk about what's not visible yet and provide links for developers. But no need to explain developer how to put an APK in an emulator, just indicate what new and where it is.
> > Regards > Sasinda. > > > On Thu, Jul 12, 2012 at 3:07 PM, Thomas Mortagne > <[email protected]> > wrote: >> >> On Thu, Jul 12, 2012 at 11:35 AM, Thomas Mortagne >> <[email protected]> wrote: >> > On Thu, Jul 12, 2012 at 11:32 AM, sasinda rukshan >> > <[email protected]> wrote: >> >> Hi, >> >> Thanks. >> >>>>Evaluation (you passed by the way unless Google has soemthing to >> >>>> say >> >>>>about it but I think they let us decide) >> >> Thanks a lot! I am happy to here that. >> >> >> >> By the way I did not care about making the visual aspects. Since >> >> you >> >> said >> >> that the API is the most important one. >> >> So it looks only little work. >> >> I mean, no one will see that I have automated the work of sending >> >> the >> >> representation of the Xwiki Document to the server >> >> with just one method call (i.e. create()). I am very happy to have >> >> made >> >> such an abstraction because I were originally planning to show the >> >> Blog >> >> demo >> >> using earlier project's fine grained API directly. The abstraction >> >> was >> >> made >> >> such that XE can keep on changing the ReST API without affecting >> >> the >> >> upper >> >> application layers. >> >> But I am afraid nobody(not you :-)) will notice that because all >> >> that >> >> is >> >> internal technical functionality. >> >> >> >> >> >>>> But try to do >> >>>>a not too technical mail and gives phone/tablet oriented >> >>>> instructions >> >>>>to install the APK >> >> I'll send a mail to the community without tech stuff. ( I mean the >> >> ORM >> >> frameworks , restful abstractions etc) >> >> But they will have to install it using cmd line any way. >> >> adb install <apk> . No GUI ;-) >> >> Navigation is intuitive. >> > >> > I don't understand, you don't need command line to install any APK >> > on >> > a phone. You just need to enable it. >> >> Talking about enable installing APK comming from "unkown sources" in >> Applications preferences. >> >> > >> >> >> >> >> >> I will only mention the internals in the design docs. >> >> >> >> >> >> Thanks. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Thu, Jul 12, 2012 at 2:00 PM, Thomas Mortagne >> >> <[email protected]> >> >> wrote: >> >>> >> >>> I'm the one that is assigned to this project as the most available >> >>> to >> >>> help you and follow you work but your are actually working with >> >>> XWiki >> >>> community, not just me ;) >> >>> >> >>> On Thu, Jul 12, 2012 at 10:28 AM, Thomas Mortagne >> >>> <[email protected]> wrote: >> >>> > On Thu, Jul 12, 2012 at 10:02 AM, sasinda rukshan >> >>> > <[email protected]> wrote: >> >>> >> Hi, >> >>> >> PS: >> >>> >>>> * Post, Publish a blog post >> >>> >>>> ( >> >>> >>>> These two features use the internal functionality as >> >>> >>>> follows. >> >>> >>>> Posting a Document in the server using the new ReSTful >> >>> >>>> Access >> >>> >>>> Layer >> >>> >>>> simplified API. >> >>> >>>> Actually an API user would only have to call a create(doc) >> >>> >>>> method >> >>> >>>> passing the Xwik Document he made. All the logic of >> >>> >>>> transforming >> >>> >> ... >> >>> >> All the logic of transforming is done behind the scenes. The >> >>> >> developer >> >>> >> need >> >>> >> not know much about the underlying restful api. That is >> >>> >> he does not need to know he has to post objects to a page, then >> >>> >> post >> >>> >> tags >> >>> >> comments and etc. >> >>> >> All the ReST calls are done under the ReSTful Access layer. It >> >>> >> is >> >>> >> just >> >>> >> like >> >>> >> the hibernate layer above the Xwiki Enterprise Database ;-). >> >>> >> >> >>> >> Also For the API user's ease, we have integrated ORMLite a ORM >> >>> >> library. So >> >>> >> Hibernate, JPA users will feel familiar here. >> >>> >> >> >>> >> Those are the important points in a summary. >> >>> >> Further details will be provided when I update the >> >>> >> documentations. >> >>> > >> >>> > Again do not send all that only to me. >> >>> > >> >>> > Evaluation (you passed by the way unless Google has soemthing to >> >>> > say >> >>> > about it but I think they let us decide) is good period to start >> >>> > announcing what you have done so far and how to test it. But try >> >>> > to >> >>> > do >> >>> > a not too technical mail and gives phone/tablet oriented >> >>> > instructions >> >>> > to install the APK people should try since most people are not >> >>> > going >> >>> > to test it with the debugger ;) >> >>> > >> >>> >> >> >>> >> Please feel free to suggest. >> >>> >> >> >>> >> Thanks. >> >>> >> Best Regards. >> >>> >> Sasinda. >> >>> >> >> >>> >> >> >>> >> >> >>> >> On Thu, Jul 12, 2012 at 1:21 PM, sasinda rukshan >> >>> >> <[email protected]> >> >>> >> wrote: >> >>> >>> >> >>> >>> Hi Thomas , all, >> >>> >>> >> >>> >>> Oops.Very Sorry. I was doing it on my office machine. I >> >>> >>> commented >> >>> >>> out >> >>> >>> the >> >>> >>> parent reference. Big mistake with removing comments. >> >>> >>> The build did work in the local machine. The earlier build's >> >>> >>> problem >> >>> >>> was >> >>> >>> that it did not export the dependencies. Now with the older >> >>> >>> jayway >> >>> >>> plugin >> >>> >>> the export of dependencies to the apk is done ok. >> >>> >>> Thanks for pointing out. >> >>> >>> >> >>> >>> >>Note that it still not fully building. >> >>> >>> >> >>> >>> [INFO] XWiki Android - Parent POM ........................ >> >>> >>> SUCCESS >> >>> >>> [5.786s] >> >>> >>> [INFO] XWiki REST Model .................................. >> >>> >>> SUCCESS >> >>> >>> [1.991s] >> >>> >>> [INFO] XWiki REST Simple-Xml Model ....................... >> >>> >>> SUCCESS >> >>> >>> [4.136s] >> >>> >>> [INFO] XWiki REST GSON Model ............................. >> >>> >>> SUCCESS >> >>> >>> [3.222s] >> >>> >>> [INFO] XWiki Android REST Connector ...................... >> >>> >>> SUCCESS >> >>> >>> [4.277s] >> >>> >>> [INFO] XWiki android core lib ............................ >> >>> >>> SUCCESS >> >>> >>> [6.672s] >> >>> >>> [INFO] Xwiki Android Components .......................... >> >>> >>> SUCCESS >> >>> >>> [4.882s] >> >>> >>> [INFO] XWiki Client Apps ................................. >> >>> >>> SUCCESS >> >>> >>> [12.440s] >> >>> >>> [INFO] XWiki Android REST Tests .......................... >> >>> >>> FAILURE >> >>> >>> [8.884s] >> >>> >>> [INFO] XWiki Android Instrumentation Tests ............... >> >>> >>> SKIPPED >> >>> >>> >> >>> >>> The two test modules are not building. Well I did not check >> >>> >>> there >> >>> >>> build, >> >>> >>> as I did not change the lower layer APIs which they depended >> >>> >>> on. >> >>> >>> Well, the >> >>> >>> Junit version tag is missing in their poms. >> >>> > >> >>> > There were building well before you change the plugin version >> >>> > (and >> >>> > many things that has nothing to do with the plugin version >> >>> > despite >> >>> > what you indicated in the commit log) so it would be nice that >> >>> > you >> >>> > fix >> >>> > this. Having them working should be first priority. Generally >> >>> > specking >> >>> > the whole build should always work on master especially >> >>> > automated >> >>> > tests which are checking for you automatically if you introduce >> >>> > any >> >>> > regression. >> >>> > >> >>> >>> >> >>> >>> I did not add my own tests yet. >> >>> >>> >> >>> >>> But you can check out the apk at >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> http://maven.xwiki.org/snapshots/org/xwiki/android/xwiki-android-client/1.0-... >> >>> >>> It is working. >> >>> >>> Steps to install. >> >>> >>> 1) Download android SDK >> >>> >>> >> >>> >>> http://developer.android.com/sdk/installing/adding-packages.html >> >>> >>> 2) Start SDK Manager.exe in the extracted folder and download >> >>> >>> Android >> >>> >>> 2.1 >> >>> >>> API 7 or later. (I test on API 7). >> >>> >>> 3) Start AVD Manager.exe and make a Android Virtual Device >> >>> >>> named >> >>> >>> exactly >> >>> >>> "android-7". >> >>> >>> 4) Make sure you have added the path to >> >>> >>> <android-sdk-installation >> >>> >>> path>/platform-tools and <android-sdk-installation path>/tools >> >>> >>> as >> >>> >>> described >> >>> >>> in the above guide at (Tip in the bottom) >> >>> >>> >> >>> >>> http://developer.android.com/sdk/installing/adding-packages.html >> >>> >>> >> >>> >>> 5) download xwiki-android-client-1.0-20120711.121416-177.apk >> >>> >>> or a >> >>> >>> later >> >>> >>> apk in >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> http://maven.xwiki.org/snapshots/org/xwiki/android/xwiki-android-client/1.0-... >> >>> >>> 6) run command>> adb install <your apk> ex: for the build on >> >>> >>> July 11 >> >>> >>> adb install xwiki-android-client-1.0-20120711.121416-177.apk >> >>> >>> >> >>> >>> After install is successful please press the XWiki icon in >> >>> >>> the >> >>> >>> android >> >>> >>> virtual device's launcher. >> >>> >>> Features: >> >>> >>> * Password , username, server url remember feature added. >> >>> >>> * Connection timeouts added >> >>> >>> * Generalized Launch pad added for android client apps. ( >> >>> >>> Client >> >>> >>> app >> >>> >>> icons >> >>> >>> are shown in the launch pad). >> >>> >>> * Post, Publish a blog post >> >>> >>> ( >> >>> >>> These two features use the internal functionality as >> >>> >>> follows. >> >>> >>> Posting a Document in the server using the new ReSTful >> >>> >>> Access >> >>> >>> Layer >> >>> >>> simplified API. >> >>> >>> Actually an API user would only have to call a create(doc) >> >>> >>> method >> >>> >>> passing the Xwik Document he made. All the logic of >> >>> >>> transforming >> >>> >>> >> >>> >>> >> >>> >>> Conversion of XWiki Domain model to relevant rest model >> >>> >>> objects. >> >>> >>> ) >> >>> >>> >> >>> >>> * Save, Load blog posts ( Persisting the XWiki Domain model) >> >>> >>> >> >>> >>> The UI here is just demo purpose only. >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> On Wed, Jul 11, 2012 at 9:39 PM, Thomas Mortagne >> >>> >>> <[email protected]> wrote: >> >>> >>>> >> >>> >>>> On Wed, Jul 11, 2012 at 2:13 PM, Thomas Mortagne >> >>> >>>> <[email protected]> wrote: >> >>> >>>> > I fixed many mistakes in the root pom.xml, there is no way >> >>> >>>> > you >> >>> >>>> > could >> >>> >>>> > build anything with that so I don't understand exactly what >> >>> >>>> > you >> >>> >>>> > tested... >> >>> >>>> >> >>> >>>> Note that it still not fully building. >> >>> >>>> >> >>> >>>> > >> >>> >>>> > On Tue, Jul 10, 2012 at 9:13 AM, Thomas Mortagne >> >>> >>>> > <[email protected]> wrote: >> >>> >>>> >> The build is still failing on >> >>> >>>> >> http://ci.xwiki.org/job/xwiki-android-client/, you should >> >>> >>>> >> always >> >>> >>>> >> make >> >>> >>>> >> sure this is working well. >> >>> >>>> >> >> >>> >>>> >> On Mon, Jul 9, 2012 at 2:07 PM, sasinda rukshan >> >>> >>>> >> <[email protected]> wrote: >> >>> >>>> >>> Hi Thomas, >> >>> >>>> >>> The issue with the build was solved by reverting back to >> >>> >>>> >>> older >> >>> >>>> >>> version of >> >>> >>>> >>> jayway android maven plugin. This seems not the correct >> >>> >>>> >>> option, >> >>> >>>> >>> but >> >>> >>>> >>> it >> >>> >>>> >>> works now. :-). >> >>> >>>> >>> >> >>> >>>> >>> Thanks >> >>> >>>> >>> Regards. >> >>> >>>> >>> Sasinda. >> >>> >>>> >>> >> >>> >>>> >>> On Mon, Jul 9, 2012 at 12:51 PM, sasinda rukshan >> >>> >>>> >>> <[email protected]>wrote: >> >>> >>>> >>> >> >>> >>>> >>>> Hi Thomas, >> >>> >>>> >>>> >As you want, was just a suggestion to make it easier. >> >>> >>>> >>>> > Not >> >>> >>>> >>>> > sure >> >>> >>>> >>>> > how >> >>> >>>> >>>> >XWord deal with macros. >> >>> >>>> >>>> >> >>> >>>> >>>> Well actually I did not use code macro there. Just copy >> >>> >>>> >>>> pasted >> >>> >>>> >>>> from >> >>> >>>> >>>> eclipse ;-). Less work it was!. >> >>> >>>> >>>> >> >>> >>>> >>>> >From what I can see this is not a real issue. >> >>> >>>> >>>> Yes, its not a real issue. >> >>> >>>> >>>> >> >>> >>>> >>>> >> >>> >>>> >>>> >> >>> >>>> >>>> > I need >> >>> >>>> >>>> > to finish something before 4.2M1, will try to look at >> >>> >>>> >>>> > it >> >>> >>>> >>>> > after >> >>> >>>> >>>> > that. >> >>> >>>> >>>> >> >>> >>>> >>>> No problem. Don't be distracted with this. I am trying a >> >>> >>>> >>>> workaround, >> >>> >>>> >>>> to >> >>> >>>> >>>> copy the needed jars with maven-dependancy plugin.(I >> >>> >>>> >>>> upgraded >> >>> >>>> >>>> maven >> >>> >>>> >>>> to >> >>> >>>> >>>> 3.0.4. also) . I will try more and hopefully get this >> >>> >>>> >>>> thing >> >>> >>>> >>>> done. It >> >>> >>>> >>>> is not >> >>> >>>> >>>> halting my development because I can build with eclipse. >> >>> >>>> >>>> Thanks for offering me help. :-). >> >>> >>>> >>>> >> >>> >>>> >>>> Best Regards. >> >>> >>>> >>>> >> >>> >>>> >>>> >> >>> >>>> >>>> >> >>> >>>> >>>> On Mon, Jul 9, 2012 at 12:37 PM, Thomas Mortagne < >> >>> >>>> >>>> [email protected]> wrote: >> >>> >>>> >>>> >> >>> >>>> >>>>> On Mon, Jul 9, 2012 at 6:35 AM, sasinda rukshan >> >>> >>>> >>>>> <[email protected]> wrote: >> >>> >>>> >>>>> > Hi, >> >>> >>>> >>>>> > Thanks for the info. >> >>> >>>> >>>>> > I did it using XWord . I will do some more >> >>> >>>> >>>>> > documentation >> >>> >>>> >>>>> > after >> >>> >>>> >>>>> > reaching >> >>> >>>> >>>>> the >> >>> >>>> >>>>> > milestone 3( security module). That documentation is >> >>> >>>> >>>>> > not >> >>> >>>> >>>>> > enough >> >>> >>>> >>>>> > to give >> >>> >>>> >>>>> the >> >>> >>>> >>>>> > whole picture. Need to separate the API how to s, >> >>> >>>> >>>>> > from >> >>> >>>> >>>>> > the >> >>> >>>> >>>>> > design >> >>> >>>> >>>>> > and architecture descriptions.So the documentation >> >>> >>>> >>>>> > will >> >>> >>>> >>>>> > get >> >>> >>>> >>>>> > changed in >> >>> >>>> >>>>> the >> >>> >>>> >>>>> > future. Is it ok if I edit the formatting later at >> >>> >>>> >>>>> > that >> >>> >>>> >>>>> > time?. >> >>> >>>> >>>>> >> >>> >>>> >>>>> As you want, was just a suggestion to make it easier. >> >>> >>>> >>>>> Not >> >>> >>>> >>>>> sure >> >>> >>>> >>>>> how >> >>> >>>> >>>>> XWord deal with macros. >> >>> >>>> >>>>> >> >>> >>>> >>>>> > >> >>> >>>> >>>>> > By the way the maven build of the android project is >> >>> >>>> >>>>> > currently >> >>> >>>> >>>>> > having >> >>> >>>> >>>>> the >> >>> >>>> >>>>> > following issue. >> >>> >>>> >>>>> > >> >>> >>>> >>>>> > >> >>> >>>> >>>>> > >> >>> >>>> >>>>> > >> >>> >>>> >>>>> > http://code.google.com/p/maven-android-plugin/issues/detail?id=266 >> >>> >>>> >>>>> >> >>> >>>> >>>>> From what I can see this is not a real issue. Also note >> >>> >>>> >>>>> that >> >>> >>>> >>>>> it's >> >>> >>>> >>>>> working well with the other application >> >>> >>>> >>>>> (xwiki-android-client). >> >>> >>>> >>>>> I >> >>> >>>> >>>>> need >> >>> >>>> >>>>> to finish something before 4.2M1, will try to look at >> >>> >>>> >>>>> it >> >>> >>>> >>>>> after >> >>> >>>> >>>>> that. >> >>> >>>> >>>>> >> >>> >>>> >>>>> > I am trying to resolve it, but still not successful. >> >>> >>>> >>>>> > The >> >>> >>>> >>>>> > build >> >>> >>>> >>>>> > works in >> >>> >>>> >>>>> > eclipse. >> >>> >>>> >>>>> > Currently I have implemented the functionality for >> >>> >>>> >>>>> > saving >> >>> >>>> >>>>> > and >> >>> >>>> >>>>> > loading >> >>> >>>> >>>>> back >> >>> >>>> >>>>> > xwiki document model. It is working fine. >> >>> >>>> >>>>> > (We can save, load , list documents stored in the >> >>> >>>> >>>>> > system). I >> >>> >>>> >>>>> > have >> >>> >>>> >>>>> stopped >> >>> >>>> >>>>> > development until the maven build issue is solved. >> >>> >>>> >>>>> > >> >>> >>>> >>>>> > Thanks. >> >>> >>>> >>>>> > Regards. >> >>> >>>> >>>>> > >> >>> >>>> >>>>> > >> >>> >>>> >>>>> > >> >>> >>>> >>>>> > On Sun, Jul 8, 2012 at 11:11 PM, Thomas Mortagne >> >>> >>>> >>>>> > <[email protected]>wrote: >> >>> >>>> >>>>> > >> >>> >>>> >>>>> >> On Sun, Jul 8, 2012 at 2:53 PM, sasinda rukshan >> >>> >>>> >>>>> >> <[email protected]> wrote: >> >>> >>>> >>>>> >> > Hi, >> >>> >>>> >>>>> >> > I updated the documentation for XWiki Android >> >>> >>>> >>>>> >> > project >> >>> >>>> >>>>> >> > at, >> >>> >>>> >>>>> >> > >> >>> >>>> >>>>> >> > >> >>> >>>> >>>>> >> > http://dev.xwiki.org/xwiki/bin/view/Design/XWikiAndroid. >> >>> >>>> >>>>> >> > >> >>> >>>> >>>>> >> > Sorry for the little formatting errors. >> >>> >>>> >>>>> >> >> >>> >>>> >>>>> >> You should use code macro instead of setting your >> >>> >>>> >>>>> >> own >> >>> >>>> >>>>> >> styling. >> >>> >>>> >>>>> >> >> >>> >>>> >>>>> >> > >> >>> >>>> >>>>> >> > Thanks >> >>> >>>> >>>>> >> > Sasinda. >> >>> >>>> >>>>> >> > _______________________________________________ >> >>> >>>> >>>>> >> > devs mailing list >> >>> >>>> >>>>> >> > [email protected] >> >>> >>>> >>>>> >> > http://lists.xwiki.org/mailman/listinfo/devs >> >>> >>>> >>>>> >> >> >>> >>>> >>>>> >> >> >>> >>>> >>>>> >> >> >>> >>>> >>>>> >> -- >> >>> >>>> >>>>> >> Thomas Mortagne >> >>> >>>> >>>>> >> >> >>> >>>> >>>>> > _______________________________________________ >> >>> >>>> >>>>> > devs mailing list >> >>> >>>> >>>>> > [email protected] >> >>> >>>> >>>>> > http://lists.xwiki.org/mailman/listinfo/devs >> >>> >>>> >>>>> >> >>> >>>> >>>>> >> >>> >>>> >>>>> >> >>> >>>> >>>>> -- >> >>> >>>> >>>>> 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 >> >>> >>>> >> >>> >>>> >> >>> >>>> >> >>> >>>> -- >> >>> >>>> Thomas Mortagne >> >>> >>> >> >>> >>> >> >>> >> >> >>> > >> >>> > >> >>> > >> >>> > -- >> >>> > Thomas Mortagne >> >>> >> >>> >> >>> >> >>> -- >> >>> Thomas Mortagne >> >> >> >> >> > >> > >> > >> > -- >> > Thomas Mortagne >> >> >> >> -- >> Thomas Mortagne > >
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
-- Thomas Mortagne
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
participants (2)
-
sasinda rukshan -
Thomas Mortagne