build.xml 내 properteis 변수에 대해서 null check
<if> <condition> <or> <equals arg1="${project.name}" arg2=""/> <not> <isset property="project.name"/> </not> </or> </condition> <then> <property name="out.library.jar.file" location="${out.absolute.dir}/classes.jar" /> </then> <else> <property name="out.library.jar.file" location="${out.absolute.dir}/${project.name}.jar" /> </else> </if> |
쉬운것 같은데 어렵네.
unset이나 not null이 있으면 좋으련만..