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.
The class-files in the jar and the deployment descriptors are both alright. If I unjar
the jar file and jar the content again (using the jar-command on the command line with
the same parameters as in my tool), JBoss deploys the jar.
The jar-file of my tool is 100 bytes bigger than the command-line jar.
I donÃÂt have any idea what happens there. Can anyone help me? Thank you in advance.
zippy
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848764#3848764
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848764
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user