Maybe you have to use backslashes in the path for the dll or maybe your
external.path isn't an absolute path?  Just an idea...

--
knut

> -----Original Message-----
> From: Tim Sheridan [mailto:[EMAIL PROTECTED]]
> Sent: Dienstag, 20. August 2002 18:08
> To: Ant Users List
> Subject: ANT 1.5 & MouseWheel.dll
> 
> 
> Has anyone had any luck in attempted to run  client 
> application with ANT and
> having the MouseWheel.dll load on Windows NT/2000? The task 
> goes like this:
> 
>     <!-- run client -->
>     <target name="run.client" depends="build.all">
>         <java classname="isc.client.desktop.Desktop" fork="true"
> dir="${base.path}">
> 
>             <!-- jvm args -->
>             <jvmarg
> value="-Djava.library.path=${external.path}/isc.mousewheel/Mou
> seWheel.dll"/>
>             <jvmarg value="-Djava.compiler=NONE"/>
>             <jvmarg value="-Disc.validateVersion=F"/>
> 
>             <!-- client args -->
>             <arg value="${base.path}"/>
>             <arg value="-noversioncheck"/>
>             <!--arg value="-hostname localhost"/-->
> 
>             <classpath>
>                 <path refid="build.path"/>
>                 <pathelement location="${component.jarfile}"/>
>             </classpath>
>         </java>
>     </target>
> 
> The command line always comes back with:
> 
>      [java] Failed to load MouseWheel Library - Wheel Disabled.
>      [java] Failed to load MouseWheel Library - Wheel Disabled.
> 
> Please let me know if you have any suggestions.
> 
> Thanks,
> Tim Sheridan
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to