Jan Lahoda avatar Jan Lahoda committed 668a555

Another attempt to update the spec. versions correctly.

Comments (0)

Files changed (8)

borrowedtests/manifest.mf

 AutoUpdate-Show-In-Client: false
 OpenIDE-Module: org.netbeans.modules.jackpot30.test.borrowed
 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/jackpot30/test/borrowed/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.2
+OpenIDE-Module-Specification-Version: 1.3
 
 OpenIDE-Module: org.netbeans.modules.jackpot30.file
 OpenIDE-Module-Layer: org/netbeans/modules/jackpot30/file/resources/layer.xml
 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/jackpot30/file/resources/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.2
+OpenIDE-Module-Specification-Version: 1.3
 

hintsimpl/manifest.mf

 OpenIDE-Module: org.netbeans.modules.jackpot30.hintsimpl
 OpenIDE-Module-Layer: org/netbeans/modules/jackpot30/hintsimpl/layer.xml
 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/jackpot30/hintsimpl/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.2
+OpenIDE-Module-Specification-Version: 1.3
 

increment-spec-versions

 #
 # Contributor(s): Jan Lahoda.
 #
-NEW_VERSION=1.2
+NEW_VERSION=1.3
 for manifest in `find . -type f -name "manifest.mf"`; do
     mv $manifest $manifest.old
     sed -e "s/OpenIDE-Module-Specification-Version: .*$/OpenIDE-Module-Specification-Version: $NEW_VERSION/" <$manifest.old >$manifest
     mv $properties $properties.old
     sed -e "s/spec.version.base: .*$/spec.version.base: $NEW_VERSION.0/" <$properties.old >$properties
 done;
+
+mv kit/nbproject/project.xml kit/nbproject/project.xml.old
+sed -e "s/<specification-version>.*<\/specification-version>/<specification-version>$NEW_VERSION<\/specification-version>/" <kit/nbproject/project.xml.old >kit/nbproject/project.xml

jackpot/manifest.mf

 OpenIDE-Module: org.netbeans.modules.jackpot30.jackpot
 OpenIDE-Module-Layer: org/netbeans/modules/jackpot30/jackpot/layer.xml
 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/jackpot30/jackpot/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.2
+OpenIDE-Module-Specification-Version: 1.3
 
 Manifest-Version: 1.0
 OpenIDE-Module: org.netbeans.modules.jackpot30.kit
 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/jackpot30/kit/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.2
+OpenIDE-Module-Specification-Version: 1.3
 

kit/nbproject/project.xml

                     <build-prerequisite/>
                     <compile-dependency/>
                     <run-dependency>
-                        <specification-version>1.0</specification-version>
+                        <specification-version>1.3</specification-version>
                     </run-dependency>
                 </dependency>
                 <dependency>
                     <build-prerequisite/>
                     <compile-dependency/>
                     <run-dependency>
-                        <specification-version>1.0</specification-version>
+                        <specification-version>1.3</specification-version>
                     </run-dependency>
                 </dependency>
                 <dependency>
                     <code-name-base>org.netbeans.modules.jackpot30.file</code-name-base>
                     <run-dependency>
-                        <specification-version>1.0</specification-version>
+                        <specification-version>1.3</specification-version>
                     </run-dependency>
                 </dependency>
                 <dependency>
                     <code-name-base>org.netbeans.modules.jackpot30.hintsimpl</code-name-base>
                     <run-dependency>
-                        <specification-version>1.0</specification-version>
+                        <specification-version>1.3</specification-version>
                     </run-dependency>
                 </dependency>
                 <dependency>
                     <code-name-base>org.netbeans.modules.jackpot30.test.borrowed</code-name-base>
                     <run-dependency>
-                        <specification-version>1.0</specification-version>
+                        <specification-version>1.3</specification-version>
                     </run-dependency>
                 </dependency>
                 <dependency>
                     <code-name-base>org.netbeans.modules.jackpot30.transformers</code-name-base>
                     <run-dependency>
-                        <specification-version>1.0</specification-version>
+                        <specification-version>1.3</specification-version>
                     </run-dependency>
                 </dependency>
             </module-dependencies>

transformer/manifest.mf

 OpenIDE-Module: org.netbeans.modules.jackpot30.transformers
 OpenIDE-Module-Layer: org/netbeans/modules/jackpot30/transformers/resources/layer.xml
 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/jackpot30/transformers/resources/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.2
+OpenIDE-Module-Specification-Version: 1.3
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.