This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 89577 - Import doesn't work correctly for external projects
Summary: Import doesn't work correctly for external projects
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Eclipse project importer (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@ide
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-11-18 10:55 UTC by zdary
Modified: 2008-01-04 14:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zdary 2006-11-18 10:55:11 UTC
I have tried to change IDE from Eclipse to NetBeans, but unfortunately, If you
don't have projects in workspace of eclipse, then import doesn't work. You can
have projects in a separate directory...

If you have projects in workspace of eclipse, then import works correctly.
Comment 1 Kirill Sorokin 2006-11-18 12:03:34 UTC
Reassigned to the proper component.
Comment 2 zdary 2006-11-18 12:16:47 UTC
it's Eclipse Version: 3.2.1
Build id: M20060921-0945
Comment 3 Martin Krauskopf 2006-12-20 21:16:20 UTC
You are right. Sorry for late response. I'll try to take a look at it as soon as
possible. Reproduced on Linux as well.
Comment 4 Martin Krauskopf 2006-12-20 22:27:57 UTC
I think I've debugged to the culprit. It seems that
.metadata/.plugins/org.eclipse.core.resources/.projects/*/.location binary file
slightly changed its format. Supporting more than local files. I have working
patch. I need to download some older Eclipse version to confirm it.
Comment 5 Martin Krauskopf 2006-12-21 07:25:07 UTC
Fixed in trunk. Will backport to 5.5 and go through release process soon
(probably after Christmas). Will appear on Update Center as version 1.29.0.

test/unit/src/org/netbeans/modules/projectimport/eclipse/WorkspaceParserTest.java;
  initial revision: 1.1
manifest.mf;
  new revision: 1.34; previous revision: 1.33
nbproject/project.properties;
  new revision: 1.14; previous revision: 1.13
src/org/netbeans/modules/projectimport/eclipse/WorkspaceParser.java;
  new revision: 1.10; previous revision: 1.9
Comment 6 Antonin Nebuzelsky 2006-12-21 12:57:08 UTC
> Will backport to 5.5 and go through release process soon.

Yes, this must be backported for 5.5 and 5.5.1.