Ant script to choose between multiple version of classpaths

前端 未结 2 953
天涯浪人
天涯浪人 2020-12-22 08:02

I am new to Ant scripts.

below is description of requirement

in my workspace, there are various projects and I have to have my project work on RAD and eclips

2条回答
  •  臣服心动
    2020-12-22 08:21

    I would like to share the approach that I finally implemented.

    There were classpath, settings and some project config xmls that were dependent on runtime.

    In each project we created a runtime_classpah & runtime_settings and configxml_runtime version of each file.

    Created a target in ant that takes in runtime as param ,itrates over each project & copies contents of classpath_runtime to classpath ,setting_runtime to settings.

    And a target that overrites configxml with contents of configxml_runtime

提交回复
热议问题