Failed installations


#1

I am trying to install Scipio on my CENTOS 7 server, java version “1.8.0_171”

I run all the commands as root. I follow the instructions on Scipio webpage:
(1) git clone https://github.com/ilscipio/scipio-erp.git - works fine
(2) cd scipio-erp - works fine
(3) git checkout scipioce-1.14 - works fine
(4) ./install and ./ant clean build && install.sh, get me the following error message:

[javac18] /usr/local/scipio-erp/framework/base/src/org/ofbiz/base/crypto/HashCrypt.java:288: error: cannot find symbol
[javac18] String hashType = UtilProperties.getPropertyValue(“security”, “password.encrypt.hash.type”);
[javac18] ^
[javac18] symbol: variable UtilProperties
[javac18] location: class HashCrypt
[javac18] /usr/local/scipio-erp/framework/base/src/org/ofbiz/base/crypto/Main.java:36: warning: [deprecation] DesCrypt in org.ofbiz.base.crypto has been deprecated
[javac18] System.out.println(Base64.encodeBase64String(DesCrypt.generateKey().getEncoded()));
[javac18] ^
[javac18] /usr/local/scipio-erp/framework/base/src/org/ofbiz/base/util/UtilDateTime.java:1242: warning: [deprecation] setYear(int) in Date has been deprecated
[javac18] public void setYear(int year) {
[javac18] ^
[javac18] /usr/local/scipio-erp/framework/base/src/org/ofbiz/base/util/UtilDateTime.java:1247: warning: [deprecation] setMonth(int) in Date has been deprecated
[javac18] public void setMonth(int month) {
[javac18] ^
[javac18] /usr/local/scipio-erp/framework/base/src/org/ofbiz/base/util/UtilDateTime.java:1252: warning: [deprecation] setDate(int) in Date has been deprecated
[javac18] public void setDate(int date) {
[javac18] ^
[javac18] /usr/local/scipio-erp/framework/base/src/org/ofbiz/base/util/UtilDateTime.java:1257: warning: [deprecation] setHours(int) in Date has been deprecated
[javac18] public void setHours(int hours) {
[javac18] ^
[javac18] /usr/local/scipio-erp/framework/base/src/org/ofbiz/base/util/UtilDateTime.java:1262: warning: [deprecation] setMinutes(int) in Date has been deprecated
[javac18] public void setMinutes(int minutes) {
[javac18] ^
[javac18] /usr/local/scipio-erp/framework/base/src/org/ofbiz/base/util/UtilDateTime.java:1267: warning: [deprecation] setSeconds(int) in Date has been deprecated
[javac18] public void setSeconds(int seconds) {
[javac18] ^
[javac18] Note: Some input files use unchecked or unsafe operations.
[javac18] Note: Recompile with -Xlint:unchecked for details.
[javac18] 1 error
[javac18] 13 warnings

BUILD FAILED
/usr/local/scipio-erp/build.xml:790: The following error occurred while executing this line:
/usr/local/scipio-erp/build.xml:818: The following error occurred while executing this line:
/usr/local/scipio-erp/macros.xml:302: The following error occurred while executing this line:
/usr/local/scipio-erp/common.xml:93: Compile failed; see the compiler error output for details.

Thanks for your help.

Wolfgang


#2

Hi, sorry about that, after a recent security fix in the branch (not master) there was a missing import. That was my bad.

It’s fixed now you can simply
git pull
and rerun build and install.

Note it’s not recommended to run as root.


#3

Confirmed that it is working now.
Thanks and I will start testing now