Re: Putting resources in JAR archives
Re: Putting resources in JAR archives
- Subject: Re: Putting resources in JAR archives
- From: David Arndt <email@hidden>
- Date: Tue, 23 Dec 2003 00:39:50 -0700
I don't quite follow.
I have my project files organized in directories in the Finder. I have
them all in a directory, call it MyProject, which contains source code
files and my Resources directory containing the resources. I created an
empty Xcode project and added the files by dragging the MyProject
directory into the project files group, and imported by recursively
creating groups. I created a new Java Application target and added all
of my project files to it.
The resources appear in the target's "Bundle Resources" group by
default. Now what do I do?
I don't have much experience using source trees. I was able to get
resources into a JAR archive in CodeWarrior 8.3 by adding the resource
files to the project and checking "Merge Into Output" in the Project
Inspector for all the resource files. But CodeWarrior 8.3 doesn't
create a working Mac OS X application bundle.
On Dec 22, 2003, at 11:17 PM, Dmitry Markman wrote:
add your resources to the target
2click on the target
go to the javaresources set right destination subdirectory or you have
to put all your resources
hierarchy into the project folder
(BTW: IMHO: CodeWarrior does it much nicer (at least I don't know how
to do that in XCode)
in CW you have to set JavaResources source tree (and you can do that
per project, not
globally as in XCode) and that's it, I played little bit with XCode
source trees
but wasn't able to achieve the same effect
On Dec 23, 2003, at 12:27 AM, David Arndt wrote:
I'm developing a pure Java application that I want to put in a Mac OS
X application bundle.
What settings in Xcode do I need so that resource files will be put
into the generated JAR archive?
Thanks,
David Arndt
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
Dmitry Markman
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.