Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "M2T-JET-FAQ"
(More JMerge FAQs) |
(→String Handling and Formatting) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Welcome = | = Welcome = | ||
Welcome to the M2T-JET FAQ. This is a work in progress. If you have question you'd like answered by the FAQ, please start by posting the the M2T newsgroup [news://news.eclipse.org/eclipse.modeling.m2t eclipse.modeling.m2t] | Welcome to the M2T-JET FAQ. This is a work in progress. If you have question you'd like answered by the FAQ, please start by posting the the M2T newsgroup [news://news.eclipse.org/eclipse.modeling.m2t eclipse.modeling.m2t] | ||
+ | |||
+ | = Most Popular = | ||
+ | |||
+ | * [[M2T-JET-FAQ/How do I navigate an XMI model with JET?|How do I navigate an XMI model with JET?]] | ||
= General = | = General = | ||
Line 7: | Line 11: | ||
= Best Practices = | = Best Practices = | ||
* [[JET FAQ Should I write my JET code generator directly against UML2?]] | * [[JET FAQ Should I write my JET code generator directly against UML2?]] | ||
+ | * [[M2T-JET-FAQ/Are there equivalents to the MVC pattern for JET transformations?|Are there equivalents to the MVC pattern for JET transformations?]] | ||
= Whitespace Handling = | = Whitespace Handling = | ||
Line 15: | Line 20: | ||
* [[JET FAQ What kind of input model can JET handle?]] | * [[JET FAQ What kind of input model can JET handle?]] | ||
* [[JET FAQ Can JET handle UML models as input?]] | * [[JET FAQ Can JET handle UML models as input?]] | ||
+ | * [[JET FAQ/How do I access multi-valued attributes?]] | ||
+ | |||
+ | = String Handling and Formatting = | ||
+ | * [[M2T-JET-FAQ/How do I put quotes in an XPath string?|How do I put quotes in an XPath string?]] | ||
+ | * [[M2T-JET-FAQ/What options are available for manipulating strings?|What options are available for manipulating strings?]] | ||
+ | * [[M2T-JET-FAQ/How to I escape JET special characters?]] | ||
= Running JET = | = Running JET = | ||
− | * [[JET FAQ How do I run a JET transformation from Java?]] | + | * [[JET FAQ How do I run a JET transformation from Java?|How do I run a JET transformation from Java?]] |
− | * [[JET FAQ How do I get a console when running JET from Java?]] | + | * [[JET FAQ How do I get a console when running JET from Java?|How do I get a console when running JET from Java?]] |
− | * [[JET FAQ How do I resolve a Could not load JET template loader error?]] | + | * [[JET FAQ How do I resolve a Could not load JET template loader error?|How do I resolve a Could not load JET template loader error?]] |
− | * [[JET FAQ What does "Error: Feature 'version' not found." mean?]] | + | * [[JET FAQ What does "Error: Feature 'version' not found." mean?|What does "Error: Feature 'version' not found." mean?]] |
− | * [[JET FAQ How do I run an individual JET template and get a string back?]] | + | * [[JET FAQ How do I run an individual JET template and get a string back?|How do I run an individual JET template and get a string back?|]] |
− | * [[JET FAQ Why do I get errors stating variable 'org.eclipse.jet.resource.project.name' is undefined?]] | + | * [[JET FAQ Why do I get errors stating variable 'org.eclipse.jet.resource.project.name' is undefined?|Why do I get errors stating variable 'org.eclipse.jet.resource.project.name' is undefined?]] |
− | * [[JET FAQ What does "Error: Invalid Java source folder:" mean?]] | + | * [[JET FAQ What does "Error: Invalid Java source folder:" mean?|What does "Error: Invalid Java source folder:" mean?]] |
+ | * [[JET FAQ How do I test for the type/EClass of an element in XPath?|How do I test for the type/EClass of an element in XPath?]] | ||
+ | * [[M2T-JET-FAQ/How do I run a JET template from Java?|How do I run a JET template from Java?]] | ||
= JET Extension Points = | = JET Extension Points = | ||
Line 37: | Line 50: | ||
* [[JET FAQ How does JMerge work?]] | * [[JET FAQ How does JMerge work?]] | ||
* [[JET FAQ How do I write custom JMerge rules?]] | * [[JET FAQ How do I write custom JMerge rules?]] | ||
+ | |||
+ | = JET and Headless builds = | ||
+ | * [[JET FAQ How to I compile JET templates in a headless build]] | ||
<!-- | <!-- | ||
Line 43: | Line 59: | ||
* [[JET FAQ How do I convert a JET1 project to use the M2T JET compiler?]] | * [[JET FAQ How do I convert a JET1 project to use the M2T JET compiler?]] | ||
− | -- | + | --> |
[[Category:Modeling]][[Category:M2T]] | [[Category:Modeling]][[Category:M2T]] |
Latest revision as of 09:20, 15 October 2012
Contents
Welcome
Welcome to the M2T-JET FAQ. This is a work in progress. If you have question you'd like answered by the FAQ, please start by posting the the M2T newsgroup eclipse.modeling.m2t
Most Popular
General
Best Practices
- JET FAQ Should I write my JET code generator directly against UML2?
- Are there equivalents to the MVC pattern for JET transformations?
Whitespace Handling
- JET FAQ What are the JET whitespace handling rules?
- JET FAQ How do I get new lines in the right place when using iterate with delimiter?
Input Models
- JET FAQ What kind of input model can JET handle?
- JET FAQ Can JET handle UML models as input?
- JET FAQ/How do I access multi-valued attributes?
String Handling and Formatting
- How do I put quotes in an XPath string?
- What options are available for manipulating strings?
- M2T-JET-FAQ/How to I escape JET special characters?
Running JET
- How do I run a JET transformation from Java?
- How do I get a console when running JET from Java?
- How do I resolve a Could not load JET template loader error?
- What does "Error: Feature 'version' not found." mean?
- How do I run an individual JET template and get a string back?|
- Why do I get errors stating variable 'org.eclipse.jet.resource.project.name' is undefined?
- What does "Error: Invalid Java source folder:" mean?
- How do I test for the type/EClass of an element in XPath?
- How do I run a JET template from Java?
JET Extension Points
- JET FAQ How do I create custom XPath Function?
- JET FAQ How do I create custom tag?
- JET FAQ Why my custom container tag does not process its body content ?
- JET FAQ Why do I have an 'Error: Unknown function name' with my custom XPath Function ?
User Specific Code
- JET FAQ How do I create user specific code regions?
- JET FAQ What is JMerge?
- JET FAQ How do I use JMerge to manage user specific code?
- JET FAQ How does JMerge work?
- JET FAQ How do I write custom JMerge rules?