Title: [517] trunk/rails-integration/plugins/war-snapshot/lib/war_config.rb: Need to expand_path before we can get the name from RAILS_ROOT
- Revision
- 517
- Author
- tantalon
- Date
- 2007-04-28 03:16:36 -0400 (Sat, 28 Apr 2007)
Log Message
Need to expand_path before we can get the name from RAILS_ROOT
Modified Paths
Diff
Modified: trunk/rails-integration/plugins/war-snapshot/lib/war_config.rb (516 => 517)
--- trunk/rails-integration/plugins/war-snapshot/lib/war_config.rb 2007-04-28 04:02:21 UTC (rev 516)
+++ trunk/rails-integration/plugins/war-snapshot/lib/war_config.rb 2007-04-28 07:16:36 UTC (rev 517)
@@ -74,7 +74,7 @@
@maven_remote_repository = 'http://www.ibiblio.org/maven2'
# configured war name, defaults to the same as the ruby webapp
- @name = File.basename(RAILS_ROOT)
+ @name = File.basename(File.expand_path(RAILS_ROOT))
@war_file = "[EMAIL PROTECTED]"
@java_libraries = {}
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel