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=5763>.
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=5763

WebLogic rmic does not work with classpath

           Summary: WebLogic rmic does not work with classpath
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Build Process
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


Specifying weblogic.jar in <classpath> in build.xml does not work.
See stacktrace below:

     [rmic] File to be compiled:    com.pfizer.pbo.server.PBORequestServer

BUILD FAILED

D:\work\PBO\source\build.xml:27: Cannot use WebLogic rmic, as it is not 
available A common solution is to set the enviro
nment variable CLASSPATH.
        at org.apache.tools.ant.taskdefs.rmic.WLRmic.execute(WLRmic.java:86)
        at org.apache.tools.ant.taskdefs.Rmic.execute(Rmic.java:397)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:184)
        at org.apache.tools.ant.Target.performTasks(Target.java:202)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 1 second

However, setting the system classpath to include weblogic.jar works. 
I think <classpath> shd. work in this case.
Please let me know asap as we want to adopt ANT and avoid setting system wide 
env variables.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to