Announcement

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

    #16
    When I enter to https://www.smartclient.com/builds/index.jsp I see the RealTimeMessagingModule, so it can be downloaded by a SEPARATE file.
    So maybe I am just missing this file?
    As I use maven, I always download the latest release using:
    Code:
    mvn isc:install -Dproduct=SMARTGWT -Dlicense=POWER -DbuildNumber=5.1p -DbuildDate=2016-03-22
    So maybe I am missing this to download the MessagingModule ? How to download it ?

    Comment


      #17
      Ok, now I am using:
      Code:
      mvn isc:install -Dproduct=SMARTGWT -Dlicense=POWER -DincludeMessaging=true -DbuildNumber=5.1p -DbuildDate=2016-03-22
      to download, seems to work.

      But I am still getting errors when trying to use the module: (the BOLD are the changes)
      Code:
      <inherits name="com.smartgwtee.SmartGwtEENoScript" />
          <inherits
              name="com.smartclient.theme.enterpriseblue.EnterpriseBlueResources" />
          [B]<inherits name="com.smartgwt.RealtimeMessagingNoScript"/>[/B]
      Code:
      <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Core.js"></script>
          <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Foundation.js"></script>
          <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Containers.js"></script>
          <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Grids.js"></script>
          <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Forms.js"></script>
          <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_RichTextEditor.js"></script>
          <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Calendar.js"></script>
          <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_DataBinding.js"></script>
          <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/skins/EnterpriseBlue/load_skin.js"></script>
          <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Drawing.js"></script>
          <script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_Charts.js"></script>
          [B]<script type="text/javascript" language="javascript" src="${gwtDirectory}/sc/modules/ISC_RealtimeMessaging.js"></script> [/B]
      Error:
      Code:
      [INFO] --- gwt-maven-plugin:2.6.1:run-codeserver (default-cli) @ kids ---
      [INFO] auto discovered modules [com.axeiya.gwtckeditor.Gwtckeditor, de.mks_infofabrik.kids.Kids]
      [INFO] workDir: /var/folders/pp/ljv9tf9s48b18zwfd799c6240000gn/T/gwt-codeserver-5258537129207510055.tmp
      [ERROR] SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      [ERROR] SLF4J: Defaulting to no-operation (NOP) logger implementation
      [ERROR] SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      [INFO] binding: user.agent=safari
      [INFO] binding: compiler.useSourceMaps=true
      [INFO] binding: locale=en
      [INFO] Compiling module com.axeiya.gwtckeditor.Gwtckeditor
      [INFO]    Compiling 1 permutation
      [INFO]       Compiling permutation 0...
      [INFO]       Source Maps Enabled
      [INFO]    Compile of permutations succeeded
      [INFO] Linking into /var/folders/pp/ljv9tf9s48b18zwfd799c6240000gn/T/gwt-codeserver-5258537129207510055.tmp/com.axeiya.gwtckeditor.Gwtckeditor/compile-1/war/gwtckeditor; Writing extras to /var/folders/pp/ljv9tf9s48b18zwfd799c6240000gn/T/gwt-codeserver-5258537129207510055.tmp/com.axeiya.gwtckeditor.Gwtckeditor/compile-1/extras/gwtckeditor
      [INFO]    Link succeeded
      [INFO]    Compilation succeeded -- 5,134s
      [INFO] Compile completed in 5540 ms
      [INFO] Loading inherited module 'de.mks_infofabrik.kids.Kids'
      [INFO]    Loading inherited module 'com.smartgwt.RealtimeMessagingNoScript'
      [INFO]       [ERROR] Unable to find 'com/smartgwt/RealtimeMessagingNoScript.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
      [INFO]    [ERROR] Line 7: Unexpected exception while processing element 'inherits'
      [INFO] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:328)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:497)
      [INFO]     at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      [INFO]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [INFO]     at java.lang.reflect.Method.invoke(Method.java:606)
      [INFO]     at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:230)
      [INFO]     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:294)
      [INFO]     at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      [INFO]     at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      [INFO]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      [INFO]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      [INFO]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      [INFO]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      [INFO]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      [INFO]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      [INFO]     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      [INFO]     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      [INFO]     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:347)
      [INFO]     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$200(ReflectiveParser.java:68)
      [INFO]     at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:418)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:346)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:267)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:210)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:170)
      [INFO]     at com.google.gwt.dev.codeserver.Recompiler.loadModule(Recompiler.java:214)
      [INFO]     at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:105)
      [INFO]     at com.google.gwt.dev.codeserver.ModuleState.<init>(ModuleState.java:58)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.makeModules(CodeServer.java:120)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:95)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:71)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:49)
      [INFO]    [ERROR] Failure while parsing XML
      [INFO] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
      [INFO]     at com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException(DefaultSchema.java:58)
      [INFO]     at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66)
      [INFO]     at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66)
      [INFO]     at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:240)
      [INFO]     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:294)
      [INFO]     at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      [INFO]     at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      [INFO]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      [INFO]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      [INFO]     at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      [INFO]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      [INFO]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      [INFO]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      [INFO]     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      [INFO]     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      [INFO]     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:347)
      [INFO]     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$200(ReflectiveParser.java:68)
      [INFO]     at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:418)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:346)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:267)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:210)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:170)
      [INFO]     at com.google.gwt.dev.codeserver.Recompiler.loadModule(Recompiler.java:214)
      [INFO]     at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:105)
      [INFO]     at com.google.gwt.dev.codeserver.ModuleState.<init>(ModuleState.java:58)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.makeModules(CodeServer.java:120)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:95)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:71)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:49)
      [INFO]    [ERROR] Unexpected error while processing XML
      [INFO] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
      [INFO]     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:371)
      [INFO]     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$200(ReflectiveParser.java:68)
      [INFO]     at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:418)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:346)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:267)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:210)
      [INFO]     at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:170)
      [INFO]     at com.google.gwt.dev.codeserver.Recompiler.loadModule(Recompiler.java:214)
      [INFO]     at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:105)
      [INFO]     at com.google.gwt.dev.codeserver.ModuleState.<init>(ModuleState.java:58)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.makeModules(CodeServer.java:120)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:95)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:71)
      [INFO]     at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:49)
      [ERROR] com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
      [ERROR]     at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:349)
      [ERROR]     at com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:267)
      [ERROR]     at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:210)
      [ERROR]     at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromResources(ModuleDefLoader.java:170)
      [ERROR]     at com.google.gwt.dev.codeserver.Recompiler.loadModule(Recompiler.java:214)
      [ERROR]     at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:105)
      [ERROR]     at com.google.gwt.dev.codeserver.ModuleState.<init>(ModuleState.java:58)
      [ERROR]     at com.google.gwt.dev.codeserver.CodeServer.makeModules(CodeServer.java:120)
      [ERROR]     at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:95)
      [ERROR]     at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:71)
      [ERROR]     at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:49)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 14.255 s
      [INFO] Finished at: 2016-03-23T23:13:54+01:00
      [INFO] Final Memory: 41M/736M
      Last edited by edulid; 23 Mar 2016, 14:15.

      Comment


        #18
        It looks like you solved the first part of your problem - missing the includeMessaging flag.

        GWT is complaining the file still isn't there - have you checked whether you successfully downloaded the messaging.jar, and it made it into your project. Also, is it readable by your IDE (for example, sometimes people make the mistake of leaving a file as readable only by the root user on a Linux machine)?

        Comment


          #19
          When downloading via:
          Code:
           
           mvn isc:install -Dproduct=SMARTGWT -Dlicense=POWER -DincludeMessaging=true -DbuildNumber=5.1p -DbuildDate=2016-03-22
          I see the messaging.zip being downloaded. Then I see the following : /Users/myUser/.m2/repository/com/isomorphic/smartgwt/power/smartgwt-messaging/5.1-p20160325/smartgwt-messaging-5.1-p20160325.jar This file (and the other files in this directory) are readable by all: -rw-r--r-- So what can I do next?

          Comment


            #20
            Looks like you've declared a dependency on the server component (isomorphic-messaging) instead of the client (smartgwt-messaging). Change your dependency to:

            Code:
            <dependency>
                <groupId>com.isomorphic.smartgwt.power</groupId>
                <artifactId>smartgwt-messaging</artifactId>
                <version>${smartgwt.version}</version>
            </dependency>

            Comment

            Working...
            X