I've used it - works fine, but it's a little limited, out of the box.
I use Josh's
bb-ant-tools now. Here's an example target:
Code:
<target name="build" description="Build with bb-ant-tools">
<rapc output="MyLeetApp" destdir="${dest.dir}" quiet="true">
<jdp type="cldc" file="app.properties" />
<src>
<fileset dir="${src.dir}">
<include name="**/*.java" />
</fileset>
<fileset dir="${res.dir}">
<include name="**/*.png" />
</fileset>
</src>
</rapc>
</target>