• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: merging jar files in Xcode 1.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: merging jar files in Xcode 1.5


  • Subject: Re: merging jar files in Xcode 1.5
  • From: Chris Goedde <email@hidden>
  • Date: Wed, 16 Mar 2005 11:35:32 -0600

Just to followup on my own question, in case someone searches the archives.

I don't know quite what was happening, but ultimately everything suddenly started working once I quit and restarted XCode. (I also deleted various old build products from different experiments, but I think that quitting XCode was what did the trick.) I'm not quite sure why XCode was confused; when I did the same thing (added a jar file and selected the merge checkbox) in a second project, it worked from the get-go.

I ran into the same thing again in trying to set DSTROOT---the changes I made didn't take effect until I quit and restarted XCode. So it seems that XCode may be incorrectly caching certain build information?

Chris Goedde

On Mar 14, 2005, at 3:56 PM, Chris Goedde wrote:

Hi all,

This seems to be a faq, but the solution I found in the archives doesn't work for me, so I have to ask. I'm relatively new to Java and Xcode. I'm using Xcode 1.5.

I have a working applet (note, applet, not application) that I'm currently modifying to place the base classes in their own package. My problem is merging the jar file that holds the classes that make up this package into the final jar file for the applet.

I've added the jar file for the package to my project, and in the "Frameworks & Libraries" pane of the target I've clicked the "Merge" checkbox for that jar file. The project compiles successfully, but I get a "java.lang.NoClassDefFoundError" message when the applet runs. Running "jar tvf" from the command line verifies that the classes in my package aren't included in the applet's jar file.

I've been googling and searching for a while, but I'm still stuck over something that seems quite trivial. Any help would be greatly appreciated.

_______________________________________________ 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
References: 
 >merging jar files in Xcode 1.5 (From: Chris Goedde <email@hidden>)

  • Prev by Date: Adding executable arguments
  • Next by Date: Re: Adding executable arguments
  • Previous by thread: Re: merging jar files in Xcode 1.5
  • Next by thread: debugging & variable updates
  • Index(es):
    • Date
    • Thread