[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
|
[sw360-dev] lb-datahandler build on native (no vagrant etc)
|
Hi,
anyone has experienced this error during build of lib-datahandler?
[INFO] --- maven-thrift-plugin:0.1.11:compile (thrift-sources) @ datahandler ---
[ERROR] thrift failed output:
[ERROR] thrift failed error: [FAILURE:generation:1] Error: unknown option java:hashcode
I am trying to build natively on my machine and there is thrift-0.10.0 installed?
The difficult part for me is that no file does contain "java:hashcode" or just "hashcode" in it. It is actually a default option on the maven plugin:
https://github.com/dtrott/maven-thrift-plugin/blob/master/src/main/java/org/apache/thrift/maven/AbstractThriftMojo.java
I came accross it with adding:
<groupId>org.apache.thrift.tools</groupId>
<artifactId>maven-thrift-plugin</artifactId>
<version>0.1.11</version>
<configuration>
<thriftExecutable>/usr/local/bin/thrift</thriftExecutable>
<generator>java:fullcamel</generator>
</configuration>
<executions>
where java:fullcamel (this not written fullCamel ...) is an arbitrary parameter because it does not seem to work with an empty parameter. But now I get dozens of
[ERROR] symbol: class TSerializable
[ERROR] location: package org.apache.thrift
[ERROR] /Users/sam/Source/sw360portal/libraries/lib-datahandler/target/generated-sources/thrift/org/eclipse/sw360/datahandler/thrift/projects/ProjectService.java:[3180,30] cannot find symbol
...
@alex, is this the error you have seen the recent days?
Kind regards, michael