build from Source

JMTM8 years ago

Hi everyone. First time here.

I've setup a server using the provided binaries from traccar.org for linux 64bit. No problem. Working without any problem in my test server.

Then I cloned the source to net beans..compiled, and produced the tracar-server.jar.

Copied the file to the server...and when trying to start the server does not start anymore.

If I try RUN from net-beans, it does work localy. (compiling under windows)

I presume there is some difference from the binaries provided and the source.

What can be the problem ?

Many thanks

Anton Tananaev8 years ago

Of course there are differences. Some major changes have been made since last stable release.

You have two options:

  1. You can build from a tag if you want to build off last stable release
  2. You can build from master branch, but then you have to update configuration file
JMTM8 years ago

Many Thanks Anton.

I will try to update the configuration file. I presume it will be similar to the one in debug.xml.

Anton Tananaev8 years ago

Yes. Note that master branch might not be stable because it's work-in-progress codebase.

JMTM8 years ago

Understand...Im' very interested in the Geofence features..Hope it does not take long :)
I'm playiing around with twilio, so to see if I can incorporate SMS in traccar.

Anton Tananaev8 years ago

Geofencing might be ready very soon. One of the developers is working on it.

lovish8 years ago

Waiting for the Geofencing Feature. Hope it is coming out soon :)