Announcement

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

    Maven dependency for Realtime messaging.

    I am using maven for smartgwt project and plan to inherit <inherits name="com.smartgwt.RealtimeMessaging" /> however get error that module is not found.

    Loading inherited module 'com.smartgwt.RealtimeMessaging'
    [INFO] [ERROR] Unable to find 'com/smartgwt/RealtimeMessaging.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?


    What is the GAV coordinates for com.smartgwt.RealtimeMessaging. I have the following pom dependencies

    <dependency>
    <groupId>com.isomorphic.smartgwt.power</groupId>
    <artifactId>smartgwt-power</artifactId>
    <version>12.1-p20210626</version>
    </dependency>

    <dependency>
    <groupId>com.isomorphic.smartgwt.power</groupId>
    <artifactId>isomorphic-sql</artifactId>
    <version>12.1-p20210626</version>
    </dependency>
    <dependency>

    <groupId>com.isomorphic.smartgwt.power</groupId>
    <artifactId>isomorphic-messaging</artifactId>
    <version>12.1-p20210626</version>
    </dependency>
    <dependency>

    <groupId>com.isomorphic.smartgwt.power</groupId>
    <artifactId>isomorphic-tools</artifactId>
    <version>12.1-p20210626</version>
    <exclusions>
    <exclusion>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-entitymanager</artifactId>
    </exclusion>
    </exclusions>
    </dependency>


    This is my GWT module


    <inherits name="com.google.gwt.user.User"/>

    <inherits name="com.smartgwt.SmartGwtNoTheme"/>
    <inherits name="com.smartgwt.PluginBridgesWidgets" />

    <inherits name="com.ricoh.theme.securityanalyst.SecurityAnalyst"/>
    <inherits name="com.smartgwtee.SmartGwtEENoTheme"/>
    <inherits name="com.smartgwt.RealtimeMessaging" /> ==> IF I REMOVE THIS LINE IT COMPILES FINE, I AM MISSING THE POM DEPENDENCY , CAN YOU PLEASE SHARE ??
    <inherits name="com.smartgwt.Drawing" />
    <inherits name="com.smartgwt.Charts" />
    <inherits name="com.google.gwt.i18n.I18N"/>
    <inherits name="com.smartgwtee.tools.Tools"/>

    <entry-point class="com..xxx.xxx.xx...somethin..somehting....."/>

    <source path="client" />
    <source path="shared" />



    #2
    If you haven't already done so, install Analytics either by providing ANALYTICS_MODULE to the install goal's license parameter

    Code:
    mvn isc:install -Dlicense=ANALYTICS_MODULE
    or set includeAnalytics=true

    Code:
    mvn isc:install -DincludeAnalytics=true

    Then add the client to your dependency - you have the server (only) there.

    Code:
    <dependency>
        <groupId>com.isomorphic.smartgwt.power</groupId>
        <artifactId>smartgwt-messaging</artifactId>
        <version>12.1-p20210626</version>
    </dependency>
    Last edited by Isomorphic; 11 Jul 2021, 18:11. Reason: Correct copy / pasted coordinates with wrong artifact name

    Comment


      #3
      Thank you for the instructions

      However I get the following error.

      [WARNING] No downloads found at 'www.smartclient.com/builds/SmartGWT/12.1p/AnalyticsModule/'. Response from server:
      <html>
      <head></head>
      <body>
      Build does not exist or your account does not have access to licenses for SmartGWT 12.1 AnalyticsModule. If you believe this is incorrect or you would like to purchase new licenses or upgrades, contact
      <a href="/company/contact.jsp">Isomorphic Sales</a>.
      </body>
      </html>

      I have a Pro Edition License and cannot access analytics module, however I do have a Realtime Messaging License.

      How can I access the RealtimeMessaging Module Maven Dependency without needing Analytics Module License.

      I have access to the Realtime Messaging Module and I can download the jar files, looking for a maven dependency of this module.

      Click image for larger version  Name:	licenseImage.png Views:	0 Size:	80.6 KB ID:	265938

      I can also access and download the follwoing

      Click image for larger version  Name:	RealTimeModule.png Views:	0 Size:	47.1 KB ID:	265939

      Comment


        #4
        Apologies for the thinko there - it should of course be the messaging module, not analytics. So:

        If you haven't already done so, install Messaging either by providing MESSAGING_MODULE to the install goal's license parameter

        Code:
        mvn isc:install -Dlicense=MESSAGING_MODULE
        or set includeMessaging=true

        Code:
        mvn isc:install -DincludeMessaging=true

        Then add the client to your dependency - you have the server (only) there.

        Code:
        <dependency>
            <groupId>com.isomorphic.smartgwt.power</groupId>
            <artifactId>smartgwt-messaging</artifactId>
            <version>12.1-p20210626</version>
        </dependency>

        Comment


          #5
          Thank you so much

          This works now and my maven build completes. Thank you for your time.

          Comment

          Working...
          X