[Adapdev-commits] Adapdev/src/Adapdev.NVelocity Adapdev.NVelocity.csproj,1.7,1.8 SupportClass.cs,1.4
Status: Beta
Brought to you by:
intesar66
From: Sean M. <int...@us...> - 2005-11-16 07:01:58
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.NVelocity In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv909/src/Adapdev.NVelocity Added Files: Adapdev.NVelocity.csproj SupportClass.cs VelocityContext.cs readme.txt Log Message: --- NEW FILE: VelocityContext.cs --- namespace NVelocity { using System; using System.Collections; using NVelocity.Context; /// <summary> /// General purpose implemention of the application Context /// interface for general application use. This class should /// be used in place of the original Context class. /// </summary> /// <seealso cref=" java.util.HashMap ) /// for data storage. /// /// This context implementation cannot be shared between threads /// without those threads synchronizing access between them, as /// the HashMap is not synchronized, nor are some of the fundamentals /// of AbstractContext. If you need to share a Context between /// threads with simultaneous access for some reason, please create /// your own and extend the interface Context /// /// "/> /// <seealso cref="NVelocity.Context.Context"/> /// <author> <a href="mailto:ge...@op...">Geir Magnusson Jr.</a></author> /// <author> <a href="mailto:jv...@ap...">Jason van Zyl</a></author> /// <author> <a href="mailto:fed...@ho...">Fedor Karpelevitch</a></author> /// <author> <a href="mailto:dl...@fi...">Daniel Rall</a></author> /// <version> $Id: VelocityContext.cs,v 1.5 2005/11/16 07:01:48 intesar66 Exp $</version> public class VelocityContext : AbstractContext { /// <summary> /// Storage for key/value pairs. /// </summary> private Hashtable context = null; /// <summary> /// Creates a new instance (with no inner context). /// </summary> public VelocityContext() : this(null, null) { } /// /// <summary> /// Creates a new instance with the provided storage (and no inner context). /// </summary> public VelocityContext(Hashtable context) : this(context, null) { } /// <summary> /// Chaining constructor, used when you want to /// wrap a context in another. The inner context /// will be 'read only' - put() calls to the /// wrapping context will only effect the outermost /// context /// </summary> /// <param name="innerContext">The <code>Context</code> implementation to wrap.</param> public VelocityContext(IContext innerContext) : this(null, innerContext) { } /// <summary> /// Initializes internal storage (never to <code>null</code>), and /// inner context. /// </summary> /// <param name="context">Internal storage, or <code>null</code> to /// create default storage. /// </param> /// <param name="innerContext">Inner context. /// /// </param> public VelocityContext(Hashtable context, IContext innerContext) : base(innerContext) { this.context = (context == null ? new Hashtable() : context); } /// <summary> /// retrieves value for key from internal /// storage /// </summary> /// <param name="key">name of value to get</param> /// <returns>value as object</returns> public override Object InternalGet(String key) { return context[key]; } /// <summary> /// stores the value for key to internal /// storage /// </summary> /// <param name="key">name of value to store</param> /// <param name="value">value to store</param> /// <returns>previous value of key as Object</returns> public override Object InternalPut(String key, Object value_Renamed) { return context[key] = value_Renamed; } /// <summary> /// determines if there is a value for the /// given key /// </summary> /// <param name="key">name of value to check</param> /// <returns>true if non-null value in store</returns> public override bool InternalContainsKey(Object key) { return context.ContainsKey(key); } /// <summary> /// returns array of keys /// </summary> /// <returns>keys as []</returns> public override Object[] InternalGetKeys() { throw new NotImplementedException(); //TODO //return context.keySet().toArray(); } /// <summary> /// remove a key/value pair from the /// internal storage /// </summary> /// <param name="key">name of value to remove</param> /// <returns>value removed</returns> public override Object InternalRemove(Object key) { Object o = context[key]; context.Remove(key); return o; } /// <summary> /// Clones this context object. /// </summary> /// <returns>A deep copy of this <code>Context</code>.</returns> public Object Clone() { VelocityContext clone = null; try { clone = (VelocityContext) base.MemberwiseClone(); clone.context = new Hashtable(context); } catch (System.Exception) { // ignore } return clone; } } } --- NEW FILE: SupportClass.cs --- namespace NVelocity { using System; using System.Collections; using System.Data; using System.Data.OleDb; using System.Globalization; using System.IO; public class SupportClass { public static sbyte[] ToSByteArray(byte[] byteArray) { sbyte[] sbyteArray = new sbyte[byteArray.Length]; for (int index = 0; index < byteArray.Length; index++) sbyteArray[index] = (sbyte) byteArray[index]; return sbyteArray; } /*******************************/ public static byte[] ToByteArray(sbyte[] sbyteArray) { byte[] byteArray = new byte[sbyteArray.Length]; for (int index = 0; index < sbyteArray.Length; index++) byteArray[index] = (byte) sbyteArray[index]; return byteArray; } /*******************************/ public static Object PutElement(Hashtable hashTable, Object key, Object newValue) { Object element = hashTable[key]; hashTable[key] = newValue; return element; } /*******************************/ public class TransactionManager { public static ConnectionHashTable manager = new ConnectionHashTable(); public class ConnectionHashTable : Hashtable { public OleDbCommand CreateStatement(OleDbConnection connection) { OleDbCommand command = connection.CreateCommand(); OleDbTransaction transaction; if (this[connection] != null) { ConnectionProperties Properties = ((ConnectionProperties) this[connection]); transaction = Properties.Transaction; command.Transaction = transaction; } else { ConnectionProperties TempProp = new ConnectionProperties(); TempProp.AutoCommit = false; TempProp.TransactionLevel = 0; command.Transaction = TempProp.Transaction; Add(connection, TempProp); } return command; } public void Commit(OleDbConnection connection) { if (this[connection] != null && ((ConnectionProperties) this[connection]).AutoCommit) { OleDbTransaction transaction = ((ConnectionProperties) this[connection]).Transaction; transaction.Commit(); } } public void RollBack(OleDbConnection connection) { if (this[connection] != null && ((ConnectionProperties) this[connection]).AutoCommit) { OleDbTransaction transaction = ((ConnectionProperties) this[connection]).Transaction; transaction.Rollback(); } } public void SetAutoCommit(OleDbConnection connection, bool boolean) { if (this[connection] != null) { ConnectionProperties Properties = ((ConnectionProperties) this[connection]); Properties.AutoCommit = boolean; if (!boolean) { OleDbTransaction transaction = Properties.Transaction; if (Properties.TransactionLevel == 0) { transaction = connection.BeginTransaction(); } else { transaction = connection.BeginTransaction(Properties.TransactionLevel); } } } else { ConnectionProperties TempProp = new ConnectionProperties(); TempProp.AutoCommit = boolean; TempProp.TransactionLevel = 0; if (boolean) TempProp.Transaction = connection.BeginTransaction(); Add(connection, TempProp); } } public OleDbCommand PrepareStatement(OleDbConnection connection, string sql) { OleDbCommand command = this.CreateStatement(connection); command.CommandText = sql; return command; } public OleDbCommand PrepareCall(OleDbConnection connection, string sql) { OleDbCommand command = this.CreateStatement(connection); command.CommandText = sql; return command; } public void SetTransactionIsolation(OleDbConnection connection, int level) { if (this[connection] != null) { ConnectionProperties Properties = ((ConnectionProperties) this[connection]); Properties.TransactionLevel = (IsolationLevel) level; } else { ConnectionProperties TempProp = new ConnectionProperties(); TempProp.AutoCommit = false; TempProp.TransactionLevel = (IsolationLevel) level; Add(connection, TempProp); } } public int GetTransactionIsolation(OleDbConnection connection) { if (this[connection] != null) { ConnectionProperties Properties = ((ConnectionProperties) this[connection]); if (Properties.TransactionLevel != 0) return (int) Properties.TransactionLevel; else return 2; } else return 2; } public bool GetAutoCommit(OleDbConnection connection) { if (this[connection] != null) { return ((ConnectionProperties) this[connection]).AutoCommit; } else return false; } private class ConnectionProperties { public bool AutoCommit; public OleDbTransaction Transaction; public IsolationLevel TransactionLevel; } } } /*******************************/ public class Tokenizer { private ArrayList elements; private string source; //The tokenizer uses the default delimiter set: the space character, the tab character, the newline character, and the carriage-return character private string delimiters = " \t\n\r"; public Tokenizer(string source) { this.elements = new ArrayList(); this.elements.AddRange(source.Split(this.delimiters.ToCharArray())); this.RemoveEmptyStrings(); this.source = source; } public Tokenizer(string source, string delimiters) { this.elements = new ArrayList(); this.delimiters = delimiters; this.elements.AddRange(source.Split(this.delimiters.ToCharArray())); this.RemoveEmptyStrings(); this.source = source; } public int Count { get { return (this.elements.Count); } } public bool HasMoreTokens() { return (this.elements.Count > 0); } public string NextToken() { string result; if (source == "") throw new System.Exception(); else { this.elements = new ArrayList(); this.elements.AddRange(this.source.Split(delimiters.ToCharArray())); RemoveEmptyStrings(); result = (string) this.elements[0]; this.elements.RemoveAt(0); this.source = this.source.Replace(result, ""); this.source = this.source.TrimStart(this.delimiters.ToCharArray()); return result; } } public string NextToken(string delimiters) { this.delimiters = delimiters; return NextToken(); } private void RemoveEmptyStrings() { //VJ++ does not treat empty strings as tokens for (int index = 0; index < this.elements.Count; index++) if ((string) this.elements[index] == "") { this.elements.RemoveAt(index); index--; } } } /*******************************/ public static long FileLength(FileInfo file) { if (Directory.Exists(file.FullName)) return 0; else return file.Length; } /*******************************/ public static void WriteStackTrace(System.Exception throwable, TextWriter stream) { stream.Write(throwable.StackTrace); stream.Flush(); } public class TextNumberFormat { // Declaration of fields private NumberFormatInfo numberFormat; private enum formatTypes { General, Number, Currency, Percent } ; private int numberFormatType; private bool groupingActivated; private string separator; private int digits; // CONSTRUCTORS public TextNumberFormat() { this.numberFormat = new NumberFormatInfo(); this.numberFormatType = (int) formatTypes.General; this.groupingActivated = true; this.separator = this.GetSeparator((int) formatTypes.General); this.digits = 3; } private TextNumberFormat(formatTypes theType, int digits) { this.numberFormat = NumberFormatInfo.CurrentInfo; this.numberFormatType = (int) theType; this.groupingActivated = true; this.separator = this.GetSeparator((int) theType); this.digits = digits; } private TextNumberFormat(formatTypes theType, CultureInfo cultureNumberFormat, int digits) { this.numberFormat = cultureNumberFormat.NumberFormat; this.numberFormatType = (int) theType; this.groupingActivated = true; this.separator = this.GetSeparator((int) theType); this.digits = digits; } public static TextNumberFormat getTextNumberInstance() { TextNumberFormat instance = new TextNumberFormat(formatTypes.Number, 3); return instance; } public static TextNumberFormat getTextNumberCurrencyInstance() { TextNumberFormat instance = new TextNumberFormat(formatTypes.Currency, 3); return instance; } public static TextNumberFormat getTextNumberPercentInstance() { TextNumberFormat instance = new TextNumberFormat(formatTypes.Percent, 3); return instance; } public static TextNumberFormat getTextNumberInstance(CultureInfo culture) { TextNumberFormat instance = new TextNumberFormat(formatTypes.Number, culture, 3); return instance; } public static TextNumberFormat getTextNumberCurrencyInstance(CultureInfo culture) { TextNumberFormat instance = new TextNumberFormat(formatTypes.Currency, culture, 3); return instance; } public static TextNumberFormat getTextNumberPercentInstance(CultureInfo culture) { TextNumberFormat instance = new TextNumberFormat(formatTypes.Percent, culture, 3); return instance; } public Object Clone() { return (Object) this; } public override bool Equals(Object textNumberObject) { return Object.Equals((Object) this, textNumberObject); } public string FormatDouble(double number) { if (this.groupingActivated) { return number.ToString(this.GetCurrentFormatString() + this.digits, this.numberFormat); } else { return (number.ToString(this.GetCurrentFormatString() + this.digits, this.numberFormat)).Replace(this.separator, ""); } } public string FormatLong(long number) { if (this.groupingActivated) { return number.ToString(this.GetCurrentFormatString() + this.digits, this.numberFormat); } else { return (number.ToString(this.GetCurrentFormatString() + this.digits, this.numberFormat)).Replace(this.separator, ""); } } public static CultureInfo[] GetAvailableCultures() { return CultureInfo.GetCultures(CultureTypes.AllCultures); } public override int GetHashCode() { return this.GetHashCode(); } private string GetCurrentFormatString() { string currentFormatString = "n"; //Default value switch (this.numberFormatType) { case (int) formatTypes.Currency: currentFormatString = "c"; break; case (int) formatTypes.General: currentFormatString = "n" + this.numberFormat.NumberDecimalDigits; break; case (int) formatTypes.Number: currentFormatString = "n" + this.numberFormat.NumberDecimalDigits; break; case (int) formatTypes.Percent: currentFormatString = "p"; break; } return currentFormatString; } private string GetSeparator(int numberFormatType) { string separatorItem = " "; //Default Separator switch (numberFormatType) { case (int) formatTypes.Currency: separatorItem = this.numberFormat.CurrencyGroupSeparator; break; case (int) formatTypes.General: separatorItem = this.numberFormat.NumberGroupSeparator; break; case (int) formatTypes.Number: separatorItem = this.numberFormat.NumberGroupSeparator; break; case (int) formatTypes.Percent: separatorItem = this.numberFormat.PercentGroupSeparator; break; } return separatorItem; } public bool GroupingUsed { get { return (this.groupingActivated); } set { this.groupingActivated = value; } } public int Digits { get { return this.digits; } set { this.digits = value; } } } /*******************************/ public class DateTimeFormatManager { public static DateTimeFormatHashTable manager = new DateTimeFormatHashTable(); public class DateTimeFormatHashTable : Hashtable { public void SetDateFormatPattern(DateTimeFormatInfo format, String newPattern) { if (this[format] != null) ((DateTimeFormatProperties) this[format]).DateFormatPattern = newPattern; else { DateTimeFormatProperties tempProps = new DateTimeFormatProperties(); tempProps.DateFormatPattern = newPattern; Add(format, tempProps); } } public string GetDateFormatPattern(DateTimeFormatInfo format) { if (this[format] == null) return "d-MMM-yy"; else return ((DateTimeFormatProperties) this[format]).DateFormatPattern; } public void SetTimeFormatPattern(DateTimeFormatInfo format, String newPattern) { if (this[format] != null) ((DateTimeFormatProperties) this[format]).TimeFormatPattern = newPattern; else { DateTimeFormatProperties tempProps = new DateTimeFormatProperties(); tempProps.TimeFormatPattern = newPattern; Add(format, tempProps); } } public string GetTimeFormatPattern(DateTimeFormatInfo format) { if (this[format] == null) return "h:mm:ss tt"; else return ((DateTimeFormatProperties) this[format]).TimeFormatPattern; } private class DateTimeFormatProperties { public string DateFormatPattern = "d-MMM-yy"; public string TimeFormatPattern = "h:mm:ss tt"; } } } /*******************************/ public static string FormatDateTime(DateTimeFormatInfo format, DateTime date) { string timePattern = DateTimeFormatManager.manager.GetTimeFormatPattern(format); string datePattern = DateTimeFormatManager.manager.GetDateFormatPattern(format); return date.ToString(datePattern + " " + timePattern, format); } /*******************************/ public static DateTimeFormatInfo GetDateTimeFormatInstance(int dateStyle, int timeStyle, CultureInfo culture) { DateTimeFormatInfo format = culture.DateTimeFormat; switch (timeStyle) { case -1: DateTimeFormatManager.manager.SetTimeFormatPattern(format, ""); break; case 0: DateTimeFormatManager.manager.SetTimeFormatPattern(format, "h:mm:ss 'o clock' tt zzz"); break; case 1: DateTimeFormatManager.manager.SetTimeFormatPattern(format, "h:mm:ss tt zzz"); break; case 2: DateTimeFormatManager.manager.SetTimeFormatPattern(format, "h:mm:ss tt"); break; case 3: DateTimeFormatManager.manager.SetTimeFormatPattern(format, "h:mm tt"); break; } switch (dateStyle) { case -1: DateTimeFormatManager.manager.SetDateFormatPattern(format, ""); break; case 0: DateTimeFormatManager.manager.SetDateFormatPattern(format, "dddd, MMMM dd%, yyy"); break; case 1: DateTimeFormatManager.manager.SetDateFormatPattern(format, "MMMM dd%, yyy"); break; case 2: DateTimeFormatManager.manager.SetDateFormatPattern(format, "d-MMM-yy"); break; case 3: DateTimeFormatManager.manager.SetDateFormatPattern(format, "M/dd/yy"); break; } return format; } } } --- NEW FILE: readme.txt --- Adapdev.NVelocity is a modified version of the NVelocity project (http://nvelocity.sourceforge.net/). The following changes have taken place: - Switched to Adapdev.NET library version - Signed with Adapdev.NET key - Removed Html portions of library - Removed logging portions of library - Fixed issue with relative file path references in #parse call --- NEW FILE: Adapdev.NVelocity.csproj --- <VisualStudioProject> <CSHARP ProjectType = "Local" ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{75D57D5C-250A-447C-80BC-2FF9DC8A14D2}" > <Build> <Settings ApplicationIcon = "" AssemblyKeyContainerName = "" AssemblyName = "Adapdev.NVelocity" AssemblyOriginatorKeyFile = "" DefaultClientScript = "JScript" DefaultHTMLPageLayout = "Grid" DefaultTargetSchema = "IE50" DelaySign = "false" OutputType = "Library" PreBuildEvent = "" PostBuildEvent = "" RootNamespace = "Adapdev.NVelocity" RunPostBuildEvent = "OnBuildSuccess" StartupObject = "" > <Config Name = "Debug" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "DEBUG;TRACE" DocumentationFile = "" DebugSymbols = "true" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "false" OutputPath = "bin\Debug\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> <Config Name = "Release" AllowUnsafeBlocks = "false" BaseAddress = "285212672" CheckForOverflowUnderflow = "false" ConfigurationOverrideFile = "" DefineConstants = "TRACE" DocumentationFile = "" DebugSymbols = "false" FileAlignment = "4096" IncrementalBuild = "false" NoStdLib = "false" NoWarn = "" Optimize = "true" OutputPath = "bin\Release\" RegisterForComInterop = "false" RemoveIntegerChecks = "false" TreatWarningsAsErrors = "false" WarningLevel = "4" /> </Settings> <References> <Reference Name = "System" AssemblyName = "System" HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll" /> <Reference Name = "System.Data" AssemblyName = "System.Data" HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll" /> <Reference Name = "System.XML" AssemblyName = "System.Xml" HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll" /> <Reference Name = "log4net" AssemblyName = "log4net" HintPath = "..\..\lib\log4net.dll" /> </References> </Build> <Files> <Include> <File RelPath = "AdapdevAssemblyInfo.cs" Link = "..\AdapdevAssemblyInfo.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "readme.txt" BuildAction = "Content" /> <File RelPath = "SupportClass.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Template.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "VelocityContext.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "App\AppSupportClass.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "App\FieldMethodizer.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "App\Velocity.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "App\VelocityEngine.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "App\Events\EventCartridge.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "App\Events\EventHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "App\Events\MethodExceptionEventHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "App\Events\NullSetEventHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "App\Events\ReferenceInsertionEventHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "App\Tools\VelocityFormatter.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Commons\Collections\CollectionsUtil.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Commons\Collections\ExtendedProperties.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Commons\Collections\PropertiesReader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Commons\Collections\PropertiesTokenizer.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Commons\Collections\StringTokenizer.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Context\AbstractContext.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Context\IContext.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Context\InternalContextAdapter.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Context\InternalContextAdapterImpl.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Context\InternalContextBase.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Context\InternalEventContext.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Context\InternalHousekeepingContext.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Context\InternalWrapperContext.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Context\VMContext.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Dvsl\Dvsl.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Dvsl\DvslContext.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Dvsl\DvslNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Dvsl\DvslNodeContext.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Dvsl\DvslNodeImpl.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Dvsl\TemplateHandler.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Dvsl\Transformer.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Dvsl\TransformTool.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Dvsl\Directive\MatchDirective.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Dvsl\Directive\NameDirective.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Dvsl\Resource\defaultroot.dvsl" BuildAction = "None" /> <File RelPath = "Exception\MethodInvocationException.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Exception\ParseErrorException.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Exception\ResourceNotFoundException.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Exception\VelocityException.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "IO\VelocityWriter.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\RuntimeConstants.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\RuntimeInstance.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\RuntimeServices.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\RuntimeSingleton.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\VelocimacroFactory.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\VelocimacroManager.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Defaults\directive.properties" BuildAction = "None" /> <File RelPath = "Runtime\Defaults\nvelocity.properties" BuildAction = "None" /> <File RelPath = "Runtime\Directive\Directive.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Directive\DirectiveConstants.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Directive\Foreach.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Directive\Include.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Directive\Literal.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Directive\Macro.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Directive\Parse.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Directive\ParseDirectiveException.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Directive\VelocimacroProxy.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Directive\VMProxyArg.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Exception\NodeException.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Exception\ReferenceException.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\CharStream.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\JJTParserState.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\ParseException.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Parser.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\ParserConstants.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\ParserTokenManager.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\ParserTreeConstants.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Token.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\TokenMgrError.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\VelocityCharStream.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\AbstractExecutor.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTAddNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTAndNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTAssignment.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTBlock.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTComment.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTDirective.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTDivNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTElseIfStatement.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTElseStatement.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTEQNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTEscape.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTEscapedDirective.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTExpression.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTFalse.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTGENode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTGTNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTIdentifier.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTIfStatement.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTIncludeStatement.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTIntegerRange.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTLENode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTLTNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTMethod.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTModNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTMulNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTNENode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTNotNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTNumberLiteral.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTObjectArray.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTOrNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTParameters.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTprocess.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTReference.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTSetDirective.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTStringLiteral.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTSubtractNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTText.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTTrue.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTVariable.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ASTWord.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\BooleanPropertyExecutor.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\GetExecutor.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\INode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\NodeUtils.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\ParserVisitor.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\PropertyExecutor.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Parser\Node\SimpleNode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Resource\ContentResource.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Resource\Resource.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Resource\ResourceCache.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Resource\ResourceCacheImpl.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Resource\ResourceFactory.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Resource\ResourceManager.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Resource\ResourceManagerImpl.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Resource\Loader\FileResourceLoader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Resource\Loader\ResourceLoader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Resource\Loader\ResourceLoaderFactory.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Resource\Loader\ResourceLocator.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Visitor\BaseVisitor.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Visitor\NodeViewMode.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Runtime\Visitor\VMReferenceMungeVisitor.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Tool\DataInfo.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Tool\IToolInfo.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Tool\ToolLoader.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Util\Iterator.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Util\SimplePool.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Util\StringUtils.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Util\Introspection\AmbiguousException.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Util\Introspection\ClassMap.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Util\Introspection\IntrospectionCacheData.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Util\Introspection\Introspector.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Util\Introspection\IntrospectorBase.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Util\Introspection\MethodMap.cs" SubType = "Code" BuildAction = "Compile" /> <File RelPath = "Util\Introspection\Twonk.cs" SubType = "Code" BuildAction = "Compile" /> </Include> </Files> </CSHARP> </VisualStudioProject> |