net.sf.antcontrib.cpptasks.apple
Class XcodeProjectWriter

java.lang.Object
  extended by net.sf.antcontrib.cpptasks.apple.XcodeProjectWriter
All Implemented Interfaces:
ProjectWriter

public final class XcodeProjectWriter
extends java.lang.Object
implements ProjectWriter

Writes a Apple Xcode 2.1+ project directory. XCode stores project configuration as a PropertyList. Though it will always write the project as a Cocoa Old-Style ASCII property list, it will read projects stored using Cocoa's XML Property List format.


Constructor Summary
XcodeProjectWriter()
          Constructor.
 
Method Summary
 void writeProject(java.io.File fileName, CCTask task, ProjectDef projectDef, java.util.List sources, java.util.Hashtable targets, TargetInfo linkTarget)
          Writes a project definition file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XcodeProjectWriter

public XcodeProjectWriter()
Constructor.

Method Detail

writeProject

public void writeProject(java.io.File fileName,
                         CCTask task,
                         ProjectDef projectDef,
                         java.util.List sources,
                         java.util.Hashtable targets,
                         TargetInfo linkTarget)
                  throws java.io.IOException
Writes a project definition file.

Specified by:
writeProject in interface ProjectWriter
Parameters:
fileName - File name base, writer may append appropriate extension
task - cc task for which to write project
projectDef - project element
targets - compilation targets
linkTarget - link target
sources - source and header files
Throws:
java.io.IOException - if error writing project file


Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved.