Created
September 7, 2011 02:09
-
-
Save stevez/1199572 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="create-cod" if="blackberry.trigger"> | |
<exec dir="${dist.dir}" executable="java" failonerror="true"> | |
<arg value="-cp"/> | |
<arg value="${platform.home}/bin/rapc.jar"/> | |
<arg value="net.rim.tools.compiler.Compiler"/> | |
<arg value="import=${platform.bootclasspath}"/> | |
<arg value="codename=${name}"/> | |
<arg value="-cldc"/> | |
<arg value="jad=${basedir}/${dist.dir}/${dist.jad}"/> | |
<arg value="${basedir}/${dist.dir}/${dist.jar}"/> | |
</exec> | |
<property file="${dist.dir}/${dist.jad}"/> | |
<echo file="${basedir}/${dist.dir}/${name}.alx"> | |
<loader version="1.0"> | |
<application id="${name}"> | |
<name> | |
${MIDlet-Name} | |
</name> | |
<description> | |
${MIDlet-Description} | |
</description> | |
<version> | |
${MIDlet-Version} | |
</version> | |
<vendor> | |
${MIDlet-Vendor} | |
</vendor> | |
<copyright> | |
${MIDlet-Copyright} | |
</copyright> | |
<fileset Java="1.0"> | |
<directory/> | |
<files>${name}.cod</files> | |
</fileset> | |
</application> | |
</loader> | |
</echo> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment