...
Deployment Packager fails with an error if it encounters statements before an object definition.
See also these pages for overview of packaging workflows, which packaging methods or folders to use for which types of changes, and SQL Parser for Oracle: