Class VisualStudioNETProjectWriter
- java.lang.Object
-
- net.sf.antcontrib.cpptasks.devstudio.VisualStudioNETProjectWriter
-
- All Implemented Interfaces:
ProjectWriter
public final class VisualStudioNETProjectWriter extends java.lang.Object implements ProjectWriter
Writes a Visual Studio.NET project file.- Author:
- curta
-
-
Constructor Summary
Constructors Constructor Description VisualStudioNETProjectWriter(java.lang.String versionArg, java.lang.String trueArg, java.lang.String falseArg)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
VisualStudioNETProjectWriter
public VisualStudioNETProjectWriter(java.lang.String versionArg, java.lang.String trueArg, java.lang.String falseArg)
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 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, org.xml.sax.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:
java.io.IOException
- if I/O errororg.xml.sax.SAXException
- if XML serialization error
-
-