Re: Xcode argument fails
Steve Wetherill <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
I did this:
<!-- invoke xcodebuild to actually build the project -->
<xcode
directory="${jetset.basedir}/${jetset.bottomline.bottomlineapp.root}"
ShowProgress="true">
<arg value="-sdk" />
<arg value="${jetset.iphonesdk}" />
<arg value="-target" />
<arg
value="${jetset.bottomline.bottomlineapp.buildtarget}" />
<arg value="-configuration" />
<arg
value="${jetset.bottomline.bottomlineapp.buildconfig}" />
</xcode>
Basically split the args per line.
Steve
On Thu, Feb 26, 2009 at 1:14 PM, Markus Mahner <[email protected]> wrote:
> Hi,
>
> I'm trying to set up CC for some Xcode projects. Unfortunately, I'm having
> trouble handing arguments to xcodebuild...
>
> On the commandline (same server, same directory), the following line works
> just fine:
>
> $ xcodebuild -sdk iphoneos2.0
>
>
> So I made up my config.xml like:
>
> <schedule interval="${dolli.schedule.interval}">
> <xcode directory="${dolli-ipod.svn.local.dir}/trunk/AirTouch/">
> <arg value="-sdk iphoneos2.0" />
> </xcode>
> </schedule>
>
>
> But that fails (though reporting successful):
>
> 2009-02-26 21:36:19,343 [Thread-3212] INFO Project - Project
> fmg.dolli-ipod: bootstrapping
> 2009-02-26 21:36:19,343 [Thread-3212] INFO ProjectController -
> fmg.dolli-ipod Controller: build progress event: bootstrapping
> 2009-02-26 21:36:19,580 [Thread-3212] INFO SVNBootstrapper - U
> trunk/AirTouch/Classes/AirTouchAppDelegate.mm
> 2009-02-26 21:36:19,590 [Thread-3212] INFO SVNBootstrapper - U
> trunk/AirTouch/AirTouch.xcodeproj/mahner.pbxuser
> 2009-02-26 21:36:19,593 [Thread-3212] INFO SVNBootstrapper - U
> trunk/AirTouch/AirTouch.xcodeproj/mahner.perspectivev3
> 2009-02-26 21:36:19,772 [Thread-3212] INFO SVNBootstrapper -
> 2009-02-26 21:36:19,772 [Thread-3212] INFO SVNBootstrapper - Fetching
> external item into 'cad'
> 2009-02-26 21:36:19,900 [Thread-3212] INFO SVNBootstrapper - Updated
> external to revision 80.
> 2009-02-26 21:36:19,900 [Thread-3212] INFO SVNBootstrapper -
> 2009-02-26 21:36:19,900 [Thread-3212] INFO SVNBootstrapper -
> 2009-02-26 21:36:19,900 [Thread-3212] INFO SVNBootstrapper - Fetching
> external item into 'trunk/AirTouch/CommonUI'
> 2009-02-26 21:36:20,028 [Thread-3212] INFO SVNBootstrapper - Updated
> external to revision 80.
> 2009-02-26 21:36:20,028 [Thread-3212] INFO SVNBootstrapper -
> 2009-02-26 21:36:20,078 [Thread-3212] INFO SVNBootstrapper - Updated to
> revision 78.
> 2009-02-26 21:36:21,101 [Thread-3212] INFO Project - Project
> fmg.dolli-ipod: checking for modifications
> 2009-02-26 21:36:21,101 [Thread-3212] INFO ProjectController -
> fmg.dolli-ipod Controller: build progress event: checking for modifications
> 2009-02-26 21:36:21,306 [Thread-3212] INFO ModificationSet - 3
> modifications have been detected.
> 2009-02-26 21:36:21,306 [Thread-3212] INFO Project - Project
> fmg.dolli-ipod: now building
> 2009-02-26 21:36:21,307 [Thread-3212] INFO ProjectController -
> fmg.dolli-ipod Controller: build progress event: now building
> 2009-02-26 21:36:21,307 [Thread-3212] INFO XcodeBuilder - starting
> build
> 2009-02-26 21:36:21,351 [Thread-3215] WARN ScriptRunner - unknown
> option: -sdk iphoneos2.0
> 2009-02-26 21:36:21,352 [Thread-3215] WARN ScriptRunner - Usage:
> xcodebuild [-project <projectname>] [-activetarget] [-alltargets] [-target
> <targetname>]... [-parallelizeTargets] [-activeconfiguration] [-c
> onfiguration <configurationname>] [-sdk <sdkfullpath>|<sdkname>]
> [<buildsetting>=<value>]... [<buildaction>]...
> 2009-02-26 21:36:21,353 [Thread-3215] WARN ScriptRunner -
> xcodebuild [-version [-sdk <sdkfullpath>|<sdkname>]]
> 2009-02-26 21:36:21,353 [Thread-3215] WARN ScriptRunner -
> xcodebuild [-showsdks]
> 2009-02-26 21:36:21,353 [Thread-3215] WARN ScriptRunner -
> xcodebuild [-find <binary>] [-sdk <sdkfullpath>|<sdkname>]
> 2009-02-26 21:36:21,353 [Thread-3215] WARN ScriptRunner -
> xcodebuild [-list]
> 2009-02-26 21:36:21,353 [Thread-3212] INFO XcodeBuilder - build
> finished with exit code 1
> 2009-02-26 21:36:21,354 [Thread-3212] INFO ProjectController -
> fmg.dolli-ipod Controller: build result event: build successful
>
> The same problem occurs with another project that uses the -target
> argument. What can I do to fix that?
>
> tia,
> µ.
>
> --
> | Markus Mahner | Telefon 089 / 273 743 47
> | Schellingstrasse 78 | Mobil 0179 / 628 53 81
> | 80799 München | [email protected]
>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user