great-diamond-82230
07/30/2022, 8:55 PMexport-codegen
produces the java:
dist/codegen/src/thrift/thrift_example/thriftjava/Person.java
but with both java and scala enabled, it produces only the scala:
dist/codegen/src/thrift/thrift_example/thriftscala/Person.scala
https://github.com/mgedigian-etsy/pants-jvm-codegen/compare/codegen?expand=1great-diamond-82230
07/30/2022, 8:57 PMClasspathSourceAmbiguity
error. Do they have
separate identifiers I can reference? Or is there a way to explicitly define separate targets in order to obtain separate identifiers?
./pants check src/jvm/org/pantsbuild/example/lib
13:49:13.85 [ERROR] 1 Exception encountered:
ClasspathSourceAmbiguity: More than one JVM classpath provider (CompileJavaSourceRequest, CompileScalaSourceRequest, CoursierFetchRequest, DeployJarClasspathEntryRequest, JvmResourcesRequest) was compatible with the inputs:
* src/thrift:thrift (thrift_sources)
hundreds-father-404
08/01/2022, 4:36 PMfast-nail-55400
08/01/2022, 4:54 PMjava_protobuf_sources
to represent the Java output from generating Java from Protobuf sources).fast-nail-55400
08/01/2022, 4:55 PMfast-nail-55400
08/01/2022, 4:55 PM