Hi,
The problem is that i would need to build multiple war projects for
each environment. In the company i work for a single war file must be
able to be used in multiple environments.
Is it possible to set the play id at runtime?
In spring we would do something like this and the runEnv value would
be set in the JVM. Is it possible to do something like this
with the application.conf file.
<bean id="ldapEtrustPropertyConfiguration"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:ldap/etrust.properties</value>
<value>classpath:ldap/etrust-${runEnv}.properties</
value>
</list>
</property>
</bean>
On Jun 21, 3:14 am, Matt Wolff <
wolffmls...@gmail.com> wrote:
> You set theplayidwhen you are creating the WAR file. Example :playwar myProject --%dev -o /mydir/myProject --zip
>
> I believe that "test" is a special case. You'll have to look through
> older posts for more info.
>
> On Jun 20, 7:39 am, jr dev <
share.readin...@gmail.com> wrote:
>
> > Hi,
>
> > When deploying aplayapplication to application container such as
> > tomcat or websphere how do i set theplayid? Is there is system