Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie to proj builder: where to put /images for java app?



Hey finally someone is having a problem that I may be able to answer.

I somehow stumbled across this solution. Hopefully I can explain this
clearly. Here's what I did...

You have to have your image files added as part of the project.
Go to the targets tab of project builder, and highlight your application
under the target option.

That should bring up the summary of target options.

Look for the Java Resource Files option under Build Phases.

Here I had to specify the full path to my image
(/Users/myname/project/whatever.jpg ), and specify the path where I wanted
my images to be in my Java package ( com/stuff/images ).

I hope this helps you out.

-Victor


> Message: 1
> Date: Fri, 19 Sep 2003 22:56:21 -0700
> Subject: newbie to proj builder: where to put /images for java app?
> From: "S. T. Pimienta" <email@hidden>
> To: email@hidden

> I'm writing a java app and can't figure out where to put my /images
> folder in ProjectBuilder? I can get the /images folder into the
> project but my app doesn't seem to find them (or complain about it
> either!) I've been working on this for a while w/ no results. I know
> my code works because when I execute it from the command line (ie not
> using ProjectBuilder) my images show up as they are supposed
> to...likewise on my "darkside" port of this program everything works OK.

> I've done the "add files" and choose the options "recursively create
> groups..." and " copy items into destination...". I've also tried
> dragging the added /images into /Resources. Nothing has worked.
> Certainly this is something easy to do but which eludes me nonetheless.
> Your input is greatly valued.

> Thanks in advance,
> -TOM.

> "Its full of stars"
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.