Community
Participate
Working Groups
Build Identifier: 20100917-0705 Always i open a jet file with the "JET - Java Emitter Template Editor" it generates a template class in the src folder. Is this my fault to use the wrong editor? Do i mix up JET 1 and JET 2 components? Reproducible: Always Steps to Reproduce: 1. Create JET Transformation Project 2. Crate ad add the folder "src" to the java build path. 3. Change in the JET Compiler settings the template folder to "srcjet" 4. delete the jet2java source folder 5. add a "Helloworld.txtjet" file to the template folder and open it. 6 the java template code is generated in the source folder not in the srcjet folder it seems it uses the first src folder in the project. I got similar behavior if i convert a java project to a JET Project. But it seems this a other kind of JET Project (seems older just 2 settings). The source of Helloworld.txtjet is just <%@ jet package="hello" class="HelloWorldTemplate" %> Hello, world!
Now i can confirm it is related to the source folder order. The editor generate just in the first source folder in the list. I tested it by change the source folder order under java build path settings.