Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Yet another SmartGWT Mavenizer

    I know there were at least two previous posts with instructions for 'mavenizing' the SmartGWT builds, but in short, neither of them quite worked for me.

    I modified one of them to the point that I got tired of it and started all over. I'm not sure that I'd do it all again, but I have something now that works for me and should work for anyone else with no modification (consideration has been given to all editions eval through enterprise and including optional modules, but I've only tested with Power and Eval 2.5 and 3.0)

    If there's interest in such a thing, I'm happy to donate it. I'd really like to see it (or something like it) included with the Isomorphic build, but I can put it anywhere... It's not clear to me if it should go up on the wiki, or in the SmartGWT extensions project, or here in the forum. Or if anyone cares. :-)

    I'd have to write up some documentation around it in any case, but for now just know that I can download and install (or deploy to my corporate nexus repo) any available build (nightly or release) with a command like the following:

    mvn clean install -Dversion=3.0 -Dedition=power -Dbuild=nightly -Ddate=2011-12-02 -Danalytics=true -Dmessaging=true -Disc.username=MY_USERNAME -Disc.password=MY_PASSWORD

    Which has been very handy when I'm trying new builds, as I frequently do.

    Thoughts?

    #2
    People definitely care :) And it looks like you've taken this further than other mavenizers of the past. The ideal place for this is the public wiki - self-registration takes just a few seconds. If you take the time to write this up we will definitely link to it pervasively (FAQ, blog, etc).

    Comment


      #3
      First draft here: http://wiki.smartclient.com/display/...+with+SmartGWT

      Is there interest in a Maven archetype to go with it? I have one I've been using myself, but it's a little specific to my own architecture...

      Comment


        #4
        Looks great, thanks for contributing that. A couple of possibly dumb questions:

        1. there doesn't seem be any kind of credentials for the "NEXUS" repo. Is it assumed there's a definition of this repo elsewhere?

        2. could this be used to install into an individual user's local maven cache (.m2) instead of a central corporate repository?

        Comment


          #5
          Oh, you mentioned an archetype. Yes, people have asked about that and would find it useful, even if it was in the form of just a sample of an archetype you're using that they would need to customize for their own project.

          Comment


            #6
            Originally posted by Isomorphic
            1. there doesn't seem be any kind of credentials for the "NEXUS" repo. Is it assumed there's a definition of this repo elsewhere?
            Yes, just use the normal /settings/servers/server definition. Updated the wiki example to include that.

            Originally posted by Isomorphic
            2. could this be used to install into an individual user's local maven cache (.m2) instead of a central corporate repository?
            Yes, definitely. That's what example 2 under Usage is meant to illustrate. Updated the wording there as well.

            Comment


              #7
              I would like to start by saying thank you. It works well installing to my .m2 directory. I am still trying to figure out how to get upload to artifactory to work for me. And the only thing I see missing at this point is the isomorphic tools jar. But all in all this is great work, thank you for sharing.

              Comment


                #8
                Good, I'm glad someone else found it useful.

                Mind if I ask which version and edition you used it with?

                I don't use Artifactory myself, but if you'll provide some detail around the problem you're having at deploy, maybe we can get it sorted out.

                Comment


                  #9
                  I left isomorphic tools out on purpose, actually, because AFAIK it's only used with the Admin console and not something you'd use in a Maven project anyway. Same with isomorphic-webservices, isomorphic-embedded-tomcat, and isomorphic-examples.

                  Comment


                    #10
                    I am using 3.0 power release with messaging. It took me some research as I am new to artifactory but once I got the settings.xml right, I managed to get it up there. Thank you again. I want to be able to use the tools, so I will probably spend some time adding a module for it following your lead.

                    Comment


                      #11
                      In order to be able to create and edit datasources in the visual builder, you need that package. That is my sole use for the visual builder :). It would also be useful if it jar'd the javadocs and pushed them up as well.
                      Last edited by jpappalardo; 8 Dec 2011, 10:37.

                      Comment


                        #12
                        Yeah, I still don't get it, but whatever floats your boat. I actually have a minor change to make myself, so if you can wait I'll see about getting it up there with that.

                        Already wishing this was in some SCM, just like I knew I would....

                        Comment


                          #13
                          I bet if you threw in on github you would find several people that would be happy to contribute to this effort. I think we've all been waiting a long time for a maven solution that actually worked. Until then, I will wait.

                          Comment


                            #14
                            Hey bbruyn, look it's your first customer success ;)

                            jpappalardo, sounds like bbruyn is going to update the wiki with fixes, but feel free to update the wiki page yourself if you find further refinements.

                            Comment


                              #15
                              I went ahead and created a module to add isomorphic-tools.jar. I posted it on the wiki.

                              Comment

                              Working...
                              X