From 79209c429705beb57ad9b787718856ab2c9fd37c Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Mon, 17 Mar 2008 20:55:21 +0000 Subject: Merged changes in Prebuild trunk up to r258 into OpenSim's Prebuild. Hopefully this should make merging upstream easier. Building with NAnt should still work, but Visual Studio is untested. --- Prebuild/src/Core/Nodes/ExcludeNode.cs | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'Prebuild/src/Core/Nodes/ExcludeNode.cs') diff --git a/Prebuild/src/Core/Nodes/ExcludeNode.cs b/Prebuild/src/Core/Nodes/ExcludeNode.cs index 905626d..afc869d 100644 --- a/Prebuild/src/Core/Nodes/ExcludeNode.cs +++ b/Prebuild/src/Core/Nodes/ExcludeNode.cs @@ -26,9 +26,9 @@ IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY O #region CVS Information /* * $Source$ - * $Author: jendave $ - * $Date: 2006-01-31 16:35:39 +0100 (ti, 31 jan 2006) $ - * $Revision: 74 $ + * $Author: borrillis $ + * $Date: 2007-05-25 01:03:16 +0900 (Fri, 25 May 2007) $ + * $Revision: 243 $ */ #endregion @@ -49,7 +49,7 @@ namespace Prebuild.Core.Nodes { #region Fields - private string m_Name = "unknown"; + private string m_Pattern = ""; #endregion @@ -63,11 +63,23 @@ namespace Prebuild.Core.Nodes { get { - return m_Name; + return m_Pattern; } } - #endregion + /// + /// Gets the pattern. + /// + /// The pattern. + public string Pattern + { + get + { + return m_Pattern; + } + } + + #endregion #region Public Methods @@ -77,7 +89,8 @@ namespace Prebuild.Core.Nodes /// The node. public override void Parse(XmlNode node) { - m_Name = Helper.AttributeValue(node, "name", m_Name); + m_Pattern = Helper.AttributeValue( node, "name", m_Pattern ); + m_Pattern = Helper.AttributeValue(node, "pattern", m_Pattern ); } #endregion -- cgit v1.1