• 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
Xcode command line build with large Java projects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode command line build with large Java projects


  • Subject: Xcode command line build with large Java projects
  • From: Michael Hast <email@hidden>
  • Date: Tue, 02 Dec 2003 15:56:24 -0700
  • Organization: Desert Sky Software

We converted out existing PB Java WebObjects applications to Xcode. In order to release our products we run a release build script from the command line using xcodebuild. We are getting errors when large applications are being build (hundreds of java files). The errors are that some classes in the project cannot be found. However, building the application from within Xcode succeeds. Is that a known bug? Does anyone know of a workaround?

The build output from within Xcode and from the command line are different. From within Xcode a java file list is generated and passed to the java compiler (see below). From the command line, every java file is passed to the java compiler (see below). That results in an incomplete list and that causes the errors.

Build output from within Xcode:
/usr/bin/javac <arguments> '@/some/path/test.build/Application Server.build/JavaFileList'


Build output from command line:
/usr/bin/javac <arguments> 'Class1.java' 'Class2.java' ...

Again for small projects this is not a problem. But for hundreds of java files this is an issue.

--
Michael Hast

Desert Sky Software: www.desertsky.com
       Specializing in the Development and Hosting of
       e-Business Applications.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Xcode 1.1 and WebObjects components build problems
      • From: Michael Hast <email@hidden>
    • Re: Xcode command line build with large Java projects
      • From: David Ewing <email@hidden>
  • Prev by Date: Re: XCode or CodeWarrior 9
  • Next by Date: Auto-complete
  • Previous by thread: AppleScript code to jump to a specific line...
  • Next by thread: Re: Xcode command line build with large Java projects
  • Index(es):
    • Date
    • Thread