|
|
|
|
|
- Overview
- Test a Java project in the editor
- Compiling a Java project in WINDEV
- Compiling a Java project
- Compiling a WINDEV executable in Java
Testing a Java project and compiling it
When your Java application is developed, you can run the test of the Java project and compile it before creating the archive. Test a Java project in the editor During the test of a project from the editor, the project is compiled and started in Windows. The project is not compiled in Java. Reminder: To launch a project test, in the "Project" pane, in the "Test mode" group, pull down "Test mode" and select "Debug project". Compiling a Java project in WINDEV Compiling a Java project A Java project is compiled to: - identify programming errors in the WLanguage code.
- display controls, processes, WLanguage functions not available in Java.
These errors appear in purple in the "Compilation errors" pane. Remark: The number of WLanguage functions usable in a JAVA project is limited in this version.. This number of functions will increase in forthcoming versions. To compile a Java project, on the "Project" tab, in the "Project" group, expand "Recompile and synchronize" and select "Recompile project". Compiling a WINDEV executable in Java From a WINDEV project used to create an executable, you can also create a Java application. To do so, a new configuration must be added to the project: - Start the wizard for creating a new configuration: in the "Project Explorer" pane, display the context menu for the "Configurations" option and select "New configuration".
- In the wizard, select the "Java archive" generation type.
- Select the existing project elements that must be included in this configuration. These elements will also be included in the generated archive.
- Confirm. The project configuration is created.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|