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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
