Hi
I have a file app_cfg containing some configurations i wanna use when running my ant-script.
app_cfg:
appl_type=java_app
depending on what application defined at appl_type i want to run different targets in my ant-script.
ex. if it is a java_app I want to run <target name=coffee/>
but if is C application I wanna run <target name=c> ect.
at this point I extract the value of appl_type with loadproperties, but how do I check the value and only run the correct target?
I have a file app_cfg containing some configurations i wanna use when running my ant-script.
app_cfg:
appl_type=java_app
depending on what application defined at appl_type i want to run different targets in my ant-script.
ex. if it is a java_app I want to run <target name=coffee/>
but if is C application I wanna run <target name=c> ect.
at this point I extract the value of appl_type with loadproperties, but how do I check the value and only run the correct target?