Also, remove the orangevolt-ant-tasks-1.3.5.jar from ${user.home}/.ant/lib, and from the CLASSPATH otherwise you will have nasty classloader problems, the two jar files should be in the same classloader.
Peter On 10/17/06, Peter Reilly <[EMAIL PROTECTED]> wrote:
Ok, on checking, you do need both jar files. roxes-win32forjava-1.0.4.jar and orangevolt-ant-tasks-1.3.5.jar Try placing both in a directory - say c:/apps/roxes/lib then do: <taskdef resource="com/orangevolt/tools/ant/taskdefs.properties"> <classpath> <fileset dir="c:/apps/roxes/lib" includes="*.jar"/> </classpath> </taskdef> <win32.registry root="HKEY_LOCAL_MACHINE" key="SOFTWARE"> <!-- softwareExists will be set if HKEY_LOCAL_MACHINE\SOFTWARE exists --> <exists property="softwareExists"/> </win32.registry> <echo message="softwareExists=${softwareExists}"/> Peter On 10/17/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: > On 10/17/06, Robert Pepersack <[EMAIL PROTECTED]> wrote: > > I tried doing that by putting, roxes-win32forjava-1.0.4.jar, which > > contains com/roxes/win32/UrlFile, into the classpath in my build file. > > But I got the same error. > > Then run with -verbose (or -debug) and see what stack trace you are > getting. Running Java code that depends on JNI shared libs is more > involved than just using the classpath. I don't know how Roxes or > OrangeVolt deal with that... --DD > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]