Building SocialPM

Splash Forums SocialPM Users Building SocialPM

This topic contains 20 replies, has 3 voices, and was last updated by  Lincoln Baxter III 5 years, 5 months ago.

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #18303

    Ove Ranheim
    Participant

    Hi,

    I tried to build SocialPM yesterday, but without success. Can I find build instructions anywhere?

    Ove

    #22410

    Hey Oranheim,

    There should be build instructions in the README.md file, but more-or-less, you just need to do the following:

    cd socialpm/
    mvn clean install
    cp socialpm-gwt/target/socialpm-gwt.war $DEPLOYMENTS_DIR

    Wherever your deployments directory may be.

    Alternatively, you can run this build once, then open the projects in eclipse using Google Plugins for Eclipse and M2Eclipse (Just don’t run “Project Clean” because it will delete the built GWT javascript and you’ll have to run the entire socialpm-gwt module build again.)

    Right now the project is begging for help in the UI – I haven’t been able to port much from JSF to GWT yet, but if you’d like to help, I’d love it!

    Sorry it’s not in a better state.

    ~Lincoln

    #22411

    Also, I believe it only runs on AS7 currently.

    #22412

    Ove Ranheim
    Participant

    Hi Lincoln,

    I successfully deployed it now. I just started in a new job, so I’m out of hours. The SocialPM is in intriguing demonstration of use with regards to Seam 3 and Rewrite.

    Why do you chose to use GWT and not JSF?

    Ove

    #22413

    Lessa Lucas
    Participant

    Hi Lincoln,

    I’m from Brazil

    I tried to Build SocialPM today, but without success too.

    In this file README, I received this text “You must agree to the terms defined in LICENCE and COPYING before continuing.”

    I’d love to help you in this project.

    Hugs

    See you soon.

    #22414

    Hey Ove, that’s fantastic! Glad to know you got it working – looking forward to working on it if you are game :)

    I chose GWT because I was tired of spending all my time working around JSF bugs. Now, even though I have to start over using GWT, I am happier with the results and programming model / architecture.

    Also, the Errai project is particularly interesting to me. Yeah… I think Rewrite was pretty interesting here as well.

    #22415

    Hey Lessa!

    It sounds like you read the Parent README, where you should instead be looking is the GWT module, here: https://github.com/ocpsoft/socialpm/tree/master/gwt

    Looking forward to having help! If either of you want something to work on, and are looking for an idea, I’d be glad to lay out some tasks you can get started with. There is a lot to be done!

    ~Lincoln

    #22416

    Lessa Lucas
    Participant

    Hey Lincoln,

    I tried running the following command “mvn gwt:run” in the terminal in the sub-directory C:Documents and Settingssysplan.lucaslessagitsocialpmgwt But the following error occurs that is attached.

    #22417

    Yes. This is because you need to build the entire project *before* you run the GWT devmode server. You don’t have the SocialPM JPA module in your local maven repository, so this exception is excpected.

    I’ll update the instructions with this information.

    #22418

    The instructions have been updated – please note they are now located in the root of the project to avoid the same confusion you ran in to :)

    https://github.com/ocpsoft/socialpm

    #22419

    Lessa Lucas
    Participant

    Thanks Lincoln,

    It worked perfectly.

    I have a question.

    What is the supported database for this application?

    This queryes in attached are correct?

    [attachment=3123,20]

    #22420

    Hi,

    Yes the queries should be correct. I’m not sure why you are seeing that error. The query you’re referencing is actually not used yet, but it will be soon :) If it does turn out to be incorrect, no worries, we can just fix it!

    Currently the application supports HSQLDB in memory, but this is changeable by modifying persistence.xml.

    The production database support will most likely be MySQLdb.

    ~Lincoln

    #22421

    Lessa Lucas
    Participant

    Hi Lincoln,

    This problem occurs when I try to run the deploy, look the attachments.

    Sorry to be bothering you.

    [attachment=3134,22]

    #22422

    LOL! That’s a new one… undeploy the sources ;) I don’t know why that would happen, but it’s not related to the project itself.

    #22423

    Lessa Lucas
    Participant

    Lincoln, could you send me your project compressed. Do you use the eclipse IDE?

    send to landradelessa@gmail.com, please.

Viewing 15 posts - 1 through 15 (of 21 total)

You must be logged in to reply to this topic.

Comments are closed.