-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Description
I tried to add a copyright to a model yaml file followed by a blank line, i.e.:
# Copyright 2019, Oracle Corporation and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
domainInfo:
...
And I got this error when I tried to build the model:
####<Jan 31, 2019 2:10:37 PM> <SEVERE> <ParsingErrorListener> <syntaxError> <WLSDPLY-18018> <Parse error for file /u01/oracle/docker-build-tmp/model.yaml at line 4 position 0: mismatched input '\n' expecting {<EOF>, NAME, LIST_ITEM_OP}>
####<Jan 31, 2019 2:10:37 PM> <SEVERE> <create> <main> <WLSDPLY-20009> <createDomain failed to load the model file /u01/oracle/docker-build-tmp/model.yaml: Unable to parse model from file /u01/oracle/docker-build-tmp/model.yaml : The YAML parser encountered 1 error(s) while parsing /u01/oracle/docker-build-tmp/model.yaml>
createDomain.sh failed (exit code = 2)
Then I changed the blank line to start with #, then it successfully created my domain:
# Copyright 2019, Oracle Corporation and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
domainInfo:
...
I'm using version 0.14
Note: Kubernetes yaml files support blank lines (i.e. kubectl apply -f accepts yaml files with blank lines)
Metadata
Metadata
Assignees
Labels
No labels