net.sf.antcontrib.cpptasks.devstudio

Class VisualStudioNETProjectWriter

public final class VisualStudioNETProjectWriter extends Object implements ProjectWriter

Writes a Visual Studio.NET project file.

Author: curta

Constructor Summary
VisualStudioNETProjectWriter(String versionArg, String trueArg, String falseArg)
Constructor.
Method Summary
voidwriteProject(File fileName, CCTask task, ProjectDef projectDef, List sources, Hashtable targets, TargetInfo linkTarget)
Writes a project definition file.

Constructor Detail

VisualStudioNETProjectWriter

public VisualStudioNETProjectWriter(String versionArg, String trueArg, String falseArg)
Constructor.

Parameters: versionArg String VisualStudio.NET version trueArg literal to represent true, "true" in VC 2005. falseArg literal to represent false, "false" in VC 2005.

Method Detail

writeProject

public void writeProject(File fileName, CCTask task, ProjectDef projectDef, List sources, Hashtable targets, TargetInfo linkTarget)
Writes a project definition file.

Parameters: fileName project name for file, should has .cbx extension task cc task for which to write project projectDef project element sources source files targets compilation targets linkTarget link target

Throws: IOException if I/O error SAXException if XML serialization error

Copyright ? 2001-2011 Ant-Contrib project. All Rights Reserved.