Author: assaf
Date: Sun Apr 15 15:07:27 2007
New Revision: 529079

URL: http://svn.apache.org/viewvc?view=rev&rev=529079
Log:
Fixed artifact type for JBI

Modified:
    incubator/ode/trunk/tasks/jbi.rake

Modified: incubator/ode/trunk/tasks/jbi.rake
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/tasks/jbi.rake?view=diff&rev=529079&r1=529078&r2=529079
==============================================================================
--- incubator/ode/trunk/tasks/jbi.rake (original)
+++ incubator/ode/trunk/tasks/jbi.rake Sun Apr 15 15:07:27 2007
@@ -132,7 +132,10 @@
   class Project
 
     def package_as_jbi(file_name, options)
+      # The file name extension is zip, not jbi. And we also need to reset
+      # the type on the artifact specification.
       file_name = file_name.ext("zip")
+      options[:type] = :zip
       unless Rake::Task.task_defined?(file_name)
         JBITask.define_task(file_name).tap do |jbi|
           jbi.include options[:include] if options[:include]


Reply via email to