Hi All, I have gotten into the habit of creating my jar files with source in place i.e. my jar files contain .class and .java files in the same directory tree.
Recently I encountered a problem with this: after deployment of an ear file containing my jar file, a JSP threw an error: jasper.JasperException tossed:Unable to compile class for ***: Public class *** must be defined in a file called "***". A friend told me to remove the source files, which I did - and the problem went away. So, what is the best practice for packaging source? I know the Apache libraries provide separate source downloads, but I always thought that was just to keep file sizes low.. Rob :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
