Class XcodeProjectWriter

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

public final class XcodeProjectWriter extends 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 Details

    • XcodeProjectWriter

      public XcodeProjectWriter()
      Constructor.
  • Method Details

    • writeProject

      public void writeProject(File fileName, CCTask task, ProjectDef projectDef, List sources, Hashtable targets, TargetInfo linkTarget) throws 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
      sources - source and header files
      targets - compilation targets
      linkTarget - link target
      Throws:
      IOException - if error writing project file