Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not handle /src/main/webapp #8

Open
michaelajr opened this issue Apr 28, 2014 · 2 comments
Open

does not handle /src/main/webapp #8

michaelajr opened this issue Apr 28, 2014 · 2 comments

Comments

@michaelajr
Copy link

Should probably be able to see "Web Pages" in my project view, as I do with a Maven project.

@michaelpigg
Copy link

I agree that how nbsbt/nbscala handles Scala web apps is a weakness. Play apps have an unusual directory structure and are essentially unsupported in that neither the Scala code nor the web code is displayed in the project view. An app with Scala code in the usual location but that also has web pages, which sounds like what @michaelajr is describing does not show the web portion of the app.

I think a step in the right direction would be to add anything that's in the src folders that's not already recognized (Scala code, resources, etc.) under a generic "other sources" node so that you can at least see and open them without resorting to the File tab.

@michaelajr
Copy link
Author

Good idea @michaelpigg. That would help. But I also think that if the project is an SBT project, and there is a src/main/webapp directory - the Project View might as well show it as a "Web Pages" node (a la a Maven project). SBT seems kind of Mavenish in that aspect having a specific convention/location for the web part of a project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants