09-20-2009 02:21 PM
Method: use Blackberry Eclipse plugin
I have installed the complete version of Eclipse that comes with Blackberry.
When using Eclipse, under "Project Explorere", I right-click an html file "setTimeout-test.html"
I then select "Run As > Blackberry Web"
| Error: HTTP Port can not be found!
| Project is not deployed to any runningserver that has an HTTP Port.
How can I fix this? Is there a web page that providescomplete instructions?
09-24-2009 10:29 AM
You will need to have an instance of a Web Server installed on your machine (e.g. Tomcat, JBoss, etc). Then, you can open the Eclipse view “Servers” and add a new server instance pointing to the web server locally installed.
After installing this “web server adapter”, you must deploy your web application to the web server in the standard Eclipse fashion (right click on the server and select “Add and Remove Projects”), then select the web application.
The last step is to start the server adapter (right click on the server and click “Start”). Then you will be to run or debug the web application.
These steps can also be found here:
09-26-2009 02:31 AM
I get to step 11:-
| 1. Right-click the new server configuration and select Add and Remove Projects.
- and get the error:-
| There are no projects that can be added or removed from this server.
I have a project in Eclipse. I have a build.xml file with targets "deploy", "deploy copy", "js.minify", "js.copy", "js.rollups". The project really exists.
I realize this is an issue with Eclipse, not Blackberry, but if you have any advice, I'd appreciate it.