ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: ANT 1.5 & MouseWheel.dll
Date Tue, 20 Aug 2002 19:10:38 GMT
It's a path, and you don't put DLLs on a path, but the directory that
contains them. So try:

<sysproperty name="java.library.path"
             value="${external.path}/isc.mousewheel" />

If MouseWheel.dll is not loaded directly from Java, but is a DLL that
another DLL depends on, then it needs to be on the PATH/LD_LIBRARY_PATH
(depending on the platform).

--DD

-----Original Message-----
From: Tim Sheridan [mailto:tsheridan@intersectsoft.com] 
Sent: Tuesday, August 20, 2002 11:08 AM
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/MouseWheel.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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message