You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Intellij synchronizes its project configuration with the provided maven pom.xmls. On paper this seems to work alright, but there are two issues.
First one is that NarSystem class isn't available prior calling javah goal atleast once. Since it's put in target/nar/nar-generated, by default intellij does not index that class as target folder is ignored, although you can specify that nar-generated contains sources, it's a redundant step in setting up the project on another machine, but if you were to put generated classes in src/main/gen folder, that folder is indexed by default. How do you specify in your plugin to put the generated NarSystem class into src/main/gen folder?
Second one is that if you were to add a <type>nar</type dependency into another module, Intellij is unable to add classes from that dependency into the module's classpath. So far I'm using the following workaround
But this causes builds to fail as libnativeclock module is in nar format, not jar, which is what maven defaults compilation to. Is there a workaround for the second issue?
Cheers.
The text was updated successfully, but these errors were encountered:
Intellij synchronizes its project configuration with the provided maven pom.xmls. On paper this seems to work alright, but there are two issues.
First one is that
NarSystem
class isn't available prior callingjavah
goal atleast once. Since it's put intarget/nar/nar-generated
, by default intellij does not index that class astarget
folder is ignored, although you can specify thatnar-generated
contains sources, it's a redundant step in setting up the project on another machine, but if you were to put generated classes insrc/main/gen
folder, that folder is indexed by default. How do you specify in your plugin to put the generatedNarSystem
class intosrc/main/gen
folder?Second one is that if you were to add a
<type>nar</type
dependency into another module, Intellij is unable to add classes from that dependency into the module's classpath. So far I'm using the following workaroundBut this causes builds to fail as
libnativeclock
module is innar
format, notjar
, which is what maven defaults compilation to. Is there a workaround for the second issue?Cheers.
The text was updated successfully, but these errors were encountered: