OK, I'm taking Comp Sci classes at my university (Which requires everyone to have a laptop, but if it isn't an IBM, you get no tech support) Anyway, after struggling through my first couple of Java assignments, and then having Eclipse freeze up on too much for me to take, I went back to trying to use Xcode.
In all the other IDE's I worked with, I could define a main method in each class of a project, then I could go through and adjust the build/run settings to select which main method I wanted to execute. When I tried doing this in Xcode, I found that no matter what I tried, I couldn't create Two Java Tool Targets, and have each one compile and run different main methods. Basically I liked to write each class and include a main method for each so I could test them individually for debugging purposes.
NOW: Was the reason that I couldn't set up more than one separately executable Target because In a Java (Tool) Project I should only have one main method that executes?
Bear in mind that I'm a beginner, so the complexity of my programs to date encompasses enumerating strings passed as command line arguments.
In all the other IDE's I worked with, I could define a main method in each class of a project, then I could go through and adjust the build/run settings to select which main method I wanted to execute. When I tried doing this in Xcode, I found that no matter what I tried, I couldn't create Two Java Tool Targets, and have each one compile and run different main methods. Basically I liked to write each class and include a main method for each so I could test them individually for debugging purposes.
NOW: Was the reason that I couldn't set up more than one separately executable Target because In a Java (Tool) Project I should only have one main method that executes?
Bear in mind that I'm a beginner, so the complexity of my programs to date encompasses enumerating strings passed as command line arguments.