OpenWIS / openwis

http://openwis.github.io/openwis
GNU General Public License v3.0
11 stars 15 forks source link

3.16 - Generate-SP-Conf-Files.sh build fail #406

Open yvesgoupil opened 1 year ago

yvesgoupil commented 1 year ago

The script Generate-SP-Conf-Files.sh fails:

`[openwis@wism31-sidev ~]$ cd ~/maven_project_3-16/openwis/openwis-securityservice/openwis-securityservice-utils/GenerateSPConfFiles [openwis@wism31-sidev GenerateSPConfFiles]$ ll total 0 drwxr-xr-x 5 openwis users 39 23 nov. 15:55 apache-ant-1.8.1 drwxr-xr-x 2 openwis users 124 23 nov. 15:56 build drwxr-xr-x 2 openwis users 38 23 nov. 15:55 conf drwxr-xr-x 2 openwis users 56 23 nov. 15:55 lib drwxr-xr-x 3 openwis users 131 23 nov. 15:55 src [openwis@wism31-sidev GenerateSPConfFiles]$ chmod a+x build/Generate-SP-Conf-Files.sh apache-ant-1.8.1/bin/ant [openwis@wism31-sidev GenerateSPConfFiles]$ cd build [openwis@wism31-sidev build]$ ./Generate-SP-Conf-Files.sh ./Generate-SP-Conf-Files.sh: ligne 3 : cd: conf: Aucun fichier ou dossier de ce type Buildfile: /data/openwis/maven_project_3-16/openwis/openwis-securityservice/openwis-securityservice-utils/GenerateSPConfFiles/build/build.xml

edit-fedlet.cot:

BUILD FAILED /data/openwis/maven_project_3-16/openwis/openwis-securityservice/openwis-securityservice-utils/GenerateSPConfFiles/build/build.xml:146: Warning: Could not find file /data/openwis/maven_project_3-16/openwis/openwis-securityservice/openwis-securityservice-utils/GenerateSPConfFiles/lib/fedlet.cot to copy.

Total time: 0 seconds `

Fedlet .cot is in another repertory:

[openwis@wism31-sidev build]$ find /data/openwis/maven_project_3-16 -name "fedlet.cot" /data/openwis/maven_project_3-16/openwis/openwis-securityservice/openwis-securityservice-utils/GenerateSPConfFiles/src/fedlet.cot

abrmh commented 1 year ago

A commit of a wrong openwis-securityservice\openwis-securityservice-utils\GenerateSPConfFiles\conf\build.xml file is the origin of the a bug. by replacing it with the correct one it solves the problem. the following commit solves the issue commit 5667b4b2e765b21ad232da548aa451a2df4997ad .