[PLAY-2.1-SNAPSHOT] - New module fails to load due to application name text

63 views
Skip to first unread message

brainwatch

unread,
Oct 25, 2012, 2:04:07 AM10/25/12
to play-fr...@googlegroups.com
Hi Players

I'm on 2.1-SNAPSHOT latest and I tried creating a module and got created. But the run command failed to initialize the project. Attaching the steps below for reference.


D:\workspace\playground>play new router
       _            _
 _ __ | | __ _ _  _| |
| '_ \| |/ _' | || |_|
|  __/|_|\____|\__ (_)
|_|            |__/

play! 2.1-SNAPSHOT (using Scala 2.10.0-M7), http://www.playframework.org

The new application will be created in D:\workspace\playground\router

What is the application name?
> MultiModule Router Demo

Which template do you want to use for this new application?

  1             - Create a simple Scala application
  2             - Create a simple Java application
  3             - Create an empty project
  <g8 template> - Create an app based on the g8 template hosted on Github

> 2
OK, application MultiModule Router Demo is created.

Have fun!


D:\workspace\playground>cd router

D:\workspace\playground\router>play
[info] Loading project definition from D:\workspace\playground\router\project
[error] java.lang.ExceptionInInitializerError
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q


The same worked if I use a single word as application name like "MultiModuleRouter" instead of "MultiModule Router Demo".

Is this a known issue or should be raised as an issue ?

thanks
- bw

brainwatch

unread,
Oct 25, 2012, 2:09:15 AM10/25/12
to play-fr...@googlegroups.com
But it seemed to work in the stable versions, though logically the application name is supposed to be single word preferably.

thanks
- bw
Reply all
Reply to author
Forward
0 new messages