Sorry, I mean this exception: ejbdoclet: BUILD FAILED file:D:/middlegen-2.0-b1/samples/build.xml:299: Class xdoclet.modules.jboss.ejb.JBossSubTask doesn't support the "createtable" attribute.
Total time: 10 seconds -----Original Message----- From: Fabrizio Di Giuseppe [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 7:08 AM To: [EMAIL PROTECTED] Subject: Re: [Middlegen-user] Why is JBoss *creating* tables? On Wednesday, October 1, 2003, at 9:20 AM, Gavin Sinclair wrote: > And having scoured the build script, > configuration files, generated code, etc., I don't see what is > directing > JBoss (3.2.1) to exhibit this behaviour. That's a JBoss configuration files issue. The jboss file jbosscmp-jdbc.xml inside META-INF indicates if a table must be created or not. That's file is generated by xdoclet. So you have to change the xdoclet ant task. Take a look at this build file fragment: <ejbdoclet destdir="${xdoclet.generated}/src" excludedtags="@version,@author" ejbspec="2.0" force="${xdoclet.force}" > ... <jboss version="3.0" xmlencoding="UTF-8" typemapping="Oracle9i" datasource="java:/EntityDB" destDir="${xdoclet.generated}/META-INF" createTable="false" removeTable="false" /> ... </ejbdoclet> The jboss subtask has the two options to control the table creation and deletion: createTable and removeTable. Bye ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user This message and any attachments are for the intended recipient(s) only and may contain privileged, confidential and/or proprietary information about Downey Savings or its customers, which Downey Savings does not intend to disclose to the public. If you received this message by mistake, please notify the sender by reply e-mail and delete the message and attachments. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ middlegen-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/middlegen-user
