12-01-2009 02:46 PM
P.S. As an experiment, try adding the following line to the .cso file then run the SignatureTool:
52525400=RIM Runtime API
12-01-2009 03:59 PM
Hi klyubin,
Solved the problem, it was my fault: my build task did not copy over the .csl file! Once I edited the build file to copy over some of the other generated files into the build directory, the signature tool recognized the need to sign RRT.
FYI, adding that line that you recommended to my .cso file also triggered the right required signatures in the signature tool.
Thanks a lot for all of your help sir, kudos to you!
12-01-2009 05:12 PM - edited 12-01-2009 05:14 PM
You're welcome!
P.S. I think you marked the wrong post as the solution. Your preceding post seems like the right solution.
P.P.S. Looks like some other Ant tasks in your Ant file aren't taking the .csl file into account either...
12-01-2009 05:16 PM
Thanks - you're right
fixed.
01-19-2012 06:01 AM
why this not compile and sign....
<project name="Finance" default="sign">
<taskdef resource="bb-ant-defs.xml" classpath="C:\bb-ant-tools-1.2.13-bin(1)\bb-ant-to
<property name="jde.home" location="C:\Eclipse\plugins\net.rim.ejde.componen
<property name="project.name" value="Finance" />
<property name="project.vendor" value="RealSimpleEdu.com" />
<property name="project.version" value="1.2.3" />
<property name="project.description" value="" />
<property name="project.icon" value="C:\Users\q09\Desktop\New folder (5)\Finance_Slab\Build\Finance\res\img\icon.png" />
<property name="src.dir" location="src"/>
<property name="res.dir" location="./res" />
<property name="lib.dir" location="./lib" />
<property name="docs.dir" location="./docs/api" />
<property name="build.dir" location="build"/>
<property name="simulator.home" location="C:\Eclipse\plugins\net.rim.ejde.componen
<property name="simulator.name" value="9530.bat" />
<target name="build" >
<mkdir dir="${build.dir}" />
<rapc output="${project.name}" srcdir="${src.dir}" destdir="${build.dir}">
<jdp title="${project.name}" vendor="${project.vendor}" version="${project.version}" icon="${project.icon}" description="${project.description}"/>
</rapc>
</target>
<target name="sign" depends="build">
<sigtool codfile="${build.dir}/${cod.name}.cod" password="${password}" />
</target>
<target name="compile">
<antcall target="releaseinfo">
<param name="url" value="${url}" />
</antcall>
</target>
<echo message="Compiling" />
<rapc exepath="${jde.home}/bin" output="${project.name}" destdir="${build.dir}">
<jdp type="library" title="${project}" description="${description}" version="${version}" vendor="${vendor}" />
<src>
<fileset dir="${src.dir}">
<include name="**/*.java" />
</fileset>
<fileset dir="${res.dir}">
<include name="**/*" />
</fileset>
</src>
</rapc>
<target name="clean">
<delete dir="${build.dir}" />
<mkdir dir="${build.dir}" />
<delete dir="${release.dir}" />
<mkdir dir="${release.dir}" />
<delete dir="${docs.dir}" />
<mkdir dir="${docs.dir}" />
<delete>
<fileset dir="." includes="*.jad" />
<fileset dir="." includes="*.zip" />
</delete>
</target>
<target name="load" depends="build,sign">
<target name="load-simulator" depends="build">
<copy todir="${simulator.home}">
<fileset dir="${build.dir}" includes="*.cod,*.cso,*.debug,*.jad,*.jar" />
</copy>
</target>
<copy todir="${simulator.home}">
<fileset dir="${build.dir}" includes="*.cod,*.cso,*.debug,*.jad,*.jar" />
</copy>
<exec dir = "${simulator.home}" executable = "cmd">
<arg value = "/c ${simulator.name}"/>
</exec>
</target>
</project>