使用eclipse构建多个项目配置 [英] Build multiple project configurations with eclipse

查看:138
本文介绍了使用eclipse构建多个项目配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法使Eclipse能够导出多个配置的
a单个项目?

Is there a way to make Eclipse able to export multiple configurations of a single project?

我的问题是以下:

我有几个java web应用程序,我在Eclipse中开发。
在将新版本添加到生产服务器之前,我将
新版本发布到测试服务器,其中应用程序运行时使用略微
的不同配置(数据库服务器名称等)。

I have several java web applications which I develop in Eclipse. Before I put new versions onto my production server I publish the new versions to a test server, where the apps run with a slightly different configuration (database server name, etc.).

有没有办法像'export war for TEST env'
和'export war for PROD env'? Eclipse只需要
获取另一个属性文件...

Is there a way to something like 'export war for TEST env' and 'export war for PROD env'? Eclipse only would have to take another properties file...

我想有一种方法,我只是不能弄清楚。

I guess there is a way, I just can't figure it out.

任何想法/提示?

推荐答案

Maven4Eclipse

这篇关于使用eclipse构建多个项目配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆