If you use the jdk to launch ServiceMix, the tools.jar
should be in the classpath. You need to properly
configure your system or hack the scripts to make
sure that the java command launched uses the jdk.
On 10/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
I'm developing a binding component. My binding component needs to do some
compilation at deploy time so it needs tool.jar.
I've declared this dependency as suggested by maven documentation:
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.5.0_06</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
This way tools.jar doesn't get bundled in the install package. So I get a
ClassNotFoundException at deploy time.
Considering that this kind of library depends on the jvm version what is the
better way to have it available.
Is it possible to configure servicemix to have it loaded at boot time?
thanks
Raffaele
--
Cheers,
Guillaume Nodet