importing a SBT project with a custom xxBuild.scala file in its project/ subdirectory?

Does the EAP15 scala plugin support importing a SBT project with a custom xxBuild.scala file in a project/ subdirectory?
For example, is it possible to create a project by importing:  https://github.com/debasishg/frdomain, the repo from Debasish's new 'Functional and Reactive Domain Modeling' book.
Or is it that the plugin only supports a build.sbt file in the project root directory and not a xxBuild.scala file in a project/ subdirectory?


Many thanks,

Lee
5 comments
Comment actions Permalink

I am having the same problem my project/Build.scala is not being recognized with the latest 15.x build it works fine in 13.x.

to follow up this does work great in 14.x I also tried on a play2 sample template. It is all broken on this import aswell https://github.com/webjars/sample-play2 So it is not isolated to Build.scala but also build.sbt aswell.

0
Comment actions Permalink

I experienced this problem as well since the last 2 updates; the latest being: IC-142.4675.2 with Scala 1.8.209.

To solve this problem, I uninstalled the Scala plugin and installed a version from a couple of updates ago that worked. I tried 1.8.139.9 which seems to work
(i.e., SBT refresh and import works as it used to)

- Nicolas.

0
Comment actions Permalink

Yes, it is possible to import SBT project with project/xxBuild.scala file. The project you attached imports well in the latest IDEA EAP + Scala plugin nightly.

0
Comment actions Permalink

What particular problem do you have when trying to import sample-play2 project? Are there some errors? Could you please attach IDEA logs?

0
Comment actions Permalink

Thanks Nikolay,

Switching to the latest nightly scala plugin inside v15 EAP fixes the issue.
Previously when it didn't work -  there were no errors reported in the IDE, but the projects dependant libraries were not setup.

Regards,

Lee

0

Please sign in to leave a comment.