Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用 NetBeans 创建来自相同来源的不同可运行 jar,每个都有不同的“参数”。为此,我不能简单地使用 .properties 文件,因为我需要向每个客户提供他定制的应用程序。我该怎么做?使用 NetBeans 更好(因为我转向它进行开发)
您可以右键单击您的项目>设置配置>自定义
在那里,您可以单击新建以创建新配置。
每个配置都可以有不同的 Main 入口点、JVM 参数、参数、ant 构建脚本......
一旦你有几个配置设置,你可以右键单击你的项目>设置配置并选择哪个配置是活动的。