• 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: Setting up a Target for Any Build of WOA app...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up a Target for Any Build of WOA app...


  • Subject: Re: Setting up a Target for Any Build of WOA app...
  • From: Lachlan Deck <email@hidden>
  • Date: Thu, 15 Dec 2005 22:36:25 +1100

Hi Nathan,

On 14/12/2005, at 1:41 AM, Nathan Walker wrote:

I have tried setting up an External Target in XCode to issue Ant, but it doesn't run it as root which is needed to copy certain directories. Whenever I'm ready to Deploy, I essentially just want to change the Configuration to 'Deployment' and hit Command-B to set off Ant and that's it. I am very confused with how exactly to deal with the targets which seems like the only way I can accomplish what I want to do with Ant ??? I have read through all the documentation on XCode targets but I am still confused because I can't get it to work.

I have setup an External Target in XCode and changed the build tool to '/Developer/Java/Ant/bin/ant' and I receive 'permissions' errors with the "AntDeploy" target set to active and this is because it is running it as the logged in User and not root of course. Aside all that, am I missing something here ?

Yes, man xcodebuild.

$ cd project_dir
$ sudo xcodebuild -target "YourTarget" -configuration "Deployment" build [ some_setting=some_value ... ]


with regards,
--

Lachlan Deck


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Setting up a Target for Any Build of WOA app... (From: Nathan Walker <email@hidden>)

  • Prev by Date: Re: How do I update a relationship in a WODisplayGroup?
  • Next by Date: Re: How do I update a relationship in a WODisplayGroup?
  • Previous by thread: Re: Setting up a Target for Any Build of WOA app...
  • Next by thread: WOConditional and WOCheckbox Display Problems
  • Index(es):
    • Date
    • Thread