JBoss Community

Re: JBoss tools 3.2B1 sometimes doesn't deploy classes in web module

created by Jan Beernink in JBoss Tools - View the full discussion

I've also noticed the issue of seemingly random libraries being listed as deployable thing by JBoss Tools. After I did some investigating, I noticed that all of the libraries listed as deployable contained a Main-Class entry in their manifest file.

 

I was able to reproduce this by creating an almost empty jar file containing a single class with an empty static main method and an manifest file with the Main-Class attribute set and added this to the EarContent/lib directory of my project. After performing a full publish, this jar was also listed as deployed module in the servers view. Both jbosscache-core.jar and jgroups.jar have a Main-Class entry in their manifest file, so I'm assuming that this is the case for the other jar files you mentioned as well.

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community