![]() http://www.alinous.org go to English site |
|
|||||||||||||||||||||||||||||||||||||||
![]() |
Getting started Alinous-CoreAfter the installation of Alinous-Core Eclipse Plugin, you should do is to make a sample project run. Then you can understand how easy Alinous-Core is. This document contains 2 steps. Setup a Sample ProjectShow context menu By doing Right-Click on the explorer. ![]() Select "Alinous-Core" -> "Sample Project". ![]() Input Project's name. And push "Next >" button. ![]() A dialog to select database will appear. Please push "Finish" Button. ![]()
A project will be created. ![]() Run a Sample Project and debug it.Select "Run" -> "Debug" from the top menu of the Eclipse. ![]() Do Double-Click at the "Alinous" in listbox which is at the left side of the dialog. ![]() Then a new debug configration named "New_configration" is created. Next, push the "Browse.." button. ![]() A dialog box to select exsting project appears. Select a sample project to run. ![]() After select the project to run, the "Debug" button will be enabled, so push "Debug" button. Then embeded Alinous-Core server launch and output log into the process console in the Eclipse workbench. ![]() We can run web page by accessing http://localhost:8080 If we want to stop the server, then push button at
the process console.Please stop the server before exit Eclipse workbench, and don't run the server twice. ![]() We can set breakpoint. After "*.alns" file with the editor provided by Alinous-Core Eclipse Plugin, do Double-Click at point where a blue point is there in the following picture. ![]() When we access a page with breakpoint and the server thread execute before the line where we set breakpoint, the perspective of the Eclipse will change and we can see variables and do Step execution. Click following picture, we can see big one. ![]() |
|||||||||||||||||||||||||||||||||||||||