Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build multiple project configurations with eclipse

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

My problem is the following:

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.).

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.

Any ideas / hints ?

like image 378
KB22 Avatar asked Sep 05 '25 03:09

KB22


1 Answers

There are actually plugins for this out there:

Maven4Eclipse

like image 160
KB22 Avatar answered Sep 08 '25 18:09

KB22