buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boisv...@apache.org
Subject svn commit: r823995 - in /buildr/trunk: CHANGELOG lib/buildr/ide/eclipse/plugin.rb spec/ide/eclipse_spec.rb
Date Sun, 11 Oct 2009 00:56:58 GMT
Author: boisvert
Date: Sun Oct 11 00:56:58 2009
New Revision: 823995

URL: http://svn.apache.org/viewvc?rev=823995&view=rev
Log:
s/SymblicName/SymbolicName

Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/lib/buildr/ide/eclipse/plugin.rb
    buildr/trunk/spec/ide/eclipse_spec.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=823995&r1=823994&r2=823995&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Sun Oct 11 00:56:58 2009
@@ -1,5 +1,5 @@
 1.4.0 (Pending)
-* Added:  BUILDR-328 Detect Eclipse plugin project with META-INF/MANIFEST.MF and Bundle-SymblicName:
+* Added:  BUILDR-328 Detect Eclipse plugin project with META-INF/MANIFEST.MF and Bundle-SymbolicName:
           entry
 * Fixed:  BUILDR-327 Specifying :plugin eclipse nature explicitly fails
 

Modified: buildr/trunk/lib/buildr/ide/eclipse/plugin.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/ide/eclipse/plugin.rb?rev=823995&r1=823994&r2=823995&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/ide/eclipse/plugin.rb (original)
+++ buildr/trunk/lib/buildr/ide/eclipse/plugin.rb Sun Oct 11 00:56:58 2009
@@ -33,7 +33,7 @@
         if eclipse.natures.empty? && (
             (File.exists? project.path_to("plugin.xml")) ||
             (File.exists? project.path_to("OSGI-INF")) ||
-            (File.exists?(project.path_to("META-INF/MANIFEST.MF")) && File.read(project.path_to("META-INF/MANIFEST.MF")).match(/^Bundle-SymblicName:/)))
+            (File.exists?(project.path_to("META-INF/MANIFEST.MF")) && File.read(project.path_to("META-INF/MANIFEST.MF")).match(/^Bundle-SymbolicName:/)))
           eclipse.natures = [NATURE, Buildr::Eclipse::Java::NATURE]
           eclipse.classpath_containers = [CONTAINER, Buildr::Eclipse::Java::CONTAINER] if
eclipse.classpath_containers.empty?
           eclipse.builders = BUILDERS + [Buildr::Eclipse::Java::BUILDER] if eclipse.builders.empty?

Modified: buildr/trunk/spec/ide/eclipse_spec.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/spec/ide/eclipse_spec.rb?rev=823995&r1=823994&r2=823995&view=diff
==============================================================================
--- buildr/trunk/spec/ide/eclipse_spec.rb (original)
+++ buildr/trunk/spec/ide/eclipse_spec.rb Sun Oct 11 00:56:58 2009
@@ -232,7 +232,7 @@
         write 'src/main/java/Activator.java'
       end
 
-      it 'should have plugin nature by default if MANIFEST.MF contains "Bundle-SymblicName:"'
do
+      it 'should have plugin nature by default if MANIFEST.MF contains "Bundle-SymbolicName:"'
do
         write 'META-INF/MANIFEST.MF', <<-MANIFEST
 Manifest-Version: 1.0
 Name: example/
@@ -242,13 +242,13 @@
 Implementation-Title: "example" 
 Implementation-Version: "build57"
 Implementation-Vendor: "Acme Corp."
-Bundle-SymblicName: acme.plugin.example
+Bundle-SymbolicName: acme.plugin.example
 MANIFEST
         define('foo')
         project_natures.should include(PLUGIN_NATURE)
       end
 
-      it 'should not have plugin nature if MANIFEST.MF exists but doesn\'t contain "Bundle-SymblicName:"'
do
+      it 'should not have plugin nature if MANIFEST.MF exists but doesn\'t contain "Bundle-SymbolicName:"'
do
         write 'META-INF/MANIFEST.MF', <<-MANIFEST
 Manifest-Version: 1.0
 Name: example/



Mime
View raw message