net.sf.antcontrib.cpptasks.devstudio
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 |
VisualStudioNETProjectWriter(java.lang.String versionArg,
java.lang.String trueArg,
java.lang.String falseArg)
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 |
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.
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 interface ProjectWriter
- 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 error
org.xml.sax.SAXException
- if XML serialization error
Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved.