Skip to Main Content

SQLcl: MCP Server & SQL Prompt

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

SQLcl Project export should remove stale APEX alias folders when the application alias changes

Alexander KluevJun 5 2026

Environment:
- SQLcl 26.1.2
- APEX 26.1
- SQLcl Project
- APEXlang export structure

Description:
When an APEX application alias changes, SQLcl Project export creates a new alias-based folder under the application export directory, but it does not remove the old alias folder.

To Reproduce:

  1. Run project export -o APEX.<app_id>
  2. Change application alias in apex builder
  3. Run project export -o APEX.<app_id> again

Example structure:

src/database/<schema>/apex_apps/fNNN/<old-app-alias>/
src/database/<schema>/apex_apps/fNNN/<new-app-alias>/

Expected result:
SQLcl Project export should remove or replace the stale alias-based folder, or provide an option to clean the target application export directory before writing the new export.

Actual result:
The old folder remains in the repository.

Impact:
The stale folder can confuse code reviews, AI agents, and project maintainers because it looks like more than one current APEXlang application source tree exists for the same application.

Comments
Post Details
Added on Jun 5 2026
3 comments
428 views