Index: src/NAnt.DotNetTasks/ResxTask.cs
===================================================================
RCS file: /cvsroot/nant/nant/src/NAnt.DotNetTasks/ResxTask.cs,v
retrieving revision 1.3
diff -u -r1.3 ResxTask.cs
--- src/NAnt.DotNetTasks/ResxTask.cs	5 Dec 2002 22:43:26 -0000	1.3
+++ src/NAnt.DotNetTasks/ResxTask.cs	10 Dec 2002 16:30:47 -0000
@@ -60,18 +60,34 @@
 
 		protected override void ExecuteTask()
 		{
-			if ( !File.Exists( _strInput ) )
-				throw new BuildException( String.Format( "Unable to find file: {0}", _strInput ), Location );
+
+			string strInput = null;
+			try {
+				strInput = Project.GetFullPath( _strInput );
+			} catch ( Exception e ) {
+				string msg = String.Format( "Could not determine path from {0}", _strInput );
+				throw new BuildException( msg, Location, e );
+			}
+
+			if ( !File.Exists( strInput ) )
+				throw new BuildException( String.Format( "Unable to find file: {0}", strInput ), Location );
 
 			string strOutput = _strOutput;
 			if ( strOutput == null )
 				strOutput = Path.ChangeExtension( _strInput, ".resources" );
+			else {
+				try {
+					strOutput = Project.GetFullPath( strOutput );
+				} catch ( Exception e ) {
+					string msg = String.Format( "Could not determine path from {0}", _strOutput );
+					throw new BuildException( msg, Location, e );
+				}
+			}
 
-			if ( Verbose )
-				Log.WriteLine( "Compiling {0} to {1}...", _strInput, strOutput );
+			Log.WriteLine( LogPrefix + "Compiling {0} to {1}...", strInput, strOutput );
 
 			// Open in the input .resx file
-			using ( ResXResourceReader rrr = new ResXResourceReader( _strInput ) )
+			using ( ResXResourceReader rrr = new ResXResourceReader( strInput ) )
 			{
 				// Open the output .resources file
 				using ( ResourceWriter rw = new ResourceWriter( strOutput ) )
