dcaoyuan/nbscala

SBT Project can not have ancestor directory called "src"

Opened this issue · 1 comments

This seems odd.

~/development/personal/src/valid-sbt-project 

will not be recognized as an SBT project by NB because the valid-sbt-project sits in a parent folder called "src".
I know this was discussed on the NBSBT project site. But thought I would raise the issue here to get input from others. I would think that build.sbt would be the recursive ancestor lookup - like pom.xml is with maven projects. But I am new to scales and sbt so I;m probably wrong. :) Sorry if this is not an issue but wanted to raise it just in case.

Agreed. I opened #97 with the same issue and then closed it thinking I was perhaps the only person crazy enough to put my projects under a directory called "src". :)

I did try removing the check for "src" ancestor directories. It worked okay for sbt projects, but I think there were issues when opening Maven Scala projects such as nbscala.