D
david wolf
Hi All,
I am using java to connect to a CORBA Service. I used to use jdk's
corba implementation to connect to the service. Now I swithed to
Jacorb. Since Jacor and JDK both have corba implementation, when I use
ant to compile my code, how to make sure my code actually use JACORB's
implementation instead of JDK's (I checked, the classes related to
corba in both implementation has the same fully qualified class names).
I quoted a piece of code from my ant build.xml. I put jacorb's lib in
the front, while java's lib (that is, ${myjava.home}/lib) later. Will
this do what I want?
<path id="compile.classpath">
<fileset dir ="${jacorb.home}/lib">
<include name="*.jar"/>
</fileset>
<fileset dir ="${tomcat.home}/shared/lib">
<include name="*.jar"/>
</fileset>
<fileset dir ="${myjava.home}/lib">
<include name="*.jar"/>
</fileset>
</path>
Thanks,
David
I am using java to connect to a CORBA Service. I used to use jdk's
corba implementation to connect to the service. Now I swithed to
Jacorb. Since Jacor and JDK both have corba implementation, when I use
ant to compile my code, how to make sure my code actually use JACORB's
implementation instead of JDK's (I checked, the classes related to
corba in both implementation has the same fully qualified class names).
I quoted a piece of code from my ant build.xml. I put jacorb's lib in
the front, while java's lib (that is, ${myjava.home}/lib) later. Will
this do what I want?
<path id="compile.classpath">
<fileset dir ="${jacorb.home}/lib">
<include name="*.jar"/>
</fileset>
<fileset dir ="${tomcat.home}/shared/lib">
<include name="*.jar"/>
</fileset>
<fileset dir ="${myjava.home}/lib">
<include name="*.jar"/>
</fileset>
</path>
Thanks,
David