I install all needed packages. So i expect to get something traccar-installer.exe or something like this. But i have faced with a problem
vdovin@probook:~/IdeaProjects/traccar-3.9/setup$ ./package.sh 1.0 Archive: yajsw-stable-12.08.zip creating: yajsw-stable-12.08/ ... inflating: yajsw-stable-12.08/yajsw.policy.txt Sencha Cmd v6.2.1.29 [INF] Compressing data with ClosureCompressor [INF] Writing concatenated output to file /home/vdovin/IdeaProjects/traccar-3.9/traccar-web/web/app.min.js Warning: Unexpected setup data version: 5.5.7 Warning: Unexpected Privileges value: 4 Stream error while parsing setup headers! ├─ detected setup version: 5.5.7 └─ error reason: basic_ios::clear: iostream error If you are sure the setup file is not corrupted, consider filing a bug report at http://innoextract.constexpr.org/issues Done with 1 error and 2 warnings. If you got any errors here try isetup version 5.5.5 (or check supported versions using 'innoextract -v') cp: cannot stat '../target/tracker-server.jar': No such file or directory cp: cannot stat '../target/lib/*': No such file or directory wine: cannot find 'app/ISCC.exe' zip warning: name not matched: Output/traccar-setup.exe updating: README.txt (deflated 54%) rm: cannot remove 'Output': No such file or directory rm: cannot remove 'tmp': No such file or directory dos2unix: converting file out/bin/installDaemon.sh to Unix format ... ... dos2unix: converting file out/templates/launchd.plist.vm to Unix format ... cp: cannot stat '../target/tracker-server.jar': No such file or directory cp: cannot stat '../target/lib/*': No such file or directory /usr/bin/makeself: 328: test: xif: unexpected operator Header is 498 lines long About to compress 28300 KB of data... Adding files to archive named "traccar.run"... ./ ./schema/ ... ./templates/export/summary.xlsx CRC: 3260696497 MD5: d3cefe3af546e2b79d5822d25cf2e747 Self-extractable archive "traccar.run" successfully created. updating: traccar.run (deflated 0%) updating: README.txt (deflated 54%) cp: cannot stat '../target/tracker-server.jar': No such file or directory cp: cannot stat '../target/lib/*': No such file or directory cp: target 'out/templates' is not a directory updating: conf/ (stored 0%) updating: conf/default.xml (deflated 81%) ... updating: web/app.min.js (deflated 80%) rm: cannot remove 'app/': No such file or directory
I think it's a problem with libraries dependencies or no?
Solved, change innosetup version from 5.5.9 to 5.5.5
Finnaly i got installers for different platforms, but i had faced with a problem, that my windows installer don't work. After install traccar through installer i got an error 1053 The service did not respond in a timely fashion" when attempting to start, stop or pause a service. But when i installed traccar.run at my other computer with linux it's work perfectly... So i don't understand what's a problem maybe with build project on Windows... Do you have any assumptions about it?
Check logs.
Folder with log is empty
I can only guess what's wrong. You would have to investigate the issue yourself. You can try to run it manually and see if it works.
What do you mean by "run it manually"?
There is one moment that maybe wrong..
cp: cannot stat '../target/tracker-server.jar': No such file or directory
cp: cannot stat '../target/lib/*': No such file or directory
This message appears for all installers that i create(windows, linux, dos..)
It means that you haven't compiled the server. You should do that first before making an installer.
I hope that i understood what you mean.I work in intelij idea. So i decided to "Build project". But I don't see something like tracker-server.jar or lib folder in target directory http://joxi.ru/Dr8d39ZF4MO1Mr
IntelliJ doesn't build it for you. You have to use maven directly to produce the JAR file.
Intelij could help me to build jar with artifacts, but i don't know what files i need to compress in jar and could i use it in my situation
If you want to use IntelliJ for that, you are on your own. I always use maven, but I'm sure there is a way to do it via IntelliJ as well.
Anyway it's very strange, because linux installer works....
Sure, apologies