Class VisualStudioNETProjectWriter
java.lang.Object
net.sf.antcontrib.cpptasks.devstudio.VisualStudioNETProjectWriter
- All Implemented Interfaces:
ProjectWriter
Writes a Visual Studio.NET project file.
- Author:
- curta
-
Constructor Summary
ConstructorsConstructorDescriptionVisualStudioNETProjectWriter(String versionArg, String trueArg, String falseArg) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteProject(File fileName, CCTask task, ProjectDef projectDef, List sources, Hashtable targets, TargetInfo linkTarget) Writes a project definition file.
-
Constructor Details
-
VisualStudioNETProjectWriter
Constructor.- Parameters:
versionArg- String VisualStudio.NET versiontrueArg- literal to represent true, "true" in VC 2005.falseArg- literal to represent false, "false" in VC 2005.
-
-
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:
writeProjectin 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
-