[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1811) Seam model cannot find components from jars under Maven2 Dependencies classpath container
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Thu Feb 21 14:57:42 EST 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1811?page=comments#action_12400245 ]
Alexey Kazakov commented on JBIDE-1811:
---------------------------------------
org.jboss.tools.common.model.util.EclipseResourceUtil.java:
478 if(path.startsWith("/") && path.indexOf("/", 1) > 1) {
479 IResource findMember = ResourcesPlugin.getWorkspace().getRoot().findMember(es[i].getPath());
480 if(findMember != null) {
481 s = findMember.getLocation().toString();
482 } else {
483 s = null;
484 }
This code doesn work in linux because all absolute pathes starts with "/". So it could be a path outside worspace and starts with "/".
> Seam model cannot find components from jars under Maven2 Dependencies classpath container
> -----------------------------------------------------------------------------------------
>
> Key: JBIDE-1811
> URL: http://jira.jboss.com/jira/browse/JBIDE-1811
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Environment: Linux
> Reporter: Denis Golovin
> Assigned To: Viacheslav Kabanovich
> Attachments: Screenshot-Seam - seam-maven1-src-pkg1-Test.java - Eclipse SDK .png, seam-maven-win.png
>
>
> It works fine under Windows, but it dosen't under linux
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list