RTLAB Real-Time System Build automation School of Electronics Engineering College of IT Engineering Kyungpook National University Jun Sang ho (Rm) IT1-501 (T) (E) (W) rtlab.knu.ac.kr Ant
26 November 2010 #2 RTLAB Real-Time System Content Ant Ant example Ubibuilder Ubibuilder for ESPSM3 Q & A
26 November 2010 #3 RTLAB Real-Time System Ant Ant is a Java based tool for automating the build process Similar to make but implemented using Java –Platform independent commands XML based format –Avoids the dreaded tab issue in make files Easily extendable using Java classes Open source Each build file contains –A project –At least 1 target Targets are composed of some number of tasks Build files may also contain properties –Like macros in a make file Comments are within <!-- blocks
26 November 2010 #4 RTLAB Real-Time System Ant example(1) A project –tool_ubibuilder At least 1 target –config –clean –all__upgrade_config –all__clean Basic task –exec
26 November 2010 #5 RTLAB Real-Time System Ant example(2) A project –Exe_test_sam3s At least 1 target –config –build –clean –doc –run –restart Optional task –gant
26 November 2010 #6 RTLAB Real-Time System Ubibuilder First, Ant is performed default property in project element. Next, Ant perform target depends property by order. Each target have task(gant). Gant is groovy-based build system. Gant has perform “Ubibuilder.groovy” clean config build rebuild project target task 1 n 1 n default sequencebuild.xml
26 November 2010 #7 RTLAB Real-Time System Ubibuilder for ESPSM3 Important
26 November 2010 #8 RTLAB Real-Time System Q & A Thank you