Hi, I am attempting to call the middlegen ant task and it starts but fails with a ClassNotFoundException for the class middlegen.DontCloseLog4JLogSystem. The middlegen jar is in the classpathref that I provide in the taskdef, and I've looked in the jar and verified that the class is in there. The jar is obviously being picked up because middlegen is starting, so I'm not sure why it's not finding this class.
I'm guessing this is a problem with my setup, but everything seems in order, so any advice on this would be appreciated. thanks, Lou My ant target: <target name="new_app:middlegen" if="setup.app.db"> <taskdef name="middlegen" classpathref="compile.classpath" classname="middlegen.MiddlegenTask"/> <middlegen appname="${app.name}" prefsdir="middlegen_prefs" gui="false" databaseurl="jdbc:mysql://${db.host}/" driver="com.mysql.jdbc.Driver" username="${db.user}" password="${db.password}" catalog="${db.app.schema}" > <!-- Hibernate Plugin --> <hibernate destination="${src.path}/nextag/${app.name}/bean" package="nextag.${app.name}.bean" genXDocletTags="true" javaTypeMapper="middlegen.plugins.hibernate.HibernateJavaTypeMapper" /> </middlegen> </target> Error message: [middlegen] Database URL:jdbc:mysql://localhost/ [middlegen] No <table> elements specified. Reading all tables. This might take a while... [middlegen] java.lang.ClassNotFoundException: middlegen.DontCloseLog4JLogSystem ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click _______________________________________________ middlegen-user mailing list middlegen-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/middlegen-user