from ceylon, I put into my module descriptor:
```
import maven:"com.kjetland:mbknor-jackson-jsonschema_2.11" "1.0.8";
```
This seems to work, but now I'm stuck writing the import statement in
the Ceylon source file.
```
import "com.kjetland:mbknor-jackson-jsonschema_2.11" {
JsonSchemaGenerator
}
```
does not work: Error:(22, 8) ceylon: incorrect syntax: no viable
alternative at token '"com.kjetland:mbknor-jackson-jsonschema_2.11"'
How can I use a class from a maven repository?
Thanks,
Dirk
Dirk Lattermann
unread,
Oct 18, 2016, 5:33:52 PM10/18/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ceylon...@googlegroups.com
Argh, sorry for the noise. I was using the wrong module descriptor.
I can now import the class as expected by using the package name in the
import statement as usual.
Am Tue, 18 Oct 2016 22:59:56 +0200
schrieb Dirk Lattermann <dl...@alqualonde.de>: