Errai: The browser as a platform

Wednesday, March 20, 2013

Maven Cordova Plugin

As you may already know, we are also focusing on making mobile applications with Errai. We have something that will make your life really easy. Inspired by the Cordova CLI, we have created something similar that is Maven based.

How does it work

You want to create a Cordova based Errai project, then all you have to do is add this plugin to your maven build. The plugin will create a config.xml in your project folder. In this configuration file you can set settings, like icon and application name. After that, performing a build will copy the generated web files into the Cordova platforms and these will get built.
Now you have integrated mobile platform builds into your regular release cycle. You can run the simulator with the generated binaries all out of your maven project.

Installation

Create an Errai project with one of the archetypes and add the following to your pom Now when you perform a maven install your Android and iOS projects also get built. To see the result of that in the simulator, you just use a simple maven command:
mvn cordova:emulator -Dplatform=android
This will start the Android emulator for your project.
It's still work in progress, but if you want to become an early adopter, just put this repo in your pom and you are ready to go Let me know what you think of it and what kind of features you would like to see in there.

12 comments:

  1. Hi,
    I would like to try it today but after following these steps I get this error message:
    [INFO]
    [INFO] --- cordova-maven-plugin:1.0-SNAPSHOT:emulator (default-cli) @ bbuster ---
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 1.611s
    [INFO] Finished at: Wed May 01 11:49:43 CEST 2013
    [INFO] Final Memory: 8M/112M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.jboss.errai:cordova-maven-plugin:1.0-SNAPSHOT:emulator (default-cli) on project bbuster: Execution default-cli of goal org.jboss.errai:cordova-maven-plugin:1.0-SNAPSHOT:emulator failed: The directory /home/boo/projects/errai/bbuster/target/template/platforms/android/cordova does not exist -> [Help 1]
    [ERROR]

    ReplyDelete
  2. I'm very happy being Herpes free now. It was a sad incident that was announced to me after the check up in the hospital and I was diagnosed of HSV 2. I thank God now for using Dr.odey Abang to cure my virus. I'm not ashamed to say this because no virus of such can be detected in me. I'm Charlotte from Columbia. I thought about it many Times when I heard about this Herbal cures for Herpes. I was really happy when I came across blogs of comments of Doctors who run cures sicknesses and was comfortable to try Dr. Abang from patients testimony I came across here on my online page. I knew now they are real Africa herbalists who run cures for Herpes. There's every opportunity to be cure with natural herbs, because all medical prescriptions are derived from herbs and roots. Its really hard time living with Herpes on drugs which can't get you cure. I tried this and I can boost of myself now as a woman. I need to be loved not to lost, get your instant cure to all sicknesses from Dr, Odey Abang.
    He cures HSV,HPV,Cancer,low spam count and much more from the evidence I saw 💯 % sure no site effects with active immune booster

    Email him for you cure
    Odeyabangherbalhome@gmail.com
    WhatsApp/calls
    +2349015049094

    ReplyDelete
  3. Nothing is not possible in this word.
    Herpes I cried out for 8moths had a cure and was making use of the Medication that never wanted a life living on drugs, I applied Antibiotics, he prescribed for me the acyclovir(Zovirax), famciclovir (Famvir), andvalacyclovir (Valtrex).
    They never get me cured.
    My God keep blessing you and your Family. Dr
    ODEY ABANG, your a powerful Herbalist fir your work in my life
    I wish you know how I feel inside me when I was making use of does tablets that never could there get me cured. I had to search about some of my favourite blogs when I thought about Dr Odey abang from the testimonies of patients and I remember a friend who told me I should try Dr. Odey Abang herbal medicine. He told me the man can cure me,but was shy and feel its dirty taking in herbs made with African herbalists.
    You need to know I would have been cured before now since I knew him then, but still interested in letting you that was my punishment.
    Thanks reading my article, feel good and not make my mistake, I love testimonies and explanations of the new beginning is all I hope for
    Think about your live and use herbs to get you cured of your challenge on
    HIV/Aids
    SYPHILIS
    DIABETES
    CANCER
    ALL CAN BE CURED WITH MANY OTHERS BY DR. ODEY ABANG
    His email is for you so you speak to him

    Odeyabangherbalhome@gmail.com
    WhatsApp number +2349015049094

    ReplyDelete
  4. HOW I GOT CURED OF HERPES DISEASE
    I'm here to testify about what DR. OSO did for me. I have been suffering from (HERPES) disease for the past 5 years and had constant pain,especially inside my body. During the first year,I had faith in God that i would be healed someday. This disease started circulating all over my body and i have been taking treatment from my doctor, few weeks ago i came across a testimony of one lady on the internet testifying about a Man called DR. OSO on how he cured her from herpes disease. And she also gave the email address of this man and advise anybody to contact him for help for any kind of sickness that he would be of help.so I emailed him telling him about my (HERPES) he told me not to worry that i was going to be cured!! Well i never believed it,, well after all the procedures and remedy given to me by this man few weeks later i started experiencing changes all over me as DR. OSO assured me that i will be cured,after some time. i went to my doctor to confirmed if i have be finally healed behold it was TRUE,the test came out negative. So friends my advise is if you have such sickness or any other at all you can contact DR. OSO for help.

    mail} drosohaberhome@gmail.com

    WhatsApp /call +2348162084839

    https://sites.google.com/view/drosohaberhome/

    His blog pagehttps://drosohaberhome.blogspot.com

    https://www.facebook.com/drosoherbalhome/

    you can also email me for more information about DR oso via smithmorgan2777@gmail.com ALL THANK TO DR OSO .

    ReplyDelete
  5. Its a pleasure for me to write this testimony about how i got my Diabetes type 1 cured a month ago. i have been reading so many comments of some people who were cured from various diseases by dr ovia but i never believed them. I was hurt and depressed so I was too curious and wanted to try DR. Ovia then i contacted him through his email when i contact him, he assured me 100% that he will heal me, i pleaded with him to help me out. My treatment was a great success, he healed me just as he promised. he sent me his medication and ask me to go for check up after 2 weeks of taking the medication. i agreed with him i took this medication and went for check up , to my greatest surprise my result was negative after the treatment, i am really happy that i am cured and healthy again. I have waited for 7days to be very sure i was completely healed before writing this testimony. I did another  test one week ago and it was still negative. so i guess its time i recommend anyone going through diabetes Herpes HSV-1 or HSV-2, HIV, HPV, Hepatitis B,Cancer reach him through his ig link @droviaherbalhome or on whatsapp +2348117923986 his emails address droviaherbalhome@gmail.com

    ReplyDelete
  6. Is any one here suffering from any kind of STD or STI ? , Now this is to everyone out there with different health challenges, as I know there are still a lot of people suffering from different health issues and are therefore looking for solution. I bring you Good news. There is a man called Dr. Tokubo a herbal practitioner who helped cure me from Genital herpes, this i had suffered from for the past 2years and have spent so much money trying to survive from it. I got my healing by taking the herbal medicine he sent to me to drink for about 9days . 3days after completion of the dosage, I went for a medical checkup and I was tested Genital Herpes NEGATIVE. I'm sharing this so that other people can know of this great healer called Dr Tokubo because I got to know him through a friend he cured from HIV. I was made to understand that he can cure several other deadly diseases and infections. Don't die in ignorance and don't let that illness take your life. Contact Dr. Tokubo through: drtokubotemple@gmail.com You can also call/whatsapp him on:+2349037990322 Thank you dr tokubo. Be kind enough to share your testimonies as you received your cure.he is good too to cure all type of disease and virus.1 HIV cure
    2 cancer
    3 diabetes
    4 hepatitis
    5 herpes.
    You can contact him if you are having any disease or infection problem...

    ReplyDelete
  7. Happiness is all I see now I never thought that I will be cured from HERPES virus again. I have been suffering from a deadly disease (HERPES) for the past 4 years now, I have spent a lot of money going from one place to another, from church to church, hospitals have been my home every day. Constant checks up have been my hobby not until this fateful day, I was searching through the internet, I saw a testimony on how DR Omongbe helped someone in curing his HERPES disease, quickly I copied his email which is dromongbenaturalremedies@gmail.com just to give him a test I spoke to him, he asked me to do some certain things which I did, he told me that he is going to provide the herbal cure to me, which he did, then he asked me to go for medical checkup after some days after using the herbal cure, behold I was free from the deadly disease, he only asked me to post the testimony through the whole world, faithfully am doing it now, please brothers and sisters, he is great, I owe him in return. if you are having a similar problem just email him on ( dromongbenaturalremedies@gmail.com ) or you can whatsApp his mobile number on +2348050407265 Visit his website https://dromongbenaturalre.wixsite.com/dromongbenaturalreme

    ReplyDelete
  8. Getting rib of Herpes virus wasn't easy, I came across Dr voodoo on how he
    has cured so many people from herpes and other illness so I decided to give
    him a try, now am permanently cured using the natural herbs medication and
    cleansing supplement sent by Dr voodoo no more herpes, contact Dr voodoo
    WhatsApp number +2348140120719 also e-mail him at:
    voodoospelltemple66@gmail.com

    ReplyDelete
  9. All thanks to Dr Alli for curing my herpes virus/hpv with his herbal medicine, i do not have much to say but with all my life i will forever be grateful to him and God Almighty for using Dr Alli to reach me when i thought it was all over, today i am happy with my life again after the medical doctor have confirmed my HERPES SIMPLEX VIRUS / HPV of 5 is gone,i have never in my life believed that HERPES SIMPLEX VIRUS could be cured by herbal medicine. so i want to use this means to reach other persons who have this disease by testifying the power of Dr Alli that all hope is not lost yet, try and contact him by any means for any kind of disease with his email: ( Allispellhelp1@gmail.com ) or his whatsapp number +2348100772528 and get your healing

    ReplyDelete