You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Henrique Boregio <hb...@gmail.com> on 2011/03/09 14:11:54 UTC
Before deployment checklist
Hello. I am getting close to deploying my first wicket web
application. It's not huge but it does have lots of classes,
components, database stuff, search features, etc.
I was wondering if anyone had some kind of checklist on what things to
definitely check before deploying a wicket application into
production.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Before deployment checklist
Posted by Mauro Ciancio <ma...@gmail.com>.
I usually use two set of configuration for Sprint (in case that you're
using it) and also maven profiles allows you to forget setting the
proper one. Also I have two set of logger configs and maven chooses
the correct one.
If you need more details just reply me.
Regards.
On Wed, Mar 9, 2011 at 10:11 AM, Henrique Boregio <hb...@gmail.com> wrote:
> Hello. I am getting close to deploying my first wicket web
> application. It's not huge but it does have lots of classes,
> components, database stuff, search features, etc.
>
> I was wondering if anyone had some kind of checklist on what things to
> definitely check before deploying a wicket application into
> production.
>
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Mauro Ciancio
http://about.me/maurociancio
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Before deployment checklist
Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Hi!
Is a good idea to have appropriate build script that does the changes
/ assert checklist for you.
For example,
<target name="replace" depends="copy" description="o Test">
<replace file="${targetspace}\src\webapp\WEB-INF\web.xml">
<replacetoken><![CDATA[<param-value>development</param-value>]]></replacetoken>
<replacevalue><![CDATA[<param-value>deployment</param-value>]]></replacevalue>
</replace>
<replace file="${targetspace}\src\main\java\META-INF\persistence.xml">
<replacetoken><![CDATA[<property name="hibernate.dialect"
value="org.hibernate.dialect.MySQL5InnoDBDialect"/>]]></replacetoken>
<replacevalue><![CDATA[<property name="hibernate.dialect"
value="org.hibernate.dialect.PostgreSQLDialect"/>]]></replacevalue>
</replace>
<replace file="${targetspace}\src\main\java\META-INF\persistence.xml">
<replacetoken><![CDATA[<property
name="hibernate.connection.url"
value="jdbc:mysql://localhost:3306/takp"/>]]></replacetoken>
<replacevalue><![CDATA[<property
name="hibernate.connection.url"
value="jdbc:postgresql://localhost:5432/takp"/>]]></replacevalue>
</replace>
<replace file="${targetspace}\src\main\java\META-INF\persistence.xml">
<replacetoken><![CDATA[<property
name="hibernate.connection.driver_class"
value="com.mysql.jdbc.Driver"/>]]></replacetoken>
<replacevalue><![CDATA[<property
name="hibernate.connection.driver_class"
value="org.postgresql.Driver"/>]]></replacevalue>
<fail message="Wrong configuration">
<condition>
<or>
<not>
<resourcecount count="1">
<fileset
file="${targetspace}\src\main\java\META-INF\persistence.xml">
<contains text='property name="hibernate.hbm2ddl.auto"
value="false"' casesensitive="yes"/>
</fileset>
</resourcecount>
</not>
<not>
<resourcecount count="1">
<fileset
file="${targetspace}\src\main\java\META-INF\persistence.xml">
<contains text='property name="hibernate.show_sql"
value="false"' casesensitive="yes"/>
</fileset>
</resourcecount>
</not>
<not>
**
Martin
2011/3/9 Henrique Boregio <hb...@gmail.com>:
> Hello. I am getting close to deploying my first wicket web
> application. It's not huge but it does have lots of classes,
> components, database stuff, search features, etc.
>
> I was wondering if anyone had some kind of checklist on what things to
> definitely check before deploying a wicket application into
> production.
>
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org