I found a very good example about path variables in the eclipse help documentation: workbench-concept-user-guide-ant and external tools
, Eclipse - c:\eclipse\workspace, : MyProject1 MyProject2. MyProject1 , MyProject2 c:\projects\MyProject2. , , /MyProject 2/MyFolder/MyFile.txt.
<p>
${workspace_loc}c:\eclipse\workspace
${workspace_loc:/MyProject1/MyFile.txt}c:\eclipse\workspace\MyProject\MyFile.txt
${workspace_loc:/MyProject2/MyFile.txt} c:\projects\MyProject2\MyFile.txt
${project_loc} c:\projects\MyProject2
${project_loc:/MyProject1/MyFile.txt} c:\eclipse\workspace\MyProject
${container_loc} c:\projects\MyProject2\MyFolder
${resource_loc} c:\projects\MyProject2\MyFile.txt
${project_path} /MyProject2
${container_path} /MyProject2/MyFolder
${resource_path} /MyProject2/MyFolder/MyFile.txt
${project_name} MyProject2
${container_name} MyFolder
${resource_name} MyFile.txt
${build_type} none
</p>