[Hawkular-dev] Funny compilation issue on Hawkular? Downgrade to JDK 1.8.0_51 for a minute

Juraci Paixão Kröhling jpkroehling at redhat.com
Fri Oct 16 10:45:34 EDT 2015


Team,

We just had a case today about Hawkular failing to build on my machine 
after updating to a specific version of the Agent. While *this* specific 
issue is going away with a change from Peter, you might still see this 
for a while.

So, if you see a build error on Hawkular related to a compilation issue 
for 
agent/hawkular-dmr-client/src/main/java/org/hawkular/dmr/api/OperationBuilder.java 
, you can just:

- switch to Oracle's or OpenJDK's 1.8.0_51
- cd ~/.m2/dependency-sources/agent
- mvn clean install
- build Hawkular (with whatever JDK you want)

The third step will build the required version of Agent inside srcdep's 
cache directory, effectively bypassing the issue.

- Juca.


More information about the hawkular-dev mailing list