Orangevolt ANT Tasks » Tasks » Win32 related tasks » win32.properties
List of created propertieswin32.registry

2.12.1.2.  Example

This example shows executes the task and dumps out all properties created by this task.

build.xml
<?xml version="1.0"?>  
    
  <project basedir="." name="myapp" default="main">
    <taskdef classpath="orangevolt-ant-tasks-1.3.2.jar" resource="com/orangevolt/tools/ant/taskdefs.properties"/>
      
    <target name="main">
          
      <win32.properties/>
      <echo message="win32.common.autostart_menu = ${win32.common.autostart_menu}"/>
      <echo message="win32.common.desktop = ${win32.common.desktop}"/>
      <echo message="win32.common.documents = ${win32.common.documents}"/>
      <echo message="win32.common.files = ${win32.common.files}"/>
      <echo message="win32.common.programs_menu = ${win32.common.programs_menu}"/>
      <echo message="win32.common.start_menu = ${win32.common.start_menu}"/>
      <echo message="win32.common.templates = ${win32.common.templates}"/>
      <echo message="win32.personal.autostart_menu = ${win32.personal.autostart_menu}"/>
      <echo message="win32.personal.desktop = ${win32.personal.desktop}"/>
      <echo message="win32.personal.favorites = ${win32.personal.favorites}"/>
      <echo message="win32.personal.documents = ${win32.personal.documents}"/>
      <echo message="win32.personal.programs_menu = ${win32.personal.programs_menu}"/>
      <echo message="win32.personal.sentto = ${win32.personal.sentto}"/>
      <echo message="win32.personal.start_menu = ${win32.personal.start_menu}"/>
      <echo message="win32.personal.templates = ${win32.personal.templates}"/>
      <echo message="win32.programfiles = ${win32.programfiles}"/>  
      <echo message="win32.windows = ${win32.windows}"/>
      <echo message="win32.system = ${win32.system}"/>
    </target>
  </project>

output build.xml
[echo] win32.common.autostart_menu = C:\Dokumente und Einstellungen\All Users\Startmen\u00b3\Programme\Autostart
  [echo] win32.common.desktop = C:\Dokumente und Einstellungen\All Users\Desktop
  [echo] win32.common.documents = C:\Dokumente und Einstellungen\All Users\Dokumente
  [echo] win32.common.files = C:\Programme\Gemeinsame Dateien
  [echo] win32.common.programs_menu = C:\Dokumente und Einstellungen\All Users\Startmen\u00b3\Programme
  [echo] win32.common.start_menu = C:\Dokumente und Einstellungen\All Users\Startmen\u00b3
  [echo] win32.common.templates = C:\Dokumente und Einstellungen\All Users\Vorlagen
  [echo] win32.personal.autostart_menu = C:\Dokumente und Einstellungen\Administrator\Startmen\u00b3\Programme\Autostart
  [echo] win32.personal.desktop = C:\Dokumente und Einstellungen\Administrator\Desktop
  [echo] win32.personal.favorites = C:\Dokumente und Einstellungen\Administrator\Favoriten
  [echo] win32.personal.documents = C:\Dokumente und Einstellungen\Administrator\Eigene Dateien
  [echo] win32.personal.programs_menu = C:\Dokumente und Einstellungen\Administrator\Startmen\u00b3\Programme
  [echo] win32.personal.sentto = C:\Dokumente und Einstellungen\Administrator\SendTo
  [echo] win32.personal.start_menu = C:\Dokumente und Einstellungen\Administrator\Startmen\u00b3
  [echo] win32.personal.templates = C:\Dokumente und Einstellungen\Administrator\Vorlagen
  [echo] win32.programfiles = C:\Programme          
  [echo] win32.windows = C:\Windows
  [echo] win32.system = C:\Windows\System32