Announcement

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

    #31
    Originally posted by dbscott525 View Post
    Should I ignore this if I'm using 3.1P?
    Yes, exactly.

    Comment


      #32
      270 or 680

      Originally posted by bbruyn View Post
      Staged an update that addresses the POI dependency. New staging URL is

      Code:
      <url>https://oss.sonatype.org/content/repositories/comgooglecodesmartgwt-maven-plugin-270/</url>
      I'm a little confused by this. In the first post you wanted us to use the 270 plugin. In a later post you said you had updated it to the 608 plugin. Which on should we used?
      Last edited by dbscott525; 19 Feb 2013, 19:12. Reason: corrected 680 to 608

      Comment


        #33
        You should find that there is only one staging repo. i.e., 608 no longer exists, as it was replaced by 270 a few posts later. The instructions in the first post was updated to reflect that.

        On another note, I don't feel like I'm getting a lot of feedback one way or the other. If nothing changes in the next week or 2, I'm just going to deploy it to Central and be done with it.

        Comment


          #34
          version3.1-p20130219 or 3.1

          I have in my pom.xml

          <smartgwt.version>3.1</smartgwt.version>

          When I run the application it complains that it cannot find several .jar files such as com.isomorphic.smartgwt:smartgwt-eval:jar:3.1. In the Maven repository there are jar files such as smartgwt-eval-3.1-p20130219.jar.

          If I change the version to

          <smartgwt.version>3.1-p20130219</smartgwt.version>

          It works correctly.

          How can I correct this? Will I have to update the version every day for the daily build?

          Comment


            #35
            Yes, you would need to use a version that Maven knows about. You will have to update the version every time you want to use a new version.

            Comment


              #36
              OK. Thanks. How can I find out what versions are available?

              Originally posted by bbruyn View Post
              Yes, you would need to use a version that Maven knows about. You will have to update the version every time you want to use a new version.
              OK. Thanks. How can I find out what versions are available?

              Comment


                #37
                repetitive Maven steps

                Every time I build with the recommended pom.xml the following stuff happens:

                Code:
                [INFO] --- smartgwt-maven-plugin:3.1:prepare (prepare) @ SC01 ---
                [INFO] Unpacking 'C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\download\smartgwt-eval.zip' to 'C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked'
                [INFO] Repackaging client javadoc...
                [INFO] Repackaging server javadoc...
                [INFO] Copying documentation to 'C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\LATEST' for convenience...
                [INFO] Directory contains at least one POM already, skipping pom extraction. Set overwrite.poms = true to change this behavior.
                [INFO] 
                [INFO] <<< smartgwt-maven-plugin:3.1:install (default-cli) @ SC01 <<<
                [INFO] 
                [INFO] --- smartgwt-maven-plugin:3.1:install (default-cli) @ SC01 ---
                [INFO] Scanning directory 'C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked' for distribution...
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isc-jakarta-oro.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isc-jakarta-oro\3.1-p20130219\isc-jakarta-oro-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isc-jakarta-oro.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isc-jakarta-oro\3.1-p20130219\isc-jakarta-oro-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_assembly.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-assembly\3.1-p20130219\isomorphic-assembly-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_assembly.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-assembly\3.1-p20130219\isomorphic-assembly-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_compression.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-compression\3.1-p20130219\isomorphic-compression-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_compression.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-compression\3.1-p20130219\isomorphic-compression-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_contentexport.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-content-export\3.1-p20130219\isomorphic-content-export-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_contentexport.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-content-export\3.1-p20130219\isomorphic-content-export-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_core_rpc.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-core-rpc\3.1-p20130219\isomorphic-core-rpc-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_core_rpc.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-core-rpc\3.1-p20130219\isomorphic-core-rpc-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\doc\javadoc-server.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-core-rpc\3.1-p20130219\isomorphic-core-rpc-3.1-p20130219-javadoc.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_hibernate.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-hibernate\3.1-p20130219\isomorphic-hibernate-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_hibernate.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-hibernate\3.1-p20130219\isomorphic-hibernate-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\doc\javadoc-server.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-hibernate\3.1-p20130219\isomorphic-hibernate-3.1-p20130219-javadoc.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_jpa.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-jpa\3.1-p20130219\isomorphic-jpa-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_jpa.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-jpa\3.1-p20130219\isomorphic-jpa-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\doc\javadoc-server.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-jpa\3.1-p20130219\isomorphic-jpa-3.1-p20130219-javadoc.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_js_parser.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-js-parser\3.1-p20130219\isomorphic-js-parser-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_js_parser.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-js-parser\3.1-p20130219\isomorphic-js-parser-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_messaging.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-messaging\3.1-p20130219\isomorphic-messaging-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_messaging.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-messaging\3.1-p20130219\isomorphic-messaging-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\doc\javadoc-server.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-messaging\3.1-p20130219\isomorphic-messaging-3.1-p20130219-javadoc.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_spring.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-spring\3.1-p20130219\isomorphic-spring-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_spring.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-spring\3.1-p20130219\isomorphic-spring-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_sql.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-sql\3.1-p20130219\isomorphic-sql-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_sql.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-sql\3.1-p20130219\isomorphic-sql-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\doc\javadoc-server.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-sql\3.1-p20130219\isomorphic-sql-3.1-p20130219-javadoc.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_struts.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-struts\3.1-p20130219\isomorphic-struts-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_struts.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-struts\3.1-p20130219\isomorphic-struts-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_tools.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-tools\3.1-p20130219\isomorphic-tools-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_tools.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-tools\3.1-p20130219\isomorphic-tools-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\doc\javadoc-server.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-tools\3.1-p20130219\isomorphic-tools-3.1-p20130219-javadoc.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\smartgwt-analytics.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\smartgwt-analytics\3.1-p20130219\smartgwt-analytics-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\smartgwt-analytics.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\smartgwt-analytics\3.1-p20130219\smartgwt-analytics-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\smartgwt-eval.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\smartgwt-eval\3.1-p20130219\smartgwt-eval-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\smartgwt-eval.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\smartgwt-eval\3.1-p20130219\smartgwt-eval-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\smartgwt-messaging.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\smartgwt-messaging\3.1-p20130219\smartgwt-messaging-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\smartgwt-messaging.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\smartgwt-messaging\3.1-p20130219\smartgwt-messaging-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\doc\javadoc-client.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\smartgwt-messaging\3.1-p20130219\smartgwt-messaging-3.1-p20130219-javadoc.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\smartgwt-skins.jar to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\smartgwt-skins\3.1-p20130219\smartgwt-skins-3.1-p20130219.jar
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\smartgwt-skins.pom to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\smartgwt-skins\3.1-p20130219\smartgwt-skins-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\dependencygroup-batik.xml to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\dependencygroup-batik\3.1-p20130219\dependencygroup-batik-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\dependencygroup-pdfexport.xml to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\dependencygroup-pdfexport\3.1-p20130219\dependencygroup-pdfexport-3.1-p20130219.pom
                [INFO] Installing C:\Users\Bruce\AppData\Local\Temp\smartgwt-maven-plugin\EVAL\3.1p\2013-02-19\unpacked\isomorphic_network.xml to C:\Users\Bruce\.m2\repository\com\isomorphic\smartgwt\isomorphic-network\3.1-p20130219\isomorphic-network-3.1-p20130219.pom
                [INFO] ------------------------------------------------------------------------
                This takes several seconds. I don't really know what's going on but it seems like it may be unnecessarily repetitive.

                Any ideas?

                Comment


                  #38
                  single dependency

                  Sorry for all my posts but I'm pretty new at this.

                  Is there any plans to have a single dependency that will drag in the rest of the dependencies so we don't have such a cluttered pom.xml file?

                  Also, are all the dependencies needed for every application? If not, how can we tell which dependencies we actually need?

                  Comment


                    #39
                    • The versions that are available are the versions you've made available by running the plugin. Check https://www.isomorphic.com/builds to find a listing of the nightly builds the plugin can download and install for you.
                    • There is no "recommended POM" AFAIK so I have no idea what you're referring to.
                    • The plugin's install goal is supposed to do an install, so it's not clear what you mean by "build" or "unnecessarily repetitive". It sounds a lot like you don't really understand what this plugin is meant to do.
                    • Which dependencies you need depend on what features you're trying to use. If you don't know, you might find the archetype useful for experimentation. Search for more info about that.


                    If you have other questions about the plugin itself, this thread is a good place for them. New threads might get you further with other questions. Either way, it sounds like you might benefit from slowing down a bit and doing a little reading before you go any further.

                    Comment


                      #40
                      Originally posted by bbruyn View Post
                      • The versions that are available are the versions you've made available by running the plugin. Check https://www.isomorphic.com/builds to find a listing of the nightly builds the plugin can download and install for you.
                      • There is no "recommended POM" AFAIK so I have no idea what you're referring to.
                      • The plugin's install goal is supposed to do an install, so it's not clear what you mean by "build" or "unnecessarily repetitive". It sounds a lot like you don't really understand what this plugin is meant to do.
                      • Which dependencies you need depend on what features you're trying to use. If you don't know, you might find the archetype useful for experimentation. Search for more info about that.


                      If you have other questions about the plugin itself, this thread is a good place for them. New threads might get you further with other questions. Either way, it sounds like you might benefit from slowing down a bit and doing a little reading before you go any further.
                      Thank you for your reply and patience. I really appreciate all the effort you have put into this discussion thread. You’re obviously very knowledgeable of Maven and smartclient.

                      Here are some responses and clarifications:
                      • What I meant by the recommended POM is the POM you posted at the beginning of the thread. In other words, your recommended POM.
                      • What I’m used to with other Maven INSTALLs is that once various JARs are downloaded it doesn’t do anything new the next time I run the same INSTALL. In the case of this POM and plugin it seems to extract something from a ZIP file, rebuild documentation, and other things. I was just wondering why it does this every time I run the install.
                      • I’m referring to dependencies such as Spring, Hibernate, or HSQLDB that I’m not directly using at the moment. I understand that you needed these dependencies for the showcase app. My initial application is not as complex so I was wondering if I actually needed all the dependencies that the showcase app needs.
                      • In regards to slowing down and reading something, recently I have been doing more reading than coding. What I was trying to do was to get a simple smartclient app to run that was built using Maven. Once I do that it will be easier to learn how all the smartclient widgets work. I’m very new to smartclient but have been using Maven for a little while. I have found it difficult to get a simple demo app to work and everything I have read so far doesn’t provide A-Z methods. Posting questions to discussion threads seems to be the only resource available for when I seem to be blocked on something. If you have any recommended reading suggestions I would greatly appreciate it. Unfortunately, I don’t have the luxury of slowing down. I’m in a 3-person startup and our forward progress depends on me getting the first prototype out.


                      Thank you for all your help!

                      Comment


                        #41
                        Originally posted by dbscott525 View Post
                        What I meant by the recommended POM is the POM you posted at the beginning of the thread. In other words, your recommended POM.
                        That thing is in no way a recommendation, or even a realistic example of what you would do in a typical application (sql, hibernate, jpa, and tools?). It's an example and is labeled as such. I wouldn't try to adapt my own pom from it any more than I would use the showcase itself as a starting point for a new project (which you are warned against doing in a number of places).

                        What I’m used to with other Maven INSTALLs is that once various JARs are downloaded it doesn’t do anything new the next time I run the same INSTALL.
                        I suppose what you mean is that project dependencies are downloaded once, and only if they cannot be found in the local repo? That's not the same thing at all... Run mvn install:install-file and see what happens (the install goal was adapted directly from the install-file mojo).

                        In the case of this POM and plugin it seems to extract something from a ZIP file, rebuild documentation, and other things. I was just wondering why it does this every time I run the install.
                        I don't know how this is confusing. The plugin runs again because you've asked it to run it again. Run it once for any nightly build you like and then stop. You do understand that the plugin has nothing to do with the example pom (or your project's pom) except that it installs an artifact that you can then reference?

                        I’m referring to dependencies such as Spring, Hibernate, or HSQLDB that I’m not directly using at the moment. I understand that you needed these dependencies for the showcase app. My initial application is not as complex so I was wondering if I actually needed all the dependencies that the showcase app needs.
                        No, you only need what you need. If you don't know what that is, start with smartgwt-eval and isomorphic-sql.

                        In regards to slowing down and reading something, recently I have been doing more reading than coding. What I was trying to do was to get a simple smartclient app to run that was built using Maven. Once I do that it will be easier to learn how all the smartclient widgets work. I’m very new to smartclient but have been using Maven for a little while. I have found it difficult to get a simple demo app to work and everything I have read so far doesn’t provide A-Z methods.
                        This is what the archetype was meant to help with, but I'm afraid it might confuse you more than anything else. You could try it, or just adapt a sample (e.g., builtinds) to run under Maven. That should really take about 5 minutes.

                        Posting questions to discussion threads seems to be the only resource available for when I seem to be blocked on something. If you have any recommended reading suggestions I would greatly appreciate it. Unfortunately, I don’t have the luxury of slowing down. I’m in a 3-person startup and our forward progress depends on me getting the first prototype out.
                        Suit yourself, but understand that everyone else is busy too. Read all the links referenced in this thread (esp in post#1), all the links referenced from those links, the QuickStart quide, the FAQ, and browse the docs package for whatever looks interesting to you. (e.g., the setup guide and the official dependencies doc)

                        Comment


                          #42
                          dbscott, since you know little about Maven and you are just learning SmartGWT, may we suggest you follow the readmes and installation instructions provided with SmartGWT (none of which mention or recommend Maven) and revisit Maven when / if you discover a specific need for it?

                          Comment


                            #43
                            Feedback on plugin

                            Hi Bill. Thanks for you efforts with the plugin. I've successfully used it to deploy 3.1 Pro.

                            Comment


                              #44
                              Hello,

                              during my initial test of the plugin I encounter a login error to smartclient.com:

                              Code:
                              [INFO] --- smartgwt-maven-plugin:3.1:download (download) @ standalone-pom ---
                              [DEBUG] Configuring mojo com.googlecode.smartgwt-maven-plugin:smartgwt-maven-plugin:3.1:download from plugin realm ClassRealm[plug
                              in>com.googlecode.smartgwt-maven-plugin:smartgwt-maven-plugin:3.1, parent: sun.misc.Launcher$AppClassLoader@601bb1]
                              [DEBUG] Configuring mojo 'com.googlecode.smartgwt-maven-plugin:smartgwt-maven-plugin:3.1:download' with basic configurator -->
                              [DEBUG]   (f) build = 3.1p
                              [DEBUG]   (f) buildDate = 2013-03-14
                              [DEBUG]   (f) buildUrl = http://www.smartclient.com/builds/SmartGWT/3.1p/
                              [DEBUG]   (f) folder = ...
                              [DEBUG]   (f) loginUrl = http://www.smartclient.com/devlogin/login.jsp
                              [DEBUG]   (f) logoutUrl = http://www.smartclient.com/logout.jsp
                              [DEBUG]   (f) overwrite = false
                              [DEBUG]   (f) password = ...
                              [DEBUG]   (f) username = ...
                              [DEBUG] -- end configuration --
                              [INFO] Authenticating to 'http://www.smartclient.com/devlogin/login.jsp' with username: '...'
                              [INFO] ------------------------------------------------------------------------
                              [INFO] BUILD FAILURE
                              [INFO] ------------------------------------------------------------------------
                              [INFO] Total time: 1.531s
                              [INFO] Finished at: Thu Mar 14 15:53:17 CET 2013
                              [INFO] Final Memory: 4M/15M
                              [INFO] ------------------------------------------------------------------------
                              [ERROR] Failed to execute goal com.googlecode.smartgwt-maven-plugin:smartgwt-maven-plugin:3.1:download (download) on project stand
                              alone-pom: Error during POST request for authentication: Unknown host www.smartclient.com -> [Help 1]
                              org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.googlecode.smartgwt-maven-plugin:smartgwt-maven
                              -plugin:3.1:download (download) on project standalone-pom: Error during POST request for authentication
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                                      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
                                      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
                                      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
                                      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
                                      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
                                      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
                                      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
                                      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
                                      at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                      at java.lang.reflect.Method.invoke(Method.java:597)
                                      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
                                      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
                                      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
                                      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
                              Caused by: org.apache.maven.plugin.MojoExecutionException: Error during POST request for authentication
                                      at com.googlecode.smartgwtmavenplugin.mojo.DownloadMojo.login(DownloadMojo.java:179)
                                      at com.googlecode.smartgwtmavenplugin.mojo.DownloadMojo.execute(DownloadMojo.java:109)
                                      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
                                      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
                                      ... 27 more
                              Caused by: java.net.UnknownHostException: www.smartclient.com
                                      at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
                                      at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:850)
                                      at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
                                      at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
                                      at java.net.InetAddress.getAllByName(InetAddress.java:1084)
                                      at java.net.InetAddress.getAllByName(InetAddress.java:1020)
                                      at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
                                      at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:278)
                                      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162)
                                      at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
                                      at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
                                      at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
                                      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
                                      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
                                      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
                                      at com.googlecode.smartgwtmavenplugin.mojo.DownloadMojo.login(DownloadMojo.java:176)
                                      ... 30 more
                              I need to use a proxy to connect to the Internet which is well defined in in the settings.xml. Does your plugin is using the maven proxy informations ?

                              Comment


                                #45
                                Originally posted by 238759 View Post
                                I need to use a proxy to connect to the Internet which is well defined in in the settings.xml. Does your plugin is using the maven proxy informations ?
                                Sadly, I hadn't even considered proxies. I'll see about getting that fixed up ASAP. Until then, you can work around it by downloading the archive/s manually and dropping it/them on

                                ${java.io.tmpdir}/smartgwt-maven-plugin/${license}/3.1p/2013-03-14/download

                                before running the install goal as usual.

                                Comment

                                Working...
                                X