This is a random thing I came across. Obviously people have hit the issue of not putting a "/" in the beginning of the path for the codegen XML configuration and I see the code has a nice error message about this. If you change
GenerationTool.class.getResourceAsStream(args[0]); to GenerationTool.class.getClassLoader().getResourceAsStream(args[0]); You shouldn't have that issue anymore. The classloader will just by default look in the classpath. This does mean that you won't be able to find XML files with paths relative to GenerationTool.class, but I'm not sure why anyone would want to do that. Darren -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
