[GBP-161] Not able to build stable lithium branch of Groupbased policy source code. Created: 17/Jun/15  Updated: 12/Oct/15  Resolved: 12/Oct/15

Status: Resolved
Project: groupbasedpolicy
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Md Faizan Assignee: Daniel Malachovsky
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC


External issue ID: 3779

 Description   

I clone the stable Lithium branch of groupbased policy project but gets into compilation error while building it on window 7 machine.

Part of Log as follow:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] commons.groupbasedpolicy .......................... SUCCESS [7.107s]
[INFO] groupbasedpolicy .................................. SUCCESS [0.050s]
[INFO] groupbasedpolicy-base ............................. SUCCESS [37.698s]
[INFO] groupbasedpolicy-renderers ........................ SUCCESS [0.156s]
[INFO] opflex-renderer ................................... SUCCESS [12.264s]
[INFO] ofoverlay-renderer ................................ SUCCESS [31.335s]
[INFO] groupbasedpolicy-ofoverlay-config ................. SUCCESS [1.193s]
[INFO] groupbasedpolicy-opflex-config .................... SUCCESS [0.406s]
[INFO] neutron-mapper .................................... SUCCESS [17.045s]
[INFO] neutron-mapper-config ............................. SUCCESS [0.360s]
[INFO] neutron-ovsdb ..................................... SUCCESS [15.777s]
[INFO] neutron-ovsdb-config .............................. SUCCESS [0.327s]
[INFO] ui-backend ........................................ FAILURE [0.879s]
[INFO] ui-backend-config ................................. SKIPPED
[INFO] groupbasedpolicy-ui-module ........................ SKIPPED
[INFO] groupbasedpolicy-ui-bundle ........................ SKIPPED
[INFO] groupbasedpolicy-ui ............................... SKIPPED
[INFO] features-groupbasedpolicy ......................... SKIPPED
[INFO] distribution-karaf ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:08.059s
[INFO] Finished at: Tue Jun 16 11:49:18 IST 2015
[INFO] Final Memory: 75M/447M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project ui-backend: Compilation failure: Compilation failure:
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/EndpointGroupIdentifierFields.java:[10,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/UiBackendService.java:[9,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/get/subjects/between/endpoint/groups/output/endpoint/group/pair/with/subject/UiSubject.java:[15,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/ProviderEndpointGroupRef.java:[10,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/ConsumerEndpointGroupRef.java:[10,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/get/subjects/between/endpoint/groups/output/EndpointGroupPairWithSubject.java:[15,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/GetSubjectsBetweenEndpointGroupsOutput.java:[11,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/get/endpoints/from/endpoint/group/output/UiEndpoint.java:[14,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/impl/rev150511/modules/module/configuration/UiBackendImpl.java:[12,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/GetEndpointsFromEndpointGroupInput.java:[9,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/GetEndpointsFromEndpointGroupOutput.java:[11,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/impl/rev150511/modules/module/configuration/ui/backend/impl/RpcRegistry.java:[11,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/impl/rev150511/modules/module/configuration/ui/backend/impl/DataBroker.java:[11,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/get/subjects/between/endpoint/groups/output/endpoint/group/pair/with/subject/ui/subject/UiRule.java:[15,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/get/subjects/between/endpoint/groups/input/FromOperData.java:[10,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/impl/rev150511/UiBackendImpl.java:[8,52] illegal unicode escape
[ERROR] /C:/Users/mdfaizan/stable_helium/groupbasedpolicy/ui-backend/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/controller/config/ui/backend/rev150511/GetSubjectsBetweenEndpointGroupsInput.java:[11,52] illegal unicode escape
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]



 Comments   
Comment by Ruijing Guo [ 18/Jun/15 ]

can you paste line 10 in EndpointGroupIdentifierFields.java here?

Comment by Md Faizan [ 18/Jun/15 ]

Line10 in EndpointGroupIdentifierFields.java as below:

  • <br>(Source path: <i>META-INF\yang\ui-backend.yang</i>):

– > Seems like backslashes window compilation issue.

Comment by Ruijing Guo [ 18/Jun/15 ]

approach 1: yang-maven-plugin doesn't generate that code
approach 2: workaround javac can compile it

Comment by Daniel Malachovsky [ 12/Oct/15 ]

Build is working now. Seems to be old bug and fixed in this version

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