BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   Alternative entry points (http://www.blackberryforums.com/showthread.php?t=129335)

sjeps 05-12-2008 03:28 AM

Alternative entry points
 
I'm trying to automate a build process, so I need for my application to buld completely from a build script (in this case using Ant). I'm using the bb-ant-tools task and I'm struggling to find a way to specify an alternative entry point into my application.

My code is very simliar to the example;

Livelink - Redirection

Then in my script;

<rapc output="${cod.name}" srcdir="${temp.src}" destdir="${unobf.folder.path}">
<jdp icon="i.png" runonstartup="true" desc="${midlet.vendor}" vendor="${midlet.vendor}" version="${midlet.version}" title="${application.name}" arguments="gui" type="cldc"/>
</rapc>

I can get the autostarting and icon swapping fine, but I can't find the correct way to specify my entry point for running the application when selecting it from the menu.

Any help or pointing at a decent tutorial appreciated. I've google'd loads but can't find anything...

sjeps.

sjeps 05-12-2008 05:58 AM

Figured it out, needed a nested <entry> attribute with a different arguement to the main entry point.


All times are GMT -5. The time now is 06:58 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.