AnsweredAssumed Answered

ls.executable doesn't work on windows

Question asked by bernd.ruecker on Nov 8, 2010
Latest reply on Nov 8, 2010 by bernd.ruecker
Hey guys.

This code in the ant build doesn't work on windows:

  <condition property="ls.executable" value="dir.bat" else="ls">
     <os family="windows"/>

    <exec output="target/libs.engine.txt" executable="${ls.executable}">
      <arg line="${ls.executable.options} ${target.distro.root}/setup/files/libs/engine/runtime"/>


C:\Projekte_Activiti\activiti\qa\build.xml:59: The following error occurred while executing this line:
C:\Projekte_Activiti\activiti\distro\build.xml:105: Execute failed: Cannot run program "dir" (in directory "C:\Projekte_Activiti\activiti\distro"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden

It seems that the whole library dependency management get problems if I cannot run this. Can anybody take care of this and get it running in a OS independent manner?