I updated my “Tomcat Launcher” sample application for AIR 2.0 GA.
“Tomcat Launcher” allows you to start / stop Tomcat and view the standard output log without opening a DOS box or Terminal window. It also allows you to open that log in your default Text Editor which is another new feature of AIR 2.0 that I covered in the “AIR2Excel” sample application. Tomcat Launcher also provides a generic example showing how to use the AIR 2.0 native process API to execute Java code.
Installation Instructions
- Make sure you have the AIR 2 runtime installed (you can download it here).
- Because Tomcat Launcher uses the Native Process API, you have to use a native installer:
- To install the application on Windows, download and run TomcatLauncher.exe.
- To install the application on a Mac, download and run TomcatLauncher.dmg.
After starting the application, enter the paths to your Java home folder and to the Tomcat installation you want to start, then click the Start button. The application will remember the folders you entered the next time you use the application. If you get a BindingException, make sure Tomcat isn’t already started. You can also click the Stop button to stop a running instance.
You can download the project here: TomcatLauncher.fxp.zip.
NOTE: If you want to compile the project, make sure you use the AIR 2 SDK available here.
2 Trackbacks
[...] See original here [...]
[...] Direct Link [...]