Sunday, February 14, 2010

Code formatting test

By using this formatting tool (or this) I'm able to display code snippets properly in my blog.

<target name="build"
depends="copydata,copyresources">
<echo message="Building ${bundle_name} in ${component_name}..." />
<mkdir dir="${build_root}/build/${bundle_name}/bin" />
<mkdir dir="${build_root}/output" />
<copy todir="${build_root}/${bundle_name}/bin/">
<fileset
dir="${build_root}/build/${bundle_name}/src/">
<include name="${bundle_name}.xml" />
<include name="**/*.png" />
<include name="**/*.gif" />
</fileset>
</copy>
<antcall target="compile_with_javac" inheritrefs="true" />
<antcall target="compile_with_iajc" inheritrefs="true" />
<antcall target="renameoutput" />
</target>

No comments: