gpt4 book ai didi

java - build.properties 和 build.xml

转载 作者:塔克拉玛干 更新时间:2023-11-02 19:03:23 24 4
gpt4 key购买 nike

任何人都可以告诉我 ant 构建(内部)过程,以及如何使用 build.properties 信息?

顺便说一下,我正在用 build.properties 打开一个项目——但是我正在处理的项目似乎没有这样的文件(新手问题)有人可以给我介绍一下吗?那是 eclipse 生成的文件吗?

最佳答案

build.property 可以覆盖您在 build.xml 中的属性,而无需修改它。

Building with Ant: Introduction状态:

The construct is usually used to include a file called build.properties. This is a convention used so that you can override default values for your local build environment, without having to modify build.xml (which may, after all, be a shared file, under version control). This means that build.properties should probably not be under version control (add it to .cvsignore under CVS).


资源:

关于java - build.properties 和 build.xml,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3620643/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com