Commit aae998f

unknown <mkhan@.arcresources.ca>
2009-10-13 19:03:34
figured out that the path to the exe was wrong in the run task.
1 parent 5a98c2d
Changed files (2)
product
application.console
application.console
product/application.console/application.console/Program.cs
@@ -7,11 +7,20 @@ namespace gorilla.migrations.console
     {
         static void Main(string[] args)
         {
-            new WireUpContainer()
-                .then(new RegisterConsoleCommands())
-                .run();
+			try{
+				foreach( var arg in args) 
+					System.Console.Out.WriteLine("Recieved: {0}", arg);
 
-            Ioc.get_a<Console>().run_against(args);
+				new WireUpContainer()
+					.then(new RegisterConsoleCommands())
+					.run();
+
+				System.Console.Out.WriteLine("starting app");
+				Ioc.get_a<Console>().run_against(args);
+			}
+			catch (System.Exception ex){
+				System.Console.Out.WriteLine(ex);
+			}
         }
     }
-}
\ No newline at end of file
+}
rakefile.rb
@@ -109,7 +109,8 @@ end
 
 task :run do
 	deploy_folder = File.join('artifacts','deploy')
-	sh "#{deploy_folder}/#{Project.name}.console.exe -migrations_dir:'' -connection_string:'#{local_settings[:config_connectionstring]}' -data_provider:'System.Data.SqlClient'"
+	sql_folder = "d:/development/mokhan/gorilla.migrations/product/sql/"
+	sh "#{deploy_folder}/#{Project.name}/#{Project.name}.console.exe -migrations_dir:'#{sql_folder}' -connection_string:'#{local_settings[:config_connectionstring]}' -data_provider:'System.Data.SqlClient'"
 end
 
 def copy_project_outputs(folder,extensions)