building traccar from source code giving error

ak20159 years ago

Hi,When I compiled the source code to build jar file using package.sh. I am getting following message.

/traccar-master/setup# ./package.sh

output :
USAGE: ./package.sh <version>

It seems it will take any parameter, but nothing any thing mentioned on doc.
I am using ubuntu server. Plz help to resolve this issue.

Anton Tananaev9 years ago

Why do you need installation package?

ak20159 years ago

I made some changes in source code and now I want to deploy my own custom traccar server.

Anton Tananaev9 years ago

The easiest way is just to replace the jar file. Building an installation package is very complicated and required multiple dependencies.

ak20159 years ago

But how can I generate jar file, I am using Netbeans. Can I use the same jar file which was generated when I run the project.
Again Anton thnks for your reply.

Anton Tananaev9 years ago

Yes, you can use the jar file generated by NetBeans.