[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sw360-dev] lb-datahandler build on native (no vagrant etc)
|
Hi,
No, I struggled with a different error. I worked around it by going back from docker to vagrant setup for now.
Didn't see the error you're getting. My thrift version is 0.9.3.
Cheers,
Alex
-----Ursprüngliche Nachricht-----
Von: sw360-dev-bounces@xxxxxxxxxxx [mailto:sw360-dev-bounces@xxxxxxxxxxx] Im Auftrag von Jaeger, Michael C.
Gesendet: Dienstag, 24. Januar 2017 15:15
An: sw360-dev@xxxxxxxxxxx
Betreff: [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
_______________________________________________
sw360-dev mailing list
sw360-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sw360-dev