How to set the transformation output file path? [message #47554] |
Thu, 10 July 2008 15:17 |
Eclipse User |
|
|
|
Originally posted by: georges.bachelier.atmel.com
Hello everyone,
I would like my JET transformation output file name to be based on some
variables values.
The current JET code is:
<ws:file template="templates/flow_template.jet"
path="{$org.eclipse.jet.resource.project.name}/flow.xml"/>
I have changed it to:
<ws:file template="templates/flow_template.jet"
path="{$org.eclipse.jet.resource.project.name}/"/><c:get
select="/Flow/@flowName"/>"."<c:get select="/Flow/@flowCategory"/>".xml"/>
where Flow is an Ecore element with flowName and flowCategory attributes.
I would like the output file name to be
<flowName_value>.<flowCategory_value>.xml
When I run my transformation, I get the following error message:
org.eclipse.jet.taglib.JET2TagException: Path must include project and
resource name: /FlowEditor/
Could you please help me to fix this?
Thanks a lot in advance for your time,
Georges
|
|
|
|
Powered by
FUDForum. Page generated in 0.01885 seconds