Hi

I am a bit unclear on how to get the velocity template source code generation 
working. I am using castor 1.3.

I have tried org.exolab.castor.builder.SourceGenerator with the option 
-jclassPrintingType (as per manual) but get

Invalid command line option -jclassPrintingType.

I then looked at the source code and tried 
org.exolab.castor.builder.SourceGeneratorMain with the option -classPrinter 
velocity

I get the error Invalid command line option -classPrinter but then get the 
message -- Using JClass printing type velocity
which seems to indicate it is using velocity but I am not sure.

How do tell whether it is using velocity or not. I switched on log4j logging to 
debug but it was not obvious

I also want to make changes main.vm. If I put a copy of main.vm in 
target\classes\org\exolab\castor\builder\printing\templates should it
pick up this version of main.vm instead of the one embedded in the jar file? It 
does not seem to..

James




Reply via email to