Hi Craig,

Thank you for your prompt response.  Now that I was able to build the plugins I'm ready to move to building a BlackBerry device plugin which bring me to the next questions.

I think I can scan a BlackBerry installation and identify all the devices and so on.   I was also able to debug a J2ME application on a 7290 BlackBerry simulator via Eclipse. 

To successfully debug an J2ME application on BlackBerry, I need to copy all the output files of its own RAPC compiler (whose input is the J2ME JAR file) to the JDE simulator directory before launching the eclipse debugger.

Looking at the IDevice interface, I see a method isPredeploymentRequired() which obviously needed set to TRUE for BlackBerry device.  But I don't see a hook for execute the RAPC step as well as the copy output files step.   The questions are:  is there a work around?  If not, can you extend the IDevice interface to add the hook.

For your reference, the following snippet is an ant target added to the build.xml generated by EclipseME.  Currently I have to run this manually before debug on BlackBerry.  I'd love to do without this manual step.  Ahh, btw, I need to run BlackBerry JDWP process first before run Eclipse debug in a Remote Java Application.

    <!-- Package up for black berry debugging -->
    <target name="bb_build" depends="jar" description="Package for black berry debugging">
        <property name=" bb.buildjars.home" location="C:\Java\j2me\RIM\BB_JDE_4.1\bin"/>
        <property name="bb.simulator" location="C:\Java\j2me\RIM\BB_JDE_4.1\simulator\"/>
        <property name=" bb.api.jar" value="C:\Java\j2me\RIM\BB_JDE_4.1\lib\net_rim_api.jar" />
        <wtkrapc jadfile="${path.build.output}/${midlet.name}.jad" source="${path.build.output }/${midlet.name}.jar" codename="${midlet.name}" import="${bb.api.jar}" destdir="${path.build.output}/cod" midlet="true" />
        <copy todir="${bb.simulator}" overwrite="true">
            <fileset dir="${basedir}">
                <include name="*.cod" />
                <include name="*.debug" />
                <include name="*.alx" />
                <include name="*.cso" />
            </fileset>
        </copy>       
    </target>

Thank you for such a wonderful product.

Kindly regards,
Tom

On 8/9/06, Craig Setera <[EMAIL PROTECTED]> wrote:
Tom,

CVS needs to be cleaned up.  Those plug-ins are no longer built or
shipped.  Look in the feature.xml file to see what plug-ins are actually
still part of the shipping plug-ins.

Craig

tom phan wrote:
> Hi Craig,
>
> I try to build the plugin with the source from CVS but I failed on the
> first try.  The above class is missing.  Can u add it to the repository.
>
> Thx,
> Tom
>
> Errors:
>
> AbstractUEIDeviceImporterExtension cannot be resolved to a type
> eclipseme.toolkit.nokia/src/eclipseme/toolkit/nokia/impl
> NokiaDeviceImporterExtension.java    line 33    1155145349577    11152
> AbstractUEIDeviceImporterExtension cannot be resolved to a type
> eclipseme.toolkit.sonyericsson
> /src/eclipseme/toolkit/sonyericsson/impl
> SonyEricssonDeviceImporterExtension.java    line 33
> 1155145351186    11166
> AbstractUEIDeviceImporterExtension cannot be resolved to a type
> eclipseme.toolkit.sprint/src/eclipseme/toolkit/sprint/impl
> SprintDeviceImporterExtension.java    line 33    1155145351874    11175
> AbstractUEIDeviceImporterExtension cannot be resolved to a type
> eclipseme.toolkit.sun/src/eclipseme/toolkit/sun/impl
> SunDeviceImporterExtension.java     line 33    1155145350202    11158
> The import eclipseme.toolkit.uei.AbstractUEIDeviceImporterExtension
> cannot be resolved
> eclipseme.toolkit.nokia/src/eclipseme/toolkit/nokia/impl
> NokiaDeviceImporterExtension.java     line 16    1155145349577    11151
> The import eclipseme.toolkit.uei.AbstractUEIDeviceImporterExtension
> cannot be resolved
> eclipseme.toolkit.sonyericsson/src/eclipseme/toolkit/sonyericsson/impl
> SonyEricssonDeviceImporterExtension.java      line 16
> 1155145351186    11165
> The import eclipseme.toolkit.uei.AbstractUEIDeviceImporterExtension
> cannot be resolved
> eclipseme.toolkit.sprint/src/eclipseme/toolkit/sprint/impl
> SprintDeviceImporterExtension.java     line 16    1155145351874    11174
> The import eclipseme.toolkit.uei.AbstractUEIDeviceImporterExtension
> cannot be resolved
> eclipseme.toolkit.sun/src/eclipseme/toolkit/sun/impl
> SunDeviceImporterExtension.java    line 16    1155145350202    11157
> Unknown extension point:
> 'eclipseme.toolkit.uei.ueiDeviceImporterExtension'
> eclipseme.toolkit.nokia    plugin.xml    line 5    1155145349592    11153
> Unknown extension point:
> 'eclipseme.toolkit.uei.ueiDeviceImporterExtension '
> eclipseme.toolkit.sonyericsson    plugin.xml    line 5
> 1155145351202    11167
> Unknown extension point:
> 'eclipseme.toolkit.uei.ueiDeviceImporterExtension'
> eclipseme.toolkit.sprint    plugin.xml    line 5    1155145351889
> 11176
> Unknown extension point:
> 'eclipseme.toolkit.uei.ueiDeviceImporterExtension '
> eclipseme.toolkit.sun    plugin.xml    line 5    1155145350217    11159
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ------------------------------------------------------------------------
>
> _______________________________________________
> Eclipseme-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to