|
@@ -149,34 +149,16 @@
|
|
<if>
|
|
<if>
|
|
<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>
|
|
|
|
<replaceregexp file="${module_dir}/manifest.mf"
|
|
<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"/>
|
|
byline="true"/>
|
|
</then>
|
|
</then>
|
|
<else>
|
|
<else>
|
|
<replaceregexp file="${module_dir}/manifest.mf"
|
|
<replaceregexp file="${module_dir}/manifest.mf"
|
|
match="OpenIDE-Module-Specification-Version:(.*)"
|
|
match="OpenIDE-Module-Specification-Version:(.*)"
|
|
- replace=""
|
|
|
|
|
|
+ replace="OpenIDE-Module-Implementation-Version: 0"
|
|
byline="true"/>
|
|
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>
|
|
</else>
|
|
</if>
|
|
</if>
|
|
</target>
|
|
</target>
|