[XPAND] java.net.MalformedURLException: unknown protocol: ar [message #1692393] |
Wed, 15 April 2015 08:53  |
Eclipse User |
|
|
|
Hi,
I am new to xtend and xpand. I am trying to access the model elements and element values in xpand template. while accessing the elements i am able to generating the output(source file) file. but when i am trying to access the element value i am getting java.net.MalformedURLException: unknown protocol: ar this exception.Please help me in this
Thank you in advance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: [XPAND] java.net.MalformedURLException: unknown protocol: ar [message #1693627 is a reply to message #1692736] |
Mon, 27 April 2015 01:57   |
Eclipse User |
|
|
|
HI,
continuation to above...
while i am calling one model elements within another model...i am trying to print <<model.eAllContents>> in this case i am getting the list of all the elements/modules, but when i am calling the modules(i.e «EXPAND RTEMODULE FOREACH AUTOSAR::EcucDefs::Rte» or «model.eAllContents.typeSelect(AUTOSAR::EcucDefs::Rte)») it is showing error "unknown type"...
6727 ERROR AbstractExpressionsUsingWorkflowComponent - Error in Component of type org.eclipse.xpand2.Generator:
EvaluationException : Unknown type 'AUTOSAR::EcucDefs::Rte'
[318,22] on line 9 'AUTOSAR::EcucDefs::Rte'
templates::Rte.xpt[919,49] on line 39 'EXPAND Rte_Type_H::include_Type_H(model) FOR this'
templates::Rte.xpt[172,24] on line 7 'EXPAND Rte_Type_H(model)'
[23,57] on line 1 'EXPAND templates::Rte::RteGenerate(model) FOR systemmodel'
6727 ERROR WorkflowEngine - Workflow interrupted. Reason: Unknown type 'AUTOSAR::EcucDefs::Rte'
6727 ERROR WorkflowEngine - [ERROR]: Unknown type 'AUTOSAR::EcucDefs::Rte'(Element: model.eAllContents.typeSelect(AUTOSAR::EcucDefs::Rte); Reported by: Generator: generating 'templates::Rte::RteGenerate(model) FOR systemmodel' => [APPEND:src-gen(overwrite=true,append=true,fileEncoding=Cp1252), src-gen/])
6727 ERROR WorkflowEngine - [ERROR]: Unknown type 'AUTOSAR::EcucDefs::Rte'(Element: EXPRESSION: model.eAllContents.typeSelect(AUTOSAR::EcucDefs::Rte); Reported by: Generator: generating 'templates::Rte::RteGenerate(model) FOR systemmodel' => [APPEND:src-gen(overwrite=true,append=true,fileEncoding=Cp1252), src-gen/])
6727 ERROR WorkflowEngine - [ERROR]: Unknown type 'AUTOSAR::EcucDefs::Rte'(Element: include_Type_H(autosartoplevelstructure::AUTOSAR model) : autosartoplevelstructure::AUTOSAR; Reported by: Generator: generating 'templates::Rte::RteGenerate(model) FOR systemmodel' => [APPEND:src-gen(overwrite=true,append=true,fileEncoding=Cp1252), src-gen/])
6727 ERROR WorkflowEngine - [ERROR]: Unknown type 'AUTOSAR::EcucDefs::Rte'(Element: EXPAND Rte_Type_H::include_Type_H(model) FOR this; Reported by: Generator: generating 'templates::Rte::RteGenerate(model) FOR systemmodel' => [APPEND:src-gen(overwrite=true,append=true,fileEncoding=Cp1252), src-gen/])
6727 ERROR WorkflowEngine - [ERROR]: Unknown type 'AUTOSAR::EcucDefs::Rte'(Element: «FILE "Rte_Type.h"»...«ENDFILE»; Reported by: Generator: generating 'templates::Rte::RteGenerate(model) FOR systemmodel' => [APPEND:src-gen(overwrite=true,append=true,fileEncoding=Cp1252), src-gen/])
6727 ERROR WorkflowEngine - [ERROR]: Unknown type 'AUTOSAR::EcucDefs::Rte'(Element: Rte_Type_H(autosartoplevelstructure::AUTOSAR model) : autosartoplevelstructure::AUTOSAR; Reported by: Generator: generating 'templates::Rte::RteGenerate(model) FOR systemmodel' => [APPEND:src-gen(overwrite=true,append=true,fileEncoding=Cp1252), src-gen/])
6727 ERROR WorkflowEngine - [ERROR]: Unknown type 'AUTOSAR::EcucDefs::Rte'(Element: EXPAND Rte_Type_H(model); Reported by: Generator: generating 'templates::Rte::RteGenerate(model) FOR systemmodel' => [APPEND:src-gen(overwrite=true,append=true,fileEncoding=Cp1252), src-gen/])
6727 ERROR WorkflowEngine - [ERROR]: Unknown type 'AUTOSAR::EcucDefs::Rte'(Element: RteGenerate(autosartoplevelstructure::AUTOSAR model) : autosartoplevelstructure::AUTOSAR; Reported by: Generator: generating 'templates::Rte::RteGenerate(model) FOR systemmodel' => [APPEND:src-gen(overwrite=true,append=true,fileEncoding=Cp1252), src-gen/])
6727 ERROR WorkflowEngine - [ERROR]: Unknown type 'AUTOSAR::EcucDefs::Rte'(Element: EXPAND templates::Rte::RteGenerate(model) FOR systemmodel; Reported by: Generator: generating 'templates::Rte::RteGenerate(model) FOR systemmodel' => [APPEND:src-gen(overwrite=true,append=true,fileEncoding=Cp1252), src-gen/])
|
|
|
|