How to specify base dir then we run ant like ant -f somedir/dir/build.xml

前端 未结 4 1768
猫巷女王i
猫巷女王i 2021-02-13 14:29

How to specify base dir then we run ant like ant -f somedir/dir/build.xml. Ant sets basedir relative to build.xml, if I specify



        
4条回答
  •  梦谈多话
    2021-02-13 15:01

    another solution (if it makes more sense in some cases) could be to override basedir via the var task from the antcontrib extension as described here: https://stackoverflow.com/a/25786329/1915920

提交回复
热议问题