GithubHelp home page GithubHelp logo

Comments (12)

branflake2267 avatar branflake2267 commented on July 24, 2024

I've been wondering about this too. Does this happen in GPE too?

from gwt-eclipse-plugin.

dodgex avatar dodgex commented on July 24, 2024

hey i left the office right after opening this issue. if it is ok i'll check on monday on one of our other eclipse installations.

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 24, 2024

I was curious no hurry.

from gwt-eclipse-plugin.

metteo avatar metteo commented on July 24, 2024

I think this might be related to the way how m2e handles src/main/resources. It adds exclude for that src folder. Something like /*. If you remove it, gwt.xmls should be detected.

EDIT: IIRC this is done on purpose because of maven filtering.

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 24, 2024

I forget, the source paths for resources, or any other paths, m2e sets up to excludes by default. I remember thinking this is annoying because I want them included in the build path.

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 24, 2024

Adding some notes. m2e default configuration is to exclude resources directory from the build path.
screen shot 2015-05-18 at 9 03 24 pm

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 24, 2024

https://www.eclipse.org/m2e/documentation/m2e-faq.html - resources are excluded by default can be found here. I should configure the maven builder include these.

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 24, 2024

https://github.com/gwt-maven-plugin/m2e-gwt - could integrate this feature, or use it to solve it...

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 24, 2024

I'll aim to add the lifecycle goals to the import process just for this particular maven plugin.

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 24, 2024

https://github.com/tbroyer/gwt-maven-plugin/blob/master/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml - Broyer's plugin lifecycle...

from gwt-eclipse-plugin.

branflake2267 avatar branflake2267 commented on July 24, 2024

mvn gwt:resources or the resource mojo copies the files into the web-inf/classes directory. This isn't in the classpath so it's a problem still. I did notice that target/generated-sources gets set up as a source folder on a second maven update and if it were copied to this folder could work. m2e-gwt plugin doesn't do much in this case. I'm going to push the priority down on this because there are a couple workarounds in the meantime.

from gwt-eclipse-plugin.

geoffreywiseman avatar geoffreywiseman commented on July 24, 2024

Colleague got bit by this recently -- any change?

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.