Re: XCode, jar and images
Re: XCode, jar and images
- Subject: Re: XCode, jar and images
- From: Federico Abascal <email@hidden>
- Date: Fri, 6 Aug 2004 10:52:47 +0200
I think I've found the problem.
First, in the build window, I can see the instructions for making the
jar:
cd "/Users/fabascal/Desktop/Vanilla
copia/src/fede/vanilla-xcode/build/vanilla-xcode.build/
vanilla_xcode.build/JavaClasses" && /bin/mkdir -p
"/Users/fabascal/Desktop/Vanilla copia/src/fede/vanilla-xcode/build"
&& /usr/bin/jar cvmf0 "-J-Dfile.encoding=UTF8"
"/Users/fabascal/Desktop/Vanilla copia/src/fede/vanilla-xcode/Manifest"
"/Users/fabascal/Desktop/Vanilla
copia/src/fede/vanilla-xcode/build/ProtTest.jar" .
The problem is that the jar is built from "." (the directory
/Users/.../JavaClasses/), but the icons where copied to the parent
directory (/Users/.../vanilla_xcode.build/)... so it is imposible for
jar to include them in the jar file.
Apple, how do I give you my account number for finding the bug? (if it
is really a bug)
Federico
El 06/08/2004, a las 4:13, David Ewing escribis:
>
> On Aug 5, 2004, at 6:42 AM, Federico Abascal wrote:
>
>> I want XCode to create a jar file including some images (in a
>> directory named icons). I added the files, the directory, everything
>> ... to the project, but the jar created does not contain those files.
>> I made a clean, a rebuild, etc... I don't know what else to do.
>> Please, help!
>
> Open the target and look at the Java Resources build phase. The files
> should show up there. If they're in a different build phase, just drag
> them over. You can also set the subdirectory where the images will be
> placed inside the .jar.
>
> Dave
_______________________________________________
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.