1 Star 0 Fork 12

DXwangg/openjfx8_patch

forked from src-openEuler/openjfx8 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.xml 2.71 KB
一键复制 编辑 原始数据 按行查看 历史
Noah 提交于 2020-06-01 17:37 . initial packaging
<project name="VersionInfo" default="replaceVersionInfo" basedir=".">
<!-- set global properties for this build -->
<property file="build.properties"/>
<property name="file.versioninfo" value="VersionInfo.java"/>
<property name="src.versioninfo" value="modules/base/src/main/version-info"/>
<property name="dst.versioninfo" value="modules/base/src/main/java/com/sun/javafx/runtime"/>
<target name="replaceVersionInfo" depends="prepare,replaceReleaseVersion">
<echo message="RELEASE_SUFFIX="/>
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@RELEASE_MILESTONE@" value=""/>
<tstamp>
<format property="NOW" pattern="yyyy-MM-dd-HHmmss"/>
</tstamp>
<echo message="BUILD_TIMESTAMP=${NOW}"/>
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@BUILD_TIMESTAMP@" value="${NOW}"/>
<echo message="HUDSON_JOB_NAME=not_hudson"/>
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@HUDSON_JOB_NAME@" value="not_hudson"/>
<echo message="HUDSON_BUILD_NUMBER=0000"/>
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@HUDSON_BUILD_NUMBER@" value="0000"/>
<echo message="PROMOTED_BUILD_NUMBER=0"/>
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@PROMOTED_BUILD_NUMBER@" value="0"/>
</target>
<target name="replaceReleaseVersion">
<echo message="RELEASE_VERSION=${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}"/>
<replace file="${dst.versioninfo}/${file.versioninfo}" token="@RAW_VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}"/>
<!--<replace file="javafx.pom" token="@VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}"/>-->
<replace file="pom.xml" token="@RELEASE_VERSION@" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}"/>
<replace dir="modules" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}">
<include name="**/pom.xml"/>
<replacetoken>@RELEASE_VERSION@</replacetoken>
</replace>
<replace dir="shade" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}">
<include name="**/pom.xml"/>
<replacetoken>@RELEASE_VERSION@</replacetoken>
</replace>
<replace dir="buildSrc" value="${jfx.release.major.version}.${jfx.release.minor.version}.${jfx.release.micro.version}">
<include name="**/pom.xml"/>
<replacetoken>@RELEASE_VERSION@</replacetoken>
</replace>
</target>
<target name="prepare">
<copy file="${src.versioninfo}/${file.versioninfo}" tofile="${dst.versioninfo}/${file.versioninfo}"/>
</target>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/DXwangg/openjfx8_patch.git
git@gitee.com:DXwangg/openjfx8_patch.git
DXwangg
openjfx8_patch
openjfx8_patch
master

搜索帮助