I have been having trouble getting SCAN to work with with my setup - I am running Debian Jessie, 64-bit, with openjdk 7.
The first problem I had was with the precompiled version, which was that I got a numberformat exception, identical to the one detailed in this post. I Googled this, and found a solution here. No problem - I can do that. So I picked up the source through SVN and changed the offending line - which is line 227 in the current version, I believe, rather than line 206, and tried to compile it.
Unfortunately, when I tried to compile it, I got a complaint from ant that it couldn't find Launch4jTask. Now, mighty Google informs me that Launch4j is a windows application, and I am running Debian, so I was not surprised that it could not be found. I opened up build.properties, and found the launch4j line under the windows installer settings, but no obvious way to stop it trying to build for windows. Am I missing something really obvious? As a disclaimer, I don't really have much experience with ant (this may be obvious from the above).
Any input would be greatly appreciated. Thank you for reading!
--Cass
Last edit: cass-m 2014-04-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The sourcecode tree on SVN did not contain 3rd-party JARs. Those include launch4.jar required for Ant (even if Windows installer task is not used).
I commited all (I think) JAR dependencies to the trunk. Please update and test.
NB: On Linux, you need "ant dist" to build a simple zipped distribution in the "dist" directory. Only "dist-full" task builds the Windows installer (this should work in Linux as well if wine is installed).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi folks,
I have been having trouble getting SCAN to work with with my setup - I am running Debian Jessie, 64-bit, with openjdk 7.
The first problem I had was with the precompiled version, which was that I got a numberformat exception, identical to the one detailed in this post. I Googled this, and found a solution here. No problem - I can do that. So I picked up the source through SVN and changed the offending line - which is line 227 in the current version, I believe, rather than line 206, and tried to compile it.
Unfortunately, when I tried to compile it, I got a complaint from ant that it couldn't find Launch4jTask. Now, mighty Google informs me that Launch4j is a windows application, and I am running Debian, so I was not surprised that it could not be found. I opened up build.properties, and found the launch4j line under the windows installer settings, but no obvious way to stop it trying to build for windows. Am I missing something really obvious? As a disclaimer, I don't really have much experience with ant (this may be obvious from the above).
Any input would be greatly appreciated. Thank you for reading!
--Cass
Last edit: cass-m 2014-04-10
hi,
The sourcecode tree on SVN did not contain 3rd-party JARs. Those include launch4.jar required for Ant (even if Windows installer task is not used).
I commited all (I think) JAR dependencies to the trunk. Please update and test.
NB: On Linux, you need "ant dist" to build a simple zipped distribution in the "dist" directory. Only "dist-full" task builds the Windows installer (this should work in Linux as well if wine is installed).