[
https://issues.jboss.org/browse/JBIDE-13799?page=com.atlassian.jira.plugi...
]
Snjezana Peco commented on JBIDE-13799:
---------------------------------------
{quote}
i.e. this should be separate PR:
AS 7.2/EAP 6.1 are now recognized correctly
the fix for the issue caused by changing the editor ID for ClassFileEdtor in 3.8/4.2
the fix for the ConcurrentModificationException exception
{quote}
They are minor fixes. I have included them in one jira because the remaining features
described here, don't work correctly without them.
{quote}
And what does
"included libraries can be filtered - jsf 1.2 and hibernate 3 will be excluded by
default for JBoss AS Container" mean ? Doesn't the source container now have
knowledge that the AS container should have instead ?
{quote}
There are the "Include pattern"/"Exclude pattern" fields on the Source
Lookup preferences page. You can enter a regular expression to filter the
included/excluded libraries. That isn't related to a JBoss AS server except that the
default values are set to exclude the jsf 1.2 and hibernate3 libraries for it (the
container includes only the jsf 2.1 and hibernate4 libraries).
That is a feature users have required.
Please take a look at the screencast.
{quote}
And this:
"JBoss Runtimes now can be included in the Java Search (this feature has been
implemented in a similar way to adding PDE plugins to the Java Search)"
sounds really interesting - but isn't this a separate jira/feature ? What kind of
external container is used here ?
{quote}
There is a separate container added to the ".JBoss Servers" project that is
hidden and contains JBoss libraries. They are the same as the libraries included in the
Source Lookup. This way, the classes from a JBoss AS server can be searched using the
standard Java Search engine.
This has also been required by a user.
{quote}
"JBoss Java Project Source Container"
This one is also separate feature afacis - the name is not very informative of what it do,
nor why this is needed and how it work - i.e. why is the default Maven source container
not enough?
{quote}
I suppose you are talking about the JBoss Maven source container. It contains libraries
from a JBoss server. The JBoss Java Project Source Container contains libraries from the
project's classpath.
To be clarify, you could take a look at the screencast.
If you still think it is important to separate these bugs/features, I will do it.
However, they are related to each other and will probably have to be applied at the same
time.
Source Lookup enhancements
--------------------------
Key: JBIDE-13799
URL:
https://issues.jboss.org/browse/JBIDE-13799
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: maven
Affects Versions: 4.1.0.Alpha1
Reporter: Snjezana Peco
Assignee: Snjezana Peco
The PR includes the following enhancements:
- AS 7.2/EAP 6.1 are now recognized correctly
- the fix for the issue caused by changing the editor ID for ClassFileEdtor in 3.8/4.2
- the fix for the ConcurrentModificationException exception
- included libraries can be filtered - jsf 1.2 and hibernate 3 will be excluded by
default for JBoss AS Container
- JBoss Runtimes now can be included in the Java Search (this feature has been
implemented in a similar way to adding PDE plugins to the Java Search)
- JBoss Java Project Source Container
See
http://screencast.com/t/39LHqYx5m
Screenshot shows debugging the WeldBootstrap class in JBoss AS 7.1 and JBoss AS 7.2.
Note:
You have to have some deployment on the servers in order the WeldBootstrap class to be
created.
You can add more JBoss servers to the Java Search, but it is the best to use only one at
a time because of the performance reason.
The "Automatically add the JBoss Maven source container to all JBoss AS launch
configurations" and "Include the following JBoss Servers in the Java
Search" checkboxes aren't related. The first checkbox adds the source container
that enables finding a Java source file when debugging, the second enables finding a Java
source file using the Java Search (using the "Open type" command, for instance).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira