Open marklester opened 8 years ago
Try adding the import manually:
import "org.apache.commons:commons-lang3" "3.4";
And run with --flat-classpath
. I still have to check why it doesn't work but it may unblock you.
I checked "Use a flat classpath" in the ide and still the same problem.
That's weird, can you try from the command-line? In theory with that option it should not even use jboss modules at all.
ceylon compile --flat-classpath
Note: Created module test.examples.ceylon.postgres/1.0.0
Note: Created module examples.ceylon.postgres/1.0.0
then
ceylon test test.examples.ceylon.postgres/1.0.0
same error
No, use the flag on Ceylon run ;)
Ah good point, perhaps we forgot to add it to Ceylon test...
I don't have a run yet. I wanted to start with tests
Damn, I forgot to add it to the test tool indeed. Meanwhile try it with the run
tool, possibly by running the test tool manually:
print("Test results: ``createTestRunner([`module`], []).run()``);
I haven't tried it so not sure it will work as is, but it should be close enough, right @thradec?
awesome. Are you still going to figure out why it dies without the --flat-classpath argument?
yeah just moved the test into a run and it kicked the can further down the road. Thanks for the help
module.xml:
stack trace when I try to run the test