Xcode command line build with large Java projects
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.