[
https://jira.jboss.org/jira/browse/JBIDE-4364?page=com.atlassian.jira.plu...
]
Vitali Yemialyanchyk commented on JBIDE-4364:
---------------------------------------------
find 1 intresting thing - currently we use project which associated with cc - to search
source & mapping files.
but in general case, this is a wrong way, cause hibernate cc classpath could reference to
other projects or even jars/folders out of workspace.
here we can use more complex algorithm to search/resolve path to mapping file, in general
case this doesn't solve the problem,
but it cover almost all use cases:
1) get CC classpaths
2) use these classpath to find projects in current workspace (in them priority order!)
3) try to find correspond resource in one of the workspace projects
4) if we can't find correspond resource in any of the projects - open the original
file which hibernate cc reference
from my point this algorithm look like best solution in our case or at least
it is better than first original one...
any thoughts?
"Open Mapping File" doesn't work when there are no
project associated with a console configuration
--------------------------------------------------------------------------------------------------
Key: JBIDE-4364
URL:
https://jira.jboss.org/jira/browse/JBIDE-4364
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.0.1.GA, 3.1.0.M1
Reporter: Vitali Yemialyanchyk
Assignee: Vitali Yemialyanchyk
Priority: Minor
Fix For: 3.1.0.M2
there are no exceptions, it doesn't open file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira