1

From Activator UI, I generated a new play application play-angularjs-webapp-seed. This application contains three modules modules/db, modules/common and modules/users.

When I generate an Eclipse project using sbt eclipse, and import it into Eclipse, I can see only db in projects list.

However there are two other projects common and users which are not being show.

What am I doing wrong? Please advise.

ADDITION:

I've been experiencing a similar issue with the Gilt Groupe Play Application Template. As I write, it is a multi-module Play 2.2 application that has 3 modules: core, web, svc.

It compiles just fine, and activator can run the application. The sbt-idea plugin generates the IntelliJ project files just fine. However, when I run sbt eclipse at the root directory of the template, the plugin only generates the Eclipse project files for core, but not for web or svc, even though the build.sbt clearly defines the modules.

Has anyone else experienced an issue with sbteclipse?

Alan
  • 7,066
  • 5
  • 30
  • 38
tuxdna
  • 8,257
  • 4
  • 43
  • 61

2 Answers2

1

If you're using activator, activator does not currently support more than one project, so that may be part of the issue. You'll have to wait for the next big release of activator, as we're working on lifting this restriction.

jsuereth
  • 5,604
  • 40
  • 40
0

I was able to make make multiple modules for the Play Akka Angular WebSocket template and get sbteclipse to generate project files for each sbt project.

You will probably need to convert your build.sbt file into a project/Build.scala file.

Follow the instructions under Adding a simple library sub-project to add a second module.

Alan
  • 7,066
  • 5
  • 30
  • 38