• 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: Build problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build problem


  • Subject: Re: Build problem
  • From: Gavin Eadie <email@hidden>
  • Date: Mon, 4 Apr 2005 12:34:00 -0400

I also suffered from Wolfram's problem.

There are several things I've learned using XCode + WebObjects, some are documented, some are not.

... you can't build applications with "Deployment" or "Web Server" styles from XCode running in the Finder, you need to execute it via the command line "xcodebuild" so you can set DSTROOT to the right value.

   -- the GUI build in "Deployment" style, sets DSTROOT=/tmp/app.dst
   -- in the xcodebuild usage, you set DSTROOT=/

If you do try and build an application in "Deployment" style it will get built into a directory as: /tmp/app.dst//Library/WebObjects/Applications/app.woa

If you try to defeat the above behavior and adjust the "INSTALL_PATH_FOR_STYLE" in the Styles settings from "$(DSTROOT)/$(INSTALL_PATH)" to "$(INSTALL_PATH)", the application will try and build into the right place, but the build will fail with Wolfram's error below.


... interestingly, you CAN build a framework correctly with XCode using the trick in the previous paragraph -- it will build into /Library/Frameworks/ and it won't fail to complete the build.



... this behavior has persisted through all versions of Project Builder and all versions of XCode up to v1.5 -- I do have to ask myself why this is the case. Having to provide a workaround like this in a product's README for four years is pretty bad.


It's mainly as a result of this (and a need to build on unix), that I do my development with XCode, but I do all my deployment builds with ant now.
____________________________


At 9:56 AM +0100 2/5/05, Wolfram Stebel wrote:
Trying a split install, i get this error for Deployment build:

=== Script ===
#!/bin/sh
# Create the run scripts and classpath files for all platforms
. "${BUILD_FILES_DIR}/CreateRunFiles.sh"
--- Output ---
Creating Mac OS server-side launch files...
Creating UNIX server-side launch files...
Creating Windows server-side launch files...
Creating crossplatform server-side launch files...
BPTag005-script.sh: missing Info.plist from malformed bundle: ///myApp.woa
=== Exit code: 1 ===
...failed PhaseScriptExecution
<Execution>/Users/Wolfram/Entwicklungsprojekte/WebObjects/myApp/build/myApp.
build/myApp.build/BPTag005-script.sh ...
** BUILD FAILED **

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Build problem
      • From: Ondra Cada <email@hidden>
  • Prev by Date: EODisplaygroup sorting in database
  • Next by Date: Re: Build problem
  • Previous by thread: Re: EODisplaygroup sorting in database
  • Next by thread: Re: Build problem
  • Index(es):
    • Date
    • Thread