[jboss-user] [JBoss Tools] New message: "Re: Adding JBoss AS source to a project"

Denis Golovin do-not-reply at jboss.com
Fri Jan 29 15:33:33 EST 2010


User development,

A new message was posted in the thread "Adding JBoss AS source to a project":

http://community.jboss.org/message/523063#523063

Author  : Denis Golovin
Profile : http://community.jboss.org/people/dgolovin

Message:
--------------------------------------------------------------
It works only for Debug view, because sources to lookup attached to particular process.
 
But you're right that there are several places where you can access sources in eclipse:
1. Classpath jar browsing
2. Ctrl+Click navigation in source
3. Debug View Stacktrace browsing
 
1 and 2 are based on sources attached to jar files in project Classpath
3 is actually using "chain of responsibility", it tries to get sources attached to jars and then source lookup (need to check if that right suggestion )
 
So solution here would be to have field or complex widget (like Source Lookup) in new server runtime  wizard and server runtime editor to configure server sources location(s)/lookup. As soon as we have that 1,2 and 3 can be configured automatically for project and server launcher.

For instance, you created JBoss AS 4.2.2 runtime and provided an archive with sources. This archive can be used to initialize Java Source Attachment preferences for every jar in server classpath container and that means points 1,2 should work. Source Lookup also can be configured using provided archive and that makes point 3 working as well.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/523063#523063




More information about the jboss-user mailing list