Compiling and saving
You can compile and save files.
About this task
Procedure
- Compile all modified files in an element by clicking the Compile All button.
- Save all modified files in an element by clicking Ctrl+S)
or closing the element. (Save one file by closing it and responding Yes to the Save Resource query. Saving a file compiles it.
You must save the element as well as each modified file. To automatically save the element each time you save a file, click Autosave Java design element on save of individual Java sources.
and check - If you attempt to save a file with errors, a dialog appears. Click Yes to continue with the save operation. Click No to not save.
- If you attempt to close an agent, library, Web provider, or Web consumer with errors, a dialog appears listing the erroneous files. Click Save and Close All to continue with the save and close operation. Click Close Without Saving to close without saving the erroneous files. Click Cancel to return to the agent or library.
What to do next
To turn off prompting, click Prompt me on save if there are Java errors.
and clearIf an agent, provider, or consumer references a Java™ library with errors, the run time fails with a "Class not found" exception.