Monday, November 17, 2014

Re: SDM with modular-webapp - no client-side debugging possible

In the meantime I found out this:

The app was using a gwt library, which is what I am currently testing. When I comment out the code that uses the library (while leaving the pom as is), it works!

The code is just this:

TestBox t = new TestBox ();
t.show ();
When removing it, debugging works. When not removing it, debugging does not work (see behavior above), but the code works: The TestBox appears on the screen.

Could it be that chrome does not find the library's sources and therefore does not show them?

However, can I increase some logging level so that I can find out what's going on?

For completeness, below is the pom of my library.

Thanks a lot for any hint!
Magnus

-----

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>mvn.test.awi</groupId>
  <artifactId>mvn.test.awi</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>mvn.test.awi</name>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>

      <dependency>
        <groupId>com.google.gwt</groupId>
        <artifactId>gwt-user</artifactId>
        <version>2.7.0-rc1</version>
        <scope>provided</scope>
      </dependency>


  </dependencies>
  
  <build>
      <resources>
      <resource>
        <directory>src/main/java</directory>
        <includes>
          <include>**/*.java</include>
          <include>**/*.gwt.xml</include>
        </includes>
      </resource>
    </resources>
  
  </build>
  
  
</project>

 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment