On 7/21/07, springbok <[EMAIL PROTECTED]> wrote:
Hi,
I'm from Italy and I'm a total newbie to Spring, Hibernate, Struts 2
and of course AppFuse, so please forgive me if I make trivial or
already-asked questions.

I just completed the tutorial for AppFuse 2.0M5, and I was wondering
how could I prevent maven to run *every* test every time I run AppFuse
with
mvn jetty:run-war

I know I can disable all tests with the -Dmaven.test.skip=true
parameter, but this is not what I want. I'd like to temporarily
exclude only some tests, for example the Person*Test ones, and also
prevent Hibernate to continuosly drop/(re)create/populate the tables
against which the tests are run.

You can add the maven-surefire-plugin to your pom and include/exclude
certain tests. You could also add a profile that activates and
excludes tests when you pass in a certain parameter.

To stop dropping of tables, you should be able to modify the
hibernate3-maven-plugin to remove <drop>true</drop>.


My second question is about accented chars. I simply can't see them,
both Mozilla and IE show a question mark in place of every accented
char.

For example in the ApplicationResources_it.properties I find the line
user.address.city=Citt\u00E0
this shows up as "Citt?" in the browser (instead of Città)

any clues on how to resolve this?

If you change the text to native Italian text, does it work?

Matt


Thanks,
Andrea

Reply via email to