Great work Pascal ... I hope I will testdrive it soon.
Daniel
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
>
HiDo I only need to remove C:\play-1.2.1\modules\crudsiena-2.0.0 directory , and re-install it ?Any hidden steps ?Thanks.
I'm trying siena-2.0.0 and crudsiena-2.0.0 test applications. In both
siena and crudsiena "samples and tests" the module path is hardcoded to
/home/pascal/work/mandubian/play/play-1.2.1/modules/siena-2.0.0 and
/home/pascal/work/mandubian/play/play-1.2.1/modules/crudsiena-2.0.0.
And despite that after the editing the path, samples do not compile and
give errors:
00:28:05,280 INFO ~ Module siena is available
(/home/tomas/bin/play/modules/siena-2.0.0)
00:28:05,281 INFO ~ Module crudsiena is available
(/home/tomas/bin/play/modules/crudsiena-2.0.0)
00:28:07,726 WARN ~ You're running Play! in DEV mode
00:28:07,964 INFO ~ Listening for HTTP on port 9000 (Waiting a first
request to start) ...
00:28:33,721 INFO ~ Connected to jdbc:h2:mem:play;MODE=MYSQL
00:28:33,769 DEBUG ~ Siena DB Type: sql:h2:mysql
00:28:33,797 DEBUG ~ Siena DDL Type: mysql
00:28:34,304 DEBUG ~ Siena DDL dev mode: update
00:28:35,074 ERROR ~
@66il108ic
Internal Server Error (500) for request GET /
Oops: NoSuchMethodError
An unexpected error occured caused by exception NoSuchMethodError:
org.apache.ddlutils.Platform.getAlterModelSql(Lorg/apache/ddlutils/model/Database;Lorg/apache/ddlutils/model/Database;)Ljava/lang/String;
play.exceptions.UnexpectedException: Unexpected Error
at play.Invoker$Invocation.onException(Invoker.java:232)
at play.Invoker$Invocation.run(Invoker.java:273)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.NoSuchMethodError:
org.apache.ddlutils.Platform.getAlterModelSql(Lorg/apache/ddlutils/model/Database;Lorg/apache/ddlutils/model/Database;)Ljava/lang/String;
at
play.modules.siena.SienaPlugin.onApplicationStart(SienaPlugin.java:148)
at
play.plugins.PluginCollection.onApplicationStart(PluginCollection.java:408)
at play.Play.start(Play.java:463)
at play.Play.detectChanges(Play.java:563)
at play.Invoker$Invocation.init(Invoker.java:186)
... 1 more
--
Pascal Voitot Dev wrote:
> yes sorry for the hardcoded dirs, this is an old application.conf no
> needed anymore :)
> the important part is in dependencies.yml
>
> did you run "play deps" before running "play run"?
>
> For info, you can see this CRUD example running on
> htp://mandubian-siena.appspot.com/admin
> <http://mandubian-siena.appspot.com/admin>
> <mailto:play-fr...@googlegroups.com>.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com
> <mailto:play-framework%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to
> play-framewor...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/play-framework?hl=en.
--
/bakanis/