Orangevolt ANT Tasks » Tasks » Unix related tasks » unix.link
unix.linkunix.kde.shortcut

2.11.2.1.  Example

The example creates a link scite_start in ${user.home}/bin targeting /opt/gnome/bin/scite.

build.xml
<project name="test project" basedir="." default="main">
  <taskdef resource="com/orangevolt/tools/ant/taskdefs.properties">
    <classpath>
      <pathelement path=".."/>
      <pathelement location="../lib/roxes-win32forjava-1.0.2.jar"/>
    </classpath>
  </taskdef>
    
  <target name="main">
    <unix.properties/>
    
    <unix.link file="${unix.programfiles}/scite_start" target="/opt/gnome/bin/scite"/>
  </target>
</project>