View Full Version : How to traverse java packages in terminal ?
November 11th, 2009, 03:40 AM
When we create java projects , we usually have many packages. They actually are nested folders.
when i want to switch back and forth between packages in my project using terminal, it becomes hell lot of work.
Is there any kind of tool which simplifies this process ?
November 11th, 2009, 03:58 AM
I for one don't understand what exactly "switching back and forth" in the terminal is supposed to do/mean.
If you mean compiling (only) certain packages then I guess you should learn using "makefile"s. If you were using an IDE (eclipse,netbeans) they'd do that for you automatically.
November 11th, 2009, 05:38 PM
also not sure what you mean -- do you mean something to cut down on the typing required for cd'ing around the package directory structure?
if so, then you could check cdbm (http://perlmeister.com/scripts/cdbm.html), a handy perl script from Mike Schilli which allows you to bookmark directories you cd to frequently.
theres also a project called bookmark tools (http://www.bookmark-tools.com/) which sounds similar, but covers more than just cd'ing.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.