[ODLPARENT-214] ODLParent 6.0.0 compilation fails on windows m/c Created: 11/Oct/19  Updated: 17/Oct/19  Resolved: 17/Oct/19

Status: Resolved
Project: odlparent
Component/s: General
Affects Version/s: 6.0.0
Fix Version/s: 6.0.1, 5.0.3, 4.0.13

Type: Bug Priority: Medium
Reporter: Chetan Arakere Gowdru Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

ODL-PARENT Build fails to compile in windows m/c with the following error.

[ERROR] Failed to execute goal org.opendaylight.odlparent:karaf-plugin:6.0.1-SNAPSHOT:populate-local-repo (populate-local-repo) on project opendaylight-karaf-resources: Failed to execute: Could not resolve URI: file:D:\Open-Day-Light\magnesium-mri\odlparent\karaf\opendaylight-karaf-resources\target\assembly/etc/46d4f695-2443-4de5-a9fe-4bc51cf82e72.xml: Illegal character in opaque part at index 7: file:D:\Open-Day-Light\magnesium-mri\odlparent\karaf\opendaylight-karaf-resources\target\assembly/etc/46d4f695-2443-4de5-a9fe-4bc51cf82e72.xml -> [Help 1]

-------------------------------------------------------------------------------------
$ git log -2
commit 9727c9146f3d9c0ac0ce50ed769f49306bbffa1f (HEAD -> master)
Author: Robert Varga <robert.varga@pantheon.tech>
Date: Fri Oct 4 12:39:29 2019 +0200

Use fileSeparator to concat /etc

On windows we have a different file separator, this is probably
causing:

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.opendaylight.odlparent:karaf-plugin:6.0.0:populate-local-repo (populate-local-repo) on project distribution.opendaylight-karaf: Failed to execute: Could not resolve URI: file:D:\Open-Day-Light\magnesium-mri\controller\karaf\target\assembly/etc/3099bac6-f5e3-4ba5-81f1-de70eb9fc227.xml: Illegal character in opaque part at index 7: file:D:\Open-Day-Light\magnesium-mri\controller\karaf\target\assembly/etc/3099bac6-f5e3-4ba5-81f1-de70eb9fc227.xml -> [Help 1]

Change-Id: Id264d4bb0e15cde47da6913996d173e9bf5ea03e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>


Generated at Wed Feb 07 20:27:56 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.