7 Replies Latest reply on Jun 6, 2012 3:41 AM by Daniel López Lacalle

    Error compiling for Blackberry after updating to Rhodes 3.3.3

      I updated to Rhodes 3.3.3 and so far everything seems to work fine except for Blackberry compilation.

       

      This is the error:

       

      CMD: "C:/Archivos de programa/Java/jdk1.7.0_01/bin/javac.exe" -g -d C:/RhoStudio/workspace/Bitboxer/bin/tmp -classpath C:/RhoStudio/workspace/Bitboxer/bin/RhoBundle.jar;C:/RhoStudio/workspace/Bitboxer/bin/preverified/RubyVM.jar -bootclasspath "C:/Archivos de programa/Research In Motion/BlackBerry JDE 4.6.1/lib/net_rim_api.jar" -source 1.3 -target 1.3 -nowarn @C:/RhoStudio/workspace/Bitboxer/bin/tmp/vsrc_build.files @platform/bb/build/hsqldb_build.files @platform/bb/build/rhodes_build.files

      platform\bb\rhodes\src\com\rho\rubyext\SignatureCapture.java:23: error: cannot find symbol

      import net.rim.device.api.ui.TouchEvent;

                                  ^

        symbol:   class TouchEvent

        location: package net.rim.device.api.ui

      platform\bb\rhodes\src\com\rho\rubyext\SignatureCapture.java:24: error: cannot find symbol

      import net.rim.device.api.ui.TouchGesture;

                                  ^

        symbol:   class TouchGesture

        location: package net.rim.device.api.ui

      platform\bb\rhodes\src\com\rho\rubyext\SignatureCapture.java:201: error: cannot find symbol

        protected boolean touchEvent(TouchEvent message) {

                                     ^

        symbol:   class TouchEvent

        location: class SignatureCapture.SignatureField

      platform\bb\rhodes\src\com\rho\rubyext\SignatureCapture.java:72: error: cannot find symbol

        Ui.getUiEngineInstance().setAcceptableDirections(Display.DIRECTION_NORTH);

                                                                ^

        symbol:   variable DIRECTION_NORTH

        location: class Display

      platform\bb\rhodes\src\com\rho\rubyext\SignatureCapture.java:72: error: cannot find symbol

        Ui.getUiEngineInstance().setAcceptableDirections(Display.DIRECTION_NORTH);

          ^

        symbol:   method getUiEngineInstance()

        location: class Ui

      platform\bb\rhodes\src\com\rho\rubyext\SignatureCapture.java:203: error: cannot find symbol

          if (message.getEvent() == TouchEvent.MOVE) { //Move event fired

                                    ^

        symbol:   variable TouchEvent

        location: class SignatureCapture.SignatureField

      platform\bb\rhodes\src\com\rho\rubyext\SignatureCapture.java:214: error: cannot find symbol

          } else if (message.getEvent() == TouchEvent.GESTURE) { //Gesture event fired

                                           ^

        symbol:   variable TouchEvent

        location: class SignatureCapture.SignatureField

      platform\bb\rhodes\src\com\rho\rubyext\SignatureCapture.java:215: error: cannot find symbol

           TouchGesture gesture = message.getGesture();

           ^

        symbol:   class TouchGesture

        location: class SignatureCapture.SignatureField

      platform\bb\rhodes\src\com\rho\rubyext\SignatureCapture.java:216: error: cannot find symbol

           if (gesture.getEvent() == TouchGesture.TAP) { //Tap Gesture

                                     ^

        symbol:   variable TouchGesture

        location: class SignatureCapture.SignatureField

      platform\bb\rhodes\src\com\rho\rubyext\SignatureCapture.java:221: error: cannot find symbol

           } else if (gesture.getEvent() == TouchGesture.SWIPE) { //Swipe Gesture

                                            ^

        symbol:   variable TouchGesture

        location: class SignatureCapture.SignatureField

      10 errors

       

       

      Error compiling java code

      Error in build application