Hi, To run the enhancer via ant, you need to have the classes available in the classpath used when the ant task is run. How are you invoking the ant task?
-Patrick On 11/24/07, gutostraube <[EMAIL PROTECTED]> wrote: > > Hi all! > > Every time I start the server the following message appears on the console: > 718 notario INFO [main] openjpa.Enhance - Creating subclass and > redefining methods for "[ ... ]". This means that your application will be > less efficient than it would if you ran the OpenJPA enhancer. > > My application is runnig on Apache Tomcat 6.0 and I'm using the JDK 1.6. > The version of OpenJPA is 1.0.1. > > I know that is because I've not enhanced my model classes, but I can't do > so, even after reading the documentation. > > I've tried to use the Enhancer Ant Task, but that didn't work. The task > didn't find my classes. > > I want to know how can I run the Enhancer at the server startup or how can I > fix this problem. > > > Thanks, > > Gustavo Straube > -- > View this message in context: > http://www.nabble.com/Problem-with-OpenJPA-Enhancer-on-Tomcat-6-tf4866879.html#a13927419 > Sent from the OpenJPA Users mailing list archive at Nabble.com. > > -- Patrick Linskey 202 669 5907
