Git Product home page Git Product logo

Comments (8)

branflake2267 avatar branflake2267 commented on May 29, 2024

Thanks for reporting and testing. Could you provide the steps you used to produce that or what are the steps I could do to replicate that?

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on May 29, 2024

Could you provide the project that I could use as a test case?

from gwt-eclipse-plugin.

slavap avatar slavap commented on May 29, 2024

It's not easy, because my current projects are not open source :-(
But I've found the one, which can be used to reproduce this problem.

  1. I'm using the latest Eclipse STS 3.6.4 based on Luna 4.4.2 (just FYI, don't think it's so important).
  2. Clone git: https://github.com/nippur72/Dart.RayTracerDemo.git
  3. Import project to Eclipse (you can safely edit 2.6.1 to 2.7.0 in pom.xml)
  4. GWT Compile.
  5. Right click on javaraytracerdemo -> Debug As -> Web Application (any choice Dev or Superdev)
  6. Error: Could not find any host pages in project javaraytracerdemo.

To workaround the problem:
7. Debug Configuration -> Web Application (right click) -> New
8. Main class is substituted as com.google.gwt.dev.GWTShell, fix it as com.google.gwt.dev.DevMode
9. Also manually add to debug configuration -> Arguments the following: -startupUrl gwt_raytracerdemo.html
Also it could be needed to fix -war parameter there, for me it's c:\user\Documents\myworkspace\Dart.RayTracerDemo\JavaGWT.RayTracerDemo\target\javaraytracerdemo-1.0-SNAPSHOT\WEB-INF\classes

Now you are able to run this project.

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on May 29, 2024

Thank you for working on that. I'll take a look and see if I can squash soon.

from gwt-eclipse-plugin.

slavap avatar slavap commented on May 29, 2024

Thank you for taking care of GPE plugin, it was kind of slow maintained before you, so I'm really happy someone started to pay attention to it, it's very important part of GWT.

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on May 29, 2024

There are two issues here.

  1. The pom.xml gwt-maven-plugin is missing the <module/> definition.
  2. The module is in src/main/resources which is also issue 66, where something is not adding this to the classpath.
<modules>
  <module>io.github.timeu.javagwtraytracerdemo.GWTRayTracerDemo</module>
</modules>

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on May 29, 2024

M2e default configuration for resources directory is to exclude it from the classpath, which creates a problem when the compiler is activated.

screen shot 2015-05-18 at 9 03 24 pm

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on May 29, 2024

I'm going to close this bug as duplicate of Issue 66.

#66

from gwt-eclipse-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.