You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm the namespace at the top of the model.cto looks like this...
namespace org.accordproject.helloworld
Execute the command cicero archive and the following output is displayed
% cicero archive
10:53:07 am - INFO: Using current directory as template folder
10:53:09 am - INFO: Creating archive: helloworld@0.14.0.cta
Now modify the namespace at the top of the model.cto to look like this...
namespace org.accordproject.helloworld@0.14.0
Execute the command cicero archive and the following output is displayed
% cicero archive
10:53:41 am - INFO: Using current directory as template folder
10:53:41 am - ERROR: Expected identifier but "0" found. File /Users/martin/helloworld/model/model.cto line 1 column 40
Expected Behavior
As we "cannot use an unversioned import org.accordproject.contract when 'strict' option on Model Manager is set" then the cicero archive command should accept versioned namespaces and imports.
The text was updated successfully, but these errors were encountered:
Bug Report 馃悰
The
cicero archive
command fails if themodel.cto
contains versioned imports or specifies a versioned namespace.Current Behavior
helloworld@0.14.0.cta
archive and modify itspackage.json
file to use cicero 0.24.0.model.cto
looks like this...cicero archive
and the following output is displayedmodel.cto
to look like this...cicero archive
and the following output is displayedExpected Behavior
As we "cannot use an unversioned import org.accordproject.contract when 'strict' option on Model Manager is set" then the
cicero archive
command should accept versioned namespaces and imports.The text was updated successfully, but these errors were encountered: