On 2/11/08, Rob Hills <[EMAIL PROTECTED]> wrote: > > Hi Michael, > > Michael Horwitz wrote: > > > > I can find the binary class easily enough in my > > lib, but I can't locate the source anywhere. I've hunted through my > > maven repository and can only find the binary jars there :-( I'd > have > > thought the source jar(s) would be there somewhere if my pom.xml was > > pulling it in, so maybe I'm looking in the wrong place. > > > > > > There are two ways to do this: > > > > 1) Press Ctrl + Shift + T and open UserManagerImpl. > > 2) Navigate into the binary file under Referenced Libraries and click > > on UserManagerImpl.class > > > > Both methods will open the source file if it has been properly > > associated with the library. If you want to check, simply right click > > on the appfuse-service-2.0.1.jar entry under Referenced Libraries, > > click on properties and check that the Java Source Attachment points > > to a valid source jar file in your local repository. > Yes, therein lies my problem. When I do that, it's not pointing to any > source, I get the "Source not found" page with the "attach source" > button. My problem of course is that I can't locate the source to > attach. I've been hunting in between these emails and I'm convinced the > source is not in my Maven repository. > > Is it possible you've done something else to get the Appfuse source > pulled down?
No - definitely just ran mvn eclipse:eclipse. I would try the following: 1) Shut down Eclipse and run mvn eclipse:clean on your project (WARNING: you will loose any manual Eclipse settings you have made on your project) and then run mvn eclipse:eclipse. Open eclipse and refresh all relevant projects. You should now have sources attached. 2) Check your local repository to see if it contains a sources jar file for the appfuse-service project. 3) Right click on the appfuse-service jar file enry under Referenced Libraries, click on properties and check the settings for the source jar file. Mike Cheers, > > Rob Hills > Waikiki, Western Australia > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
