SUP + BlackBerry: No definition found for exported static routine: .main
I'm trying to use SUP Workspace 1.5.2 to generate code for a BB Device application and then edit the code in RIM BB IDE.
I somehow managed to get the generated code to compile in BB IDE (I have opened a different thread on that) but the point is:
when I deploy the app to BB simulator the application is not visibile.
Actually when packaging the application, BB IDE warns that:
Warning!: No definition found for exported static routine: .main(String)
This means that there's no main method in the application and it cannot be started by BB runtime.
Searching in the generated code proves that actually there's no main method in the generated code.
How is this supposed to work?