DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5094>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5094 CMP EJBs require weblogic.home system property with weblogic subtask Summary: CMP EJBs require weblogic.home system property with weblogic subtask Product: Ant Version: 1.4.1 Platform: All URL: http://www.mail-archive.com/ant- [EMAIL PROTECTED]/msg10758.html OS/Version: All Status: NEW Severity: Minor Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When weblogic.ejbc (called from the weblogic subtask) tries to compile a Container Managed Persistence bean on a machine which has not had weblogic installed, it fails with the message: [ejbjar] building MyEJB.jar with 7 files [ejbc] ERROR: Error from ejbc: weblogic.boot.ZipSource [ejbc] ERROR: ejbc found errors The problem is that ejbc requires a JAR file called "weblogic_rdbms.jar", and rather than getting it from the classpath, it loads it manually from "${weblogic.home}/lib/persistence". That means you have to have ${weblogic.home} as a system property of the JVM running the weblogic subtask, but there is currently no way to specify a system property within that task in your build file. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
