Re: xcodebuild not building versus successful builds in xcode
Re: xcodebuild not building versus successful builds in xcode
- Subject: Re: xcodebuild not building versus successful builds in xcode
- From: Pierre Frisch <email@hidden>
- Date: Sun, 1 Feb 2004 14:30:04 -0800
What version of Xcode are you using? How many classes in the framework
that don't build. The original release of xcodebuild could not build
projects with more than 82 classes. This has been kind of fixed with
the latest version look in the release notes You need to add a compile
variable to the build to make it work to to the "Application Server"
target in the Settings click on expert view and add
JAVA_FORCE_FILE_LIST = YES. That is it.
Pierre
--
Pierre Frisch
sPearWay Ltd.
sPearCat Web Catalogs, the flexibility of custom design, the price of a
package.
http://www.spearcat.com/
On Feb 1, 2004, at 9:46, David Aspinall wrote:
> I do not even get this far. It is not the installation that fails, it
> is the compile. I have a script that moves to each directory project
> and executes
>
> xcodebuild -alltargets clean > $LOG 2>&1
>
> echo -n " $PROJ .. "
> xcodebuild -alltargets build > $LOG 2>&1
> BS=$?
> if [ $BS -ne 0 ]; then
> echo " error [$BS]"
> open -e $LOG
> open $PROJ.pbproj
> exit 1
> else
> echo -n "build [$BS] .."
> fi
>
> echo -n "installing .. "
> xcodebuild -alltargets -buildstyle "Deployment" install > $LOG 2>&1
> BS=$?
> if [ $BS -ne 0 ]; then
> echo " error [$BS]"
> open -e $LOG
> open $PROJ.pbproj
> exit 1
> else
> echo "done"
> fi
>
> If the projects have already (or recently) been compiled, and I
> comment out the build clean line, then often the frameworks will all
> compile. However before a do a release candidate build I like to
> clean first and then the build phase will consistently fail. (At
> least on these 2 projects). I have tried recreating them as new
> projects, I have tried cleaning out the index and all remnants from
> the build and intermediate directories, but it make no difference.
> When I examine the build and intermediate directories none of the java
> source are copied in and the error log shows:
>
> .....
> ../../../Control/Model/_MailingAddress.java:18: package
> ticoon.foundation.exceptions does not exist
> import ticoon.foundation.exceptions.*;
> ^
> ../../../Control/Model/Household.java:575: warning:
> rawRowsForSQL(com.webobjects.eocontrol.EOEditingContext,java.lang.Strin
> g,java.lang.String) in com.webobjects.eoaccess.EOUtilities has been
> deprecated
> NSArray result = EOUtilities.rawRowsForSQL(
> editingContext(), "Ticoon", sql );
> ^
> 100 errors
> 1 warning
> ...failed JavaCompile.default <CompileJava>_WOServerTicoonControl.tmp
> ...
> ** BUILD FAILED **
>
>
>
> On 31-Jan-04, at 12:31 AM, Ray Ackland wrote:
>
>> Are you doing this as root? I found if I tried as an admin user, it
>> would say build succeeded but not install properly. Done as root it
>> worked perfectly.
>>
>> NB The command I used was (from the project directory folder) as
>> modified from the docs:
>> xcodebuild install -buildstyle Deployment DSTROOT=/
>> xcodebuild install -buildstyle WebServer DSTROOT=/
>>
>> Ray.
>>
>> On 31/01/2004, at 5:09, David Aspinall wrote:
>>
>>> I am having the same problem, in fact it is getting worse. I have a
>>> script that builds all the frameworks and installs them. When I run
>>> it to clean everything, then build and install it chokes on 2 (out
>>> of 6) frameworks. If I build those 2 manually, then re-run the
>>> script, everything (including the 2) builds no problem.
>>>
>>> Today, for the first time this does not work. I cannot get my
>>> script to pass these 2 framework projects.
>>>
>>> Does anyone have a clue. This worked perfectly with ProjectBuilder.
>>>
>>> David
>>>
>>>
>>>> I was wondering if anyone else was experiencing problems when
>>>> building from the command line using xcodebuild?
>>>>
>>>> My project builds without worry when done through the actual xcode
>>>> app, but when I try using the following command-line build command,
>>>> I inevitably get a plethora of "cannot resolve symbol" errors:
>>>>
>>>> xcodebuild -target project_name -buildstyle Development
>>>>
>>>> Before moving to panther, I was able to issue the same exact same
>>>> command (using pbxbuild mind you) without error.
>>>>
>>>> Any ideas?
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.