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 Object
- implements ProjectWriter
Writes a Visual Studio.NET project file.
- Author:
- curta
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisualStudioNETProjectWriter
public VisualStudioNETProjectWriter(String versionArg,
String trueArg,
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(File fileName,
CCTask task,
ProjectDef projectDef,
List sources,
Map targets,
TargetInfo linkTarget)
throws IOException,
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:
IOException - if I/O error
SAXException - if XML serialization error
Copyright © 2001-2012. All Rights Reserved.