Looking for Win32ShortcutTask on OS X??

Help
nap
2006-08-21
2013-04-25
  • nap

    nap - 2006-08-21

    Running on OS X, I use the taskdef line listed in the docs and get this (IDE points to the taskdef line as the source of the error):

    taskdef A class needed by class com.orangevolt.tools.ant.Win32ShortcutTask cannot be found: com/roxes/win32/UrlFile

    Any idea why its looking for win32 stuff when the platform is OS X? Is there a property I have to set? Didn't see one in the setup part of the docs...

     
    • Arne Plöse

      Arne Plöse - 2006-09-01

      By default all tasks will be included. This raises the named exception, if the roxes-win32-for-java-*.jar is not found in your classpath.

      To avoid this you can specify only the needed Task i.e. (for JNLP):

                  <taskdef name="jnlp" classname="com.orangevolt.tools.ant.JNLPTask">
                   <classpath>
                       <fileset dir="${lib.dir}" includes="orangevolt-ant-tasks-*.jar"/>
                   </classpath>
                  </taskdef>

      Arne

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks