Class CBuilderXProjectWriter
java.lang.Object
net.sf.antcontrib.cpptasks.borland.CBuilderXProjectWriter
- All Implemented Interfaces:
ProjectWriter
Writes a CBuilderX 1.0 project file.
- Author:
- curta
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeProject
(File fileName, CCTask task, ProjectDef projectDef, List sources, Hashtable targets, TargetInfo linkTarget) Writes a project definition file.
-
Constructor Details
-
CBuilderXProjectWriter
public CBuilderXProjectWriter()Constructor.
-
-
Method Details
-
writeProject
public void writeProject(File fileName, CCTask task, ProjectDef projectDef, List sources, Hashtable targets, TargetInfo linkTarget) throws IOException, SAXException Writes a project definition file.- Specified by:
writeProject
in interfaceProjectWriter
- Parameters:
fileName
- project name for file, should has .cbx extensiontask
- cc task for which to write projectprojectDef
- project elementsources
- source filestargets
- compilation targetslinkTarget
- link target- Throws:
IOException
- if I/O errorSAXException
- if XML serialization error
-