Added the opengl-template-pattern ant property to control the set of included opengl extensions

This commit is contained in:
Elias Naur 2005-09-29 18:12:20 +00:00
parent df2bc7d7e0
commit 4636c4b251
3 changed files with 14 additions and 34 deletions

View file

@ -164,7 +164,6 @@ public class GeneratorVisitor extends SimpleDeclarationVisitor {
private void generateJavaSource(InterfaceDeclaration d) throws IOException {
validateMethods(d);
// PrintWriter java_writer = env.getFiler().createSourceFile(Utils.getQualifiedClassName(d));
PrintWriter java_writer = env.getFiler().createTextFile(Filer.Location.SOURCE_TREE, d.getPackage().getQualifiedName(), new File(Utils.getSimpleClassName(d) + ".java"), null);
java_writer.println("/* MACHINE GENERATED FILE, DO NOT EDIT */");
java_writer.println();