- change installer creation build script

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8780 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent de4520c834
commit c76141bc99
  1. 24
      sdk/build.xml

@ -149,34 +149,16 @@
<if>
<equals arg1="${set_spec_version}" arg2="true"/>
<then>
<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" />
<!--replaceregexp file="${module_dir}/manifest.mf"
match="OpenIDE-Module-Implementation-Version"
replace="#OpenIDE-Module-Implementation-Version"
byline="true"/-->
<replaceregexp file="${module_dir}/nbproject/project.properties"
match="spec.version.base"
replace="#spec.version.base"
match="OpenIDE-Module-Implementation-Version:(.*)"
replace="OpenIDE-Module-Specification-Version: ${plugins.version}"
byline="true"/>
</then>
<else>
<replaceregexp file="${module_dir}/manifest.mf"
match="OpenIDE-Module-Specification-Version:(.*)"
replace=""
replace="OpenIDE-Module-Implementation-Version: 0"
byline="true"/>
<!--replaceregexp file="${module_dir}/manifest.mf"
match="#OpenIDE-Module-Implementation-Version"
replace="OpenIDE-Module-Implementation-Version"
byline="true"/-->
<replaceregexp file="${module_dir}/nbproject/project.properties"
match="#spec.version.base"
replace="spec.version.base"
byline="true"/>
<echo file="${module_dir}/manifest.mf" append="true"></echo>
</else>
</if>
</target>

Loading…
Cancel
Save