Announcement Announcement Module
No announcement yet.
Grails Project Not Including src/java in Build Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Grails Project Not Including src/java in Build

    When I do grains run-app from within an STS Grails project it isn't compiling and including some files I have in src/java for some reason.

    I have a ServletFilter located in src/java that it does include, but I'm using a plugin that adds the ServletFilter to the DD. That works fine.

    I have two other Java classes in src/java that get ignored. I have one in a package and when I do grails run-app it builds the package structure (meaning I see it when I look in ~/.grails/1.2.1/projects/blah/resources) but the package directory structure is empty.

    I stuck another Java class in the default package since that's where my ServletFilter is (it'll be moved eventually but I'm just screwing around with things at this point), and again the ServletFilter gets included fine but the other Java class in the default package is ignored.

    When I do grails war everything is included in the war file

    I checked my .classpath file and there is a classpathentry for src/java and there are no exclusions.

    Any ideas? Thanks.