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 113629 - Provide support for Eclipse projects
Summary: Provide support for Eclipse projects
Status: RESOLVED DUPLICATE of bug 135158
Alias: None
Product: projects
Classification: Unclassified
Component: Eclipse project importer (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker with 1 vote (vote)
Assignee: Jesse Glick
URL: http://wiki.netbeans.org/NativeEclips...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-23 16:24 UTC by Roman Strobl
Modified: 2008-06-17 01:05 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Strobl 2007-08-23 16:24:47 UTC
Many developers consider switching from Eclipse to NetBeans as too difficult. Even though NetBeans provides an Eclipse
importer, it works only some types of projects and it is only a one way solution. There are teams that use Eclipse
exclusively and if we want to get adopted in these teams it needs to be absolutely simple to get NetBeans up & running
side by side with Eclipse. 

So it would be very useful to be able to open an Eclipse project directly in NetBeans and then work with it in a
multi-IDE environment. This way developers can test NetBeans to see if it's good for them while working on the project.
Usually they don't have time to evaluated different tools, and Eclipse is considered as "good enough" so for many
developers it is not worth the overhead to switch. Being able to open an existing Eclipse project and just try NetBeans
would help to increase the probability that NetBeans will become adopted.

Note: IntelliJ IDEA 7 has added this feature recently.
Comment 1 _ wadechandler 2007-08-23 16:53:01 UTC
I think this will be crucial functionality in the future, and I mean the near future.
Comment 2 _ tboudreau 2007-08-24 02:03:53 UTC
(posting here my comments to the nbdt list)

I agree it would be wonderful if this worked;  I'll also state my reservations:

 - It commits developers to a permanent game of catch-up.  Competing IDEs can (and will) change their formats just to break this feature, just as Microsoft 
did for years with the ever-changing Word document format.

 - Reading the data is one thing;  writing it is another - and such support must be read/write, or someone would have to fire up Eclipse or Intellij just to 
change their classpath.  Managing to do this in a way that doesn't *ever* screw up _even unknown future versions_ of somebody else's project metadata is 
likely to be very hard.  And it only takes one bug to have people all over the place blogging that NetBeans screwed up their project.  Negative word-of-
mouth is much more resonant than positive.  Such damage would be hard to undo.

With Eclipse, it *might* be possible to actually use Eclipse's project reading code, which would provide a margin of safety;  no such thing would be true of 
IDEA.

In short, while I'd love to see this be possible, I would rather see us not do something than do it badly.  So were native support for other IDEs projects to be 
implemented, it would have to be very, very, very solid and well done.  And since such support is a bit like affixing a big "Kick Me" sign to our backsides, as 
far as the competition is concerned, I'm not so sure that is possible.

I'm not saying it isn't worth prototyping and exploring;  just that the bar needs to be set very, very high for this feature.
Comment 3 Jesse Glick 2008-05-22 23:39:03 UTC
Has been considered but is not being planned. Rather considering improved importer.

Contrary to Roman's statement, IDEA 7 does not have true native support for Eclipse projects. It does a one-way import
of most metadata, with the option to read/write just .classpath (with caveats).
Comment 4 David Konecny 2008-06-15 23:13:56 UTC
For NB6.5 we would like to improve Eclipse import to:
* import Java and Web projects
* synchronize NetBeans project with Eclipse one (just one way synchronization from Eclipse to NetBeans possible later
enhanced to by bidirectional)
This solution should give users ability to try out fully featured native NetBeans project types. Created project
instance will automatically update its classpath and perhaps other settings if these changed in Eclipse.
Comment 5 Jesse Glick 2008-06-17 01:05:41 UTC

*** This issue has been marked as a duplicate of 135158 ***