09-07-2017 06:37 AM - edited 03-01-2019 03:59 AM
How can one import a java class from another service package A to a java class in service package B?
Solved! Go to Solution.
09-07-2017 09:57 AM
Add it to build.xml:
<property name="topology-discovery.dir" value="../../../topology-discovery/shared-jar"/>
...
<path id="topology-discovery-libs">
<fileset dir="${topology-discovery.dir}">
<include name="*.jar"/>
</fileset>
</path>
<target name="compile">
...
<classpath refid="core-libs" />
<classpath refid="topology-discovery-libs" />
...
</target>
09-07-2017 09:57 AM
Add it to build.xml:
<property name="topology-discovery.dir" value="../../../topology-discovery/shared-jar"/>
...
<path id="topology-discovery-libs">
<fileset dir="${topology-discovery.dir}">
<include name="*.jar"/>
</fileset>
</path>
<target name="compile">
...
<classpath refid="core-libs" />
<classpath refid="topology-discovery-libs" />
...
</target>
09-07-2017 04:20 PM
thank you Fredrik for the response. I will try today and let you know ...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide