aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes question on migrating from JBuilder to Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "question on migrating from JBuilder to Eclipse" Watch "question on migrating from JBuilder to Eclipse" New topic
Author

question on migrating from JBuilder to Eclipse

Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
We use JBuilder for java server side related work, that means there is no GUI development work involved there.
Please point me to resources that can be helpful with migration from JBuilder to Eclipse.
Kishore.


Kishore
SCJP, blog
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
What kind of stuff are you looking for exactly?
I was in the same boat as you're now about a year ago, all it took me was getting used to new keyboard shortcuts and menu layout (and creating new projects as Eclipse can't read JBuilder project files).


42
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
I was able to figure out how to create the new project and enable remote debugging.
We have a setup to autogenerated jpr files for JBuilder using a properties file. Is it possible to auto-generate similar files for Eclipse.
If you have a source path, it is possible to setup JBuilder such that it only shows directories which have source files(ignores directories with no source files and so there is less clutter on the package view). Is it possible to setup Eclipse like that??
Thanks,
Kishore.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Eclipse project files like JBuilder project files are simple XML files named ".project".
Then each project has a classpath file, which is also an XML file named ".classpath
These are stored in a directory per project under your Eclipse/workspace directory.
Here the project links to external directories on the network for everything, the classpath uses a combination of project and external jars.
Darn forum won't let me post sample files...
[ March 24, 2004: Message edited by: Jeroen Wenting ]
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
one last question.
If I have 10 directories in the package explorer(ie the source path) and only 2 of them actually hava .java files. Is it possible to see only the 2 directories in the list of directories in the explorer.
That would be helpful, if not I have to scroll up and down to get to different directories.
Kishore.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
You might find some filter settings in the configuration menu of the package explorer (the triangle on the top right).
But I actually don't use the package explorer that much to find java classes - ctrl-shift-T is your friend!


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
And so you learn something new... Never noticed that option, could come in handy (though I'm now quite used to the package explorer, having used it for the last year or so).
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16141
    
  21

Originally posted by Kishore Dandu:
one last question.
If I have 10 directories in the package explorer(ie the source path) and only 2 of them actually hava .java files. Is it possible to see only the 2 directories in the list of directories in the explorer.
That would be helpful, if not I have to scroll up and down to get to different directories.
Kishore.

In the Package Explorer, the directories that you've marked as source code directories show up with special decorations. This is different from the Navigator which shows the actual filesystem layout.
There's an option on whether to make the package names display in Java (or flat) package name format (com.mousetech.util) or in directory tree format (expandable). This can be very convenient.
I also have adopted the common convention of placing Java source in a directtory named java/src (along with the JavaDoc package.html for the affected package).
Eclipse has a number of quick-navigation features. Press Ctrl and mouse-over a method name and it will hightlight. Click on the name and Eclipse will jump to the method's declaration. Up on the toolbar there are arrow buttons that allow jumping back. Also popup documentation is useful.
A plugin that I've found very helpful will allow you to select an item of code and it will search for and display all the callers.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Tim Holloway:
Eclipse has a number of quick-navigation features. Press Ctrl and mouse-over a method name and it will hightlight. Click on the name and Eclipse will jump to the method's declaration.

Or press F3...
Up on the toolbar there are arrow buttons that allow jumping back.

Alt-ArrowLeft
A plugin that I've found very helpful will allow you to select an item of code and it will search for and display all the callers.

The Call Hierarchy? Ctrl-Alt-H - it's now integrated into Eclipse 3.0!
http://eclipse-tools.sourceforge.net/shortcuts.html might be of interest...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question on migrating from JBuilder to Eclipse