23 context.put("dependencies", project.getDependencies()); |
23 context.put("dependencies", project.getDependencies()); |
24 context.put("options", project.getOptions()); |
24 context.put("options", project.getOptions()); |
25 context.put("features", project.getFeatures()); |
25 context.put("features", project.getFeatures()); |
26 context.put("project", project); |
26 context.put("project", project); |
27 context.put("vars", project.getVars()); |
27 context.put("vars", project.getVars()); |
|
28 context.put("languages", project.getLang()); |
28 new VelocityEngine().getTemplate(tplFileName).merge(context, out); |
29 new VelocityEngine().getTemplate(tplFileName).merge(context, out); |
29 } |
30 } |
30 |
31 |
31 public static void main(String[] args) { |
32 public static void main(String[] args) { |
32 final var inFileName = "make/project.xml"; |
33 final var inFileName = "make/project.xml"; |