Can't build Paho Java project [message #1176773] |
Fri, 08 November 2013 09:47  |
Eclipse User |
|
|
|
Hi,
I'm very interested in the MQTT protocol and Paho seems to be the reference implementation.
I'm getting the source code on Eclipse (I need the source, not precompilated library) with the following git url:
git://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.java.git
but both master and develop can't be compiled.
I receive several errors like for example
-ClientComms cannot be resolved to a variable
I'm trying with a Mac and Fedora machines, using Java 7 libraries.
Any suggestion on how can I build the sources? Maybe is it a Java Runtime issue?
Thanks
Valerio
|
|
|
|
|
|
Re: Can't build Paho Java project [message #1176973 is a reply to message #1176920] |
Fri, 08 November 2013 12:35   |
Eclipse User |
|
|
|
Hi Andy,
thanks for your reply!
I've used your commands and I confirm that source code is downloaded and built.
But now, how can I open it into Eclipse, read, modify and rebuild it?
If I perform the following steps:
- open eclipse (kepler, java7 installed, fedora linux)
- import -> existing proj into workspace
- selecting the org.eclipse.paho.mqtt.java folder (the folder downloaded and built with your commands)
- 3 projs are found (mqttv3, mqttv3/internal/traceformat, mqttv3app)
- finish
---> 2022 errors found, for example:
Assert cannot be resolved
AfterClass cannot be resolved
BeforeClass cannot be resolved
ClientComms cannot be resolved
Thanks for your support, it is very important and useful for me.
BR
Valerio
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04471 seconds