So I have had enough of most IDEs and would like to stay clear from them as I have discovered the power of using Emacs/Aquamacs for typing pretty much anything.
Thus I need some sort of introduction to how to import packages (java files) from other folders than the directory I am working in.
My current working directory:
~/Documents/Java/HelloWorld/
Say I need to import ' edu.umd.cs.piccolo.nodes.PText ' from the folder ~/Documents/Java/piccolo/build/...
(I don't want to have to copy the whole directory to the /HelloWorld/ folder although that works fine. I need to import independently of projects/folders/current applications), how do I go about doing this?
In the file ~/Documents/Java/HelloWorld/HelloWorldExample.class I need to import it by writing import edu.umd.cs.piccolo.nodes.PText; but this clearly doesn't work, as I need to point a directory level up and then further into the piccolo/build/edu/... folders.
What is the syntax for doing this? In the terminal it would be ' ../ 'but it obviously doesn't work, since traversing directories/packages is done with ' . ' .
Help would be much appreciated, since I cannot seem to google answers to this...
Thus I need some sort of introduction to how to import packages (java files) from other folders than the directory I am working in.
My current working directory:
~/Documents/Java/HelloWorld/
Say I need to import ' edu.umd.cs.piccolo.nodes.PText ' from the folder ~/Documents/Java/piccolo/build/...
(I don't want to have to copy the whole directory to the /HelloWorld/ folder although that works fine. I need to import independently of projects/folders/current applications), how do I go about doing this?
In the file ~/Documents/Java/HelloWorld/HelloWorldExample.class I need to import it by writing import edu.umd.cs.piccolo.nodes.PText; but this clearly doesn't work, as I need to point a directory level up and then further into the piccolo/build/edu/... folders.
What is the syntax for doing this? In the terminal it would be ' ../ 'but it obviously doesn't work, since traversing directories/packages is done with ' . ' .
Help would be much appreciated, since I cannot seem to google answers to this...