Use it in this way ant build -Dtorque.home="value for torque.home"
. Using -D
param you can pass property from command line directly to build. If you pass value from command line to build it will be visible in all your builds even if you pass invokeAll=false
.
I think that here is the answer how to pass parameters from eclipse to ant (Eclipse->myproject->right click on build.xml->Arguments->VM Arguments
-DappRoot=ECM -DappName=ESW -Dapp.module=FNT -Dapp.env=LOC -DcloneNumber=1
)