Browse Source

- change build script to use specification version (no svn suffix) for stable build

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8206 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 14 years ago
parent
commit
ebd83ce51a
1 changed files with 5 additions and 1 deletions
  1. 5 1
      build.xml

+ 5 - 1
build.xml

@@ -99,7 +99,7 @@
     <target name="hudson-nightly" depends="suite.clean, -revert-svn-changes, update-help-sets, set-impl-version, suite.nbms, unset-impl-version">
     <target name="hudson-nightly" depends="suite.clean, -revert-svn-changes, update-help-sets, set-impl-version, suite.nbms, unset-impl-version">
     </target>
     </target>
 
 
-    <target name="hudson-stable" depends="suite.clean, -revert-svn-changes, set-spec-version, suite.nbms, unset-impl-version">
+    <target name="hudson-stable" depends="suite.clean, -revert-svn-changes, set-spec-version, suite.nbms, unset-spec-version">
     </target>
     </target>
     
     
     <target name="set-spec-version">
     <target name="set-spec-version">
@@ -122,6 +122,10 @@
             <equals arg1="${set_spec_version}" arg2="true"/>
             <equals arg1="${set_spec_version}" arg2="true"/>
             <then>
             <then>
                 <echo file="${module_dir}/manifest.mf" append="true">OpenIDE-Module-Specification-Version: ${plugins.version}</echo>
                 <echo file="${module_dir}/manifest.mf" append="true">OpenIDE-Module-Specification-Version: ${plugins.version}</echo>
+                <replaceregexp file="${module_dir}/manifest.mf"
+                               match="(\r?\n)\s*\r?\n" 
+                               flags="g"
+                               replace="\1" />            
             </then>
             </then>
             <else>
             <else>
                 <replaceregexp file="${module_dir}/manifest.mf"
                 <replaceregexp file="${module_dir}/manifest.mf"