Skip to content
Browse files

left over changes

  • Loading branch information...
1 parent 9edae95 commit f1094f39c24ef863aee39f1679aed35914ecad9d @slagyr committed Sep 29, 2010
Showing with 3 additions and 1 deletion.
  1. +1 −1 README.rdoc
  2. +2 −0 lib/statemachine/generate/java/java_statemachine.rb
View
2 README.rdoc
@@ -21,7 +21,7 @@ at http://blog.8thlight.com/articles/2006/11/17/understanding-statemachines-part
== License
-Copyright (C) 2006 Micah Martin
+Copyright (C) 2006-2010 Micah Martin
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
View
2 lib/statemachine/generate/java/java_statemachine.rb
@@ -37,6 +37,7 @@ def generate!
explore_sm
create_file(src_file(@classname), build_statemachine_src)
create_file(src_file(@context_classname), build_context_src)
+ puts "Statemachine generated."
end
private ###########################################
@@ -244,6 +245,7 @@ def begin_src
def create_file(filename, content)
establish_directory(File.dirname(filename))
+ puts "Writing to file: #{filename}"
File.open(filename, 'w') do |file|
file.write(content)
end

0 comments on commit f1094f3

Please sign in to comment.
Something went wrong with that request. Please try again.