Re: Proper Setup of Java ANT Projects
Re: Proper Setup of Java ANT Projects
- Subject: Re: Proper Setup of Java ANT Projects
- From: Marc Respass <email@hidden>
- Date: Wed, 15 Nov 2006 15:28:14 -0500
Dude, just get Eclipse. XCode works hard to be a good dev tool for Mac development. Java dev isn't its strong suit but Eclipse has built-in support for Ant and naturally supports the Java way of doing things.
If you must use XCode, then lay out your project the way you want it on the file system and add your sources to the project. When you create a new source file, XCode asks your for a location so just select your folder. XCode does not normally show itself according to the file system and it has no support for Java packages (at least not like Eclipse and other Java IDEs do) but it can certainly work with files in locations other than the project folder's root.
Hope this helps Marc On Nov 15, 2006, at 3:06 PM, Brian Marshall wrote: Hi All, New Xcode user here. So evidently I’m not smart enough to figure out how to operate Xcode; and apple’s documentation is thick with theory and methodology but quite light in how-to’s for slightly lower level tasks. Especially when it comes to things not geared towards Mac OS targeted software. I have a Java project. I would like to use ANT to compile my jar. I would also like to have a folder that contains all of my classes. Xcode creates a src folder in the new ANT project that contains the main class. No matter what I try I can’t create a new class in that src folder, nor get it to be added to the manifest, nor get it into any other sort of logical grouping with the main class or be included or encompassed in the ANT project in any way other than the fact that I see the file just sitting there loose in the project folder. So my choices are to create other folders in the Smart Files in which case I would assume it would create a class structure that would reflect that which I am entirely unwilling to accept. So I know this must be due to my having no clue about what I’m doing. Can someone please walk me through how to setup an ANT project with multiple class files including the main class, that includes all of the classes in the manifest or the ANT build and will compile everything to a single JAR? Judging by the notes and documentation out there you’d think no one has ever attempted that in Xcode before. For no it’s back to Vim and Bash. Thanks |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden