-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Compatibility with Maven projects (ceylon-maven-plugin)? #10
Comments
The plugin checks for the presence of a The Ceylon plugin is able to add Ceylon features to J2SE and Module projects, I suppose it would be feasible to add Ceylon features to Maven projects as well. BTW could you please paste the whole stack trace associated to the error above? |
Interesting. I had no idea how these things worked. This the exception's stack trace:
|
Under the hood, plugins can register a ProjectFactory to help NetBeans decide what kind of in-memory representation should be created when it loads a project from disk. If multiple project factories return Regarding the stack trace, I'm tempted to consider this as a bug, because the plugin should simply skip the error highlighting part on non-Ceylon projects that contain Ceylon files. This issue is both a bug and a feature request :) |
Time ago, I don't remember where, I read that NetBeans was better designed internally than Eclipse, with regard to plug-ins. I guess that what you comment is one of the reasons for that. Because when I mix plug-ins for several languages in Eclipse, usually they end "exploding" on my face :P . Indeed, I'm trying to mix ceylon-maven-plugin and ceylon-ide-eclipse, and I'm having some serious problems. I've to open a bug report for that project, by the way.
Agreed. Thank you for your detailed explanations ;) . |
exception.log
Hello:
When I open a Maven project that uses the ceylon-maven-plugin, NetBeans throws the following exception (I've attached the full stack trace at the top of this report):
I guess that it's because the ceylon-ide-netbeans plug-in doesn't recognize this project as an authentic Ceylon project.
Would it be complicated/risky to enable the features of your plug-in with Maven projects, provided that they also contain a
.ceylon
directory? Would this feature qualify them as true Ceylon projects? I've tried to add a.ceylon/config
file, but the plug-in still throws the error. What does the plug-in use for the detection?There's a TypeScript plug-in for NetBeans, called nbts, that uses the existence of a
tsconfig.json
file as a sign that the project contains TypeScript files, and that it must analyse them. This allows the usage of TypeScript code in other type of projects, such as ones of Java/Maven or HTML5. Maybe the Ceylon plug-in could do something similar? Taking into account that ceylon-maven-plugin is able to keep the Maven and Ceylon descriptors in synchronization, Would it be a plausible idea?Thank you!
The text was updated successfully, but these errors were encountered: