• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question on migrating from JBuilder to Eclipse

 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic