I have a JET file generating a C++ file. I want to generate various C++ files out of a single JET file.The single jet file should call other JET files within it. Is it possible?
Asked
Active
Viewed 76 times
0
-
any more information to share? any code-samples ? – Caffeinated Nov 13 '14 at 15:59
-
No Code Samples.But I read Excel files into Templates and generate a C++file. – user3825711 Nov 13 '14 at 16:16
1 Answers
0
Yes you can. You do this with the ws:file tag:
<ws:file path="" template="" replace="true" />
Generally this is done in the main.jet file and is discouraged in other jet templates, but is doable. In order to use the ws tag library in any jet template, you'll need to use the tab lib directive for the ws library:
<%@taglib prefix="ws" id="org.eclipse.jet.workspaceTags" %>
This directive is written to the top of the main.jet by default (but not to other jet templates) by the tooling.

Chris Gerken
- 16,221
- 6
- 44
- 59