Hi all,
I wrote a small java tool, that generates deployment descriptors for JBoss. At the end of the generating process I jar the deployment descriptors and the configured classes in a jar.file, using the command
Runtime.getRuntime().exec("jar cf "+jarOut.getAbsolutePath()+" -C "+sourceDirectory.getAbsolutePath()+" .");from within my tool. If I copy the jar in the deploy directory, JBoss doesn´t do anything, but it recognizes, if I delete the file.