For performance reasons jboss analyses each
"codebase" to work out what packages are within
the deployment. If your directory is empty when
it is deployed (in this case at startup) it will
ignore the deployment altogether.
You could try putting a dummy class in the same
package that will later be used for the
generated classes, but I suspect what you really
want to do is dynamically generate deployments
as new packages are added.