It is probably worth noting that the mailing lists from 2016 do effectively advocate a directory other than source for test code. I am guessing it might be worth addressing this to avoid people getting confused.
Gavin King
@gavinking
@bjansen@russel I have been bitten by this one myself — where I thought that marking a folder as a source folder would be enough to add it to the ceylon config
The problem is that there is actually no way to do that via the UI, AFAICT
you have to edit the config file
Bastien Jansen
@bjansen
yep
MikhailMalyutin
@MikhailMalyutin
Hi. Then I try to build the project from IDEA I catch next error: Error:ceylon: An unknown error occurred in the JavaScript backend. See previous messages for more information.
ceylon compile and ceylon compile-js works fine.
Any ideas how to locate what is wrong in my code?
Bastien Jansen
@bjansen
no errors in the Message window?
Bastien Jansen
@bjansen
so I finally took the time to release the long awaited 1.3.2-1 to make it work on IntelliJ 2017.1
it's awaiting mod approval, as usual :/
and I guess I need to make another release for 2017.2 with this commit ceylon/ceylon-ide-intellij@1e8263c
not sure how we can make 1.3.3 work on versions < 2017.2 though :(
unless we maintain separate branches for all those non compatible API changes
Meai1
@Meai1
hey, just starting out. How do I add a herd package to my project in Intellij? I'm trying out ceylon.json, but when I added it from the maven repo into lib/ it didnt work so I'm figuring that ceylon somehow needs an extra step?
Stéphane Épardaud
@FroMage
you just need to import it in the module descriptor
@Jezza what Idea version do you use ? there was a regression with the latest version of Idea. The one I use (2017.2) works well. There's an already-existing issue for this but I don't remember it right now.
Jezza
@Jezza
Yeah, I've been trying to get it working with 2017.3
And I know it doesn't work well, if at all.
David Festal
@davidfestal
so what version do you use now : 2017.2 ?
Jezza
@Jezza
Still using 17.3
But this is compiling the project itself.
David Festal
@davidfestal
The project itself also uses Ceylon
Jezza
@Jezza
While true, the second error is from javac.
David Festal
@davidfestal
so you should also use 2017.2 to build the project itself I assume
Jezza
@Jezza
Yeah, that's what I was gonna do.
David Festal
@davidfestal
yeah, but it might be a side-effect of other errors.
Jezza
@Jezza
True, but javac should be fine.
Although
Hm, might be an issue if ceylon passes the encoding.
Either way, I'll download 17.2
David Festal
@davidfestal
well, if the files are not loaded with the right encoding for example, that might lead to errors in Javac I assume