aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Prebuild/src/Core/Nodes/FileNode.cs
diff options
context:
space:
mode:
authorBlueWall2011-12-25 00:04:42 -0500
committerBlueWall2011-12-25 00:04:42 -0500
commitf36fe45fa7468dd6e785d523c5df38666140135f (patch)
tree4d5a89a5affc86ca316e14a7a6de5615977764bf /Prebuild/src/Core/Nodes/FileNode.cs
parentHG: more / love for Xmas (diff)
downloadopensim-SC_OLD-f36fe45fa7468dd6e785d523c5df38666140135f.zip
opensim-SC_OLD-f36fe45fa7468dd6e785d523c5df38666140135f.tar.gz
opensim-SC_OLD-f36fe45fa7468dd6e785d523c5df38666140135f.tar.bz2
opensim-SC_OLD-f36fe45fa7468dd6e785d523c5df38666140135f.tar.xz
Add Copy task to Prebuild.exe (vsxxxx targets)
<Files> <Match pattern="*.cs" recurse="true"/> <Match pattern="../bin/MyConfig.xml" buildAction="Copy" recurse="false" destination="$(OutputPath)" /> </Files>
Diffstat (limited to 'Prebuild/src/Core/Nodes/FileNode.cs')
-rw-r--r--Prebuild/src/Core/Nodes/FileNode.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/Prebuild/src/Core/Nodes/FileNode.cs b/Prebuild/src/Core/Nodes/FileNode.cs
index 01cea1e..b313ffa 100644
--- a/Prebuild/src/Core/Nodes/FileNode.cs
+++ b/Prebuild/src/Core/Nodes/FileNode.cs
@@ -62,7 +62,11 @@ namespace Prebuild.Core.Nodes
62 /// <summary> 62 /// <summary>
63 /// 63 ///
64 /// </summary> 64 /// </summary>
65 Page 65 Page,
66 /// <summary>
67 ///
68 /// </summary>
69 Copy
66 } 70 }
67 71
68 /// <summary> 72 /// <summary>
@@ -245,6 +249,9 @@ namespace Prebuild.Core.Nodes
245 if (subType != String.Empty) 249 if (subType != String.Empty)
246 m_SubType = (SubType)Enum.Parse(typeof(SubType), subType); 250 m_SubType = (SubType)Enum.Parse(typeof(SubType), subType);
247 251
252 Console.WriteLine("[FileNode]:BuildAction is {0}", buildAction);
253
254
248 m_ResourceName = Helper.AttributeValue(node, "resourceName", m_ResourceName.ToString()); 255 m_ResourceName = Helper.AttributeValue(node, "resourceName", m_ResourceName.ToString());
249 this.m_Link = bool.Parse(Helper.AttributeValue(node, "link", bool.FalseString)); 256 this.m_Link = bool.Parse(Helper.AttributeValue(node, "link", bool.FalseString));
250 if ( this.m_Link == true ) 257 if ( this.m_Link == true )