ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5094] New: - CMP EJBs require weblogic.home system property with weblogic subtask
Date Mon, 26 Nov 2001 18:36:39 GMT
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-
                    user@jakarta.apache.org/msg10758.html
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: bruce@callenish.com


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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message