Skip to content
Browse files

rebuild classpath when Gemfile.lock is missing and Jarfile.lock exists

  • Loading branch information...
1 parent c64981e commit 0fbb3a1b99de685ebc3b504d256f802e12fffbf4 @mkristian committed Jan 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jbundler/classpath_file.rb
View
2 lib/jbundler/classpath_file.rb
@@ -19,7 +19,7 @@ def exists?
end
def needs_update?(jarfile, gemfile_lock)
- (jarfile.exists? || gemfile_lock.exists?) && (!exists? || !jarfile.exists_lock? || (jarfile.exists? && (jarfile.mtime > mtime)) || (jarfile.exists_lock? && (jarfile.mtime_lock > mtime)) || (gemfile_lock.exists? && (gemfile_lock.mtime > mtime)))
+ (jarfile.exists? || gemfile_lock.exists? || jarfile.exists_lock?) && (!exists? || !jarfile.exists_lock? || (jarfile.exists? && (jarfile.mtime > mtime)) || (jarfile.exists_lock? && (jarfile.mtime_lock > mtime)) || (gemfile_lock.exists? && (gemfile_lock.mtime > mtime)))
end
def generate(classpath_array)

0 comments on commit 0fbb3a1

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