On Thursday, October 25, 2012 4:53:28 PM UTC+2, Ben Cuthbert wrote: > > All > > I when I add my modules .java files into the jar and pass it to my > application the compiler works. But when I put the .java files of the > module into a -sources.jar and then add that to the classpath of my > application the compile does not work, and I get the following error. > > ERROR] Line 48: No source code is available for type >
It *should* work, and actually, it works for many of us (particularly those using Maven). It also works for javax.validation-1.0.0.jar and javax.validation-1.0.0-sources.jar from the GWT SDK bundle for instance. Check the layout of your -sources.jar. Running "jar xf foo.jar" and "jar xf foo-sources.jar" in the same folder should put the *.java next to their *.class counterparts. If that isn't the case, then you have a problem with your -sources.jar. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/a2PikBsDTaEJ. 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/google-web-toolkit?hl=en.
