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
Hello. I am trying to contribute to this plugin https://github.com/scalapb/scalapb-pants and make it a little bit more IDEA friendly. Right now, it is not possible to import it in the IDEA 2020.1.3 with Pants plugin 1.15.1
If I comment out all the Scala BUILD definitions (leaving only the Python ones cause I want all the syntax highlighting there to redefine custom targets definitions for V1 & V2), I am getting the following error
No target roots found in build graph. Please make sure Pants export version >= 1.0.9
Output of ./pants export :: provides some Python targets though
if I uncomment Scala BUILD definitions back, I am getting this
FAILURE: Modulizable targets must not contain any synthetic target, but in this case the following synthetic targets depend on other non-synthetic modules:
{ScalaLibrary(.pants.d/gen/scalapb-gen/9c44cc2743fa/examples.simple.dep_proto/current:examples.simple.dep_proto), ScalaLibrary(.pants.d/gen/scalapb-gen/9c44cc2743fa/examples.simple.simple_proto/current:examples.simple.simple_proto), ScalaLibrary(.pants.d/gen/scalapb-gen/9c44cc2743fa/examples.client.client_proto/current:examples.client.client_proto), ScalaLibrary(.pants.d/gen/scalapb-gen/9c44cc2743fa/examples.grpc.service_proto/current:examples.grpc.service_proto)}
One approach that may help is to reduce the scope of the import to further avoid synthetic targets.
everything is working fine from the console though (I am unable to compile and run the example project using ./pants run examples/simple:main command)
The text was updated successfully, but these errors were encountered:
Hello. I am trying to contribute to this plugin https://github.com/scalapb/scalapb-pants and make it a little bit more IDEA friendly. Right now, it is not possible to import it in the IDEA 2020.1.3 with Pants plugin 1.15.1
If I comment out all the Scala BUILD definitions (leaving only the Python ones cause I want all the syntax highlighting there to redefine custom targets definitions for V1 & V2), I am getting the following error
Output of
./pants export ::
provides some Python targets thoughpants.toml
that I am using now looks likeif I uncomment Scala BUILD definitions back, I am getting this
everything is working fine from the console though (I am unable to compile and run the example project using
./pants run examples/simple:main
command)The text was updated successfully, but these errors were encountered: