I would like to be able to edit java in xcode for the lego nxt brick in xCode. I can compile the java files and then download them onto the brick. To compile the java file for the nxt system I use nxjc instead of javac. To download the program to the brick I use nxj. I suppose I would make a custom build to compile it but which one and how. Also I need to change how it runs the program. I tried a run build script target but it won't let me add any build rules.