Open CeylonMigrationBot opened 8 years ago
[@FroMage] 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.
[@marklester] I checked "Use a flat classpath" in the ide and still the same problem.
[@FroMage] That's weird, can you try from the command-line? In theory with that option it should not even use jboss modules at all.
[@marklester]
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
[@FroMage] No, use the flag on Ceylon run ;)
[@FroMage] Ah good point, perhaps we forgot to add it to Ceylon test...
[@marklester] I don't have a run yet. I wanted to start with tests
[@FroMage] 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?
[@FroMage] #2404
[@marklester] awesome. Are you still going to figure out why it dies without the --flat-classpath argument?
[@marklester] yeah just moved the test into a run and it kicked the can further down the road. Thanks for the help
[@marklester] module.xml:
stack trace when I try to run the test
[Migrated from ceylon/ceylon-compiler#2403]