Re: Profiles and resources

2008-02-12 Thread mljv
. What > you really should do is conditionally include your prod resources for only > production profiles. There is a much bigger problem of mixing dev and > production resources in a build. If there are common resources between the > two then the dir structure should be changed

Profiles and resources

2008-02-11 Thread mljv
sorry, i clicked send to early... so here is my full post: Hi, i am struggeling with profiles and resources. I have src/main/resources/application.properties src/main/dev-resources/application.properties my profiles in pom.xml production

Profiles and resources

2008-02-11 Thread mljv
Hi, i am struggeling with profiles and resources. I have src/main/resources/application.properties src/main/dev-resources/application.properties my profiles in pom.xml production tru

jspc precompiler error

2007-11-05 Thread mljv
hi, i have a difficult problem with precompiling jsp with jspc-maven-plugin (v1.4.6) i get this error: [INFO] [jspc:compile {execution: jspc}] java.lang.NumberFormatException: For input string: "${count}" java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at j

release plugin and antrun task

2007-10-24 Thread mljv
hi, i want to use the release plugin like this: org.apache.maven.plugins maven-release-plugin antrun:run maven-antrun-plugin run hallo of course the ant task is something different in reality. It runs like this and doesn't execute the task: [...] [INFO] Executing: mvn antrun:run

Re: Junit testing of webapps in maven

2007-08-25 Thread mljv
Hi, i think you meant "integration tests" and not unit tests. Take a look at the great maven book here: http://www.sonatype.com/book/j2ee.html#integration_testing If you need more help, please ask. kind regards, janning Am Donnerstag, 23. August 2007 00:54 schrieb Farrukh Najmi: > I have rece

Re: hibernate3-maven-plugin not running

2007-08-17 Thread mljv
Am Donnerstag, 16. August 2007 19:56 schrieb Mathias P.W Nilsson: > Thanks for you pation but it still doesn't work > > I get this for all my classes. I'm using annotations. Worked perfectly when > I was using ant. > this is my pom snippte and it works with mvn process-resources hibernate3:hb

Re: Maven - selective inclusion of testcases in a package

2007-08-17 Thread mljv
Am Donnerstag, 16. August 2007 18:48 schrieb Vaidya, Supriya A (US - Chicago): > Hi: > > I have the following situation: > > com/mycompany/mypackage/application/ has my class files, while > com/mycompany/testcases has my test cases (Cactus). > > In creating the WAR file, I want to be able to ex

Re: TestCase and resources in src/main/webapp

2007-08-13 Thread mljv
Am Montag, 13. August 2007 17:19 schrieb Doug Douglass: > Instead of trying to configure surefire, just add a test resource to your > projects build. > We use the follow pom snippet inherited by all our war projects: > > > [..snip..] > > > src/main/webapp > >

TestCase and resources in src/main/webapp

2007-08-13 Thread mljv
Hi, i have placed some message files in src/main/webapp/WEB-INF/messages/ in order to use Springs ReloadableResourceBundleMessageSource No i want to use this property files in a test class: protected void setUp ( ) throws Exception { messageSource = new ResourceB

Re: Maven and jetty classpath

2007-07-21 Thread mljv
Am Donnerstag, 19. Juli 2007 19:53 schrieb [EMAIL PROTECTED]: > Hi, > > i have strange classLoader problem. I use maven, eclipse and jetty. > > i want to write a functional test with htmlunit, something like shown here > > http://today.java.net/pub/a/today/2007/04/12/embedded-integration-testing-o

Maven and jetty classpath

2007-07-19 Thread mljv
Hi, i have strange classLoader problem. I use maven, eclipse and jetty. i want to write a functional test with htmlunit, something like shown here http://today.java.net/pub/a/today/2007/04/12/embedded-integration-testing-of-web-applications.html i start a jetty container with privat

Re: [Surefire]Compilation of unit tests even if skip=true

2007-06-26 Thread mljv
Am Dienstag, 26. Juni 2007 14:15 schrieb [EMAIL PROTECTED]: > Hello, > > When i configure surefire in the pom in order to skip the tests, > compilation of unit tests are done. > But when i use the command line configuration (-Dmaven.test.skip=true), > compilation of unit tests are not done. > > Has

maven, i18n and xliff

2007-06-14 Thread mljv
Hi folks, does anybody know of a maven plugin which supports translation process of properties files and jsp? I did some research on this topic: The best open source tool around for translating seems to be OpenLanguageTool, it has nice filters transforming source to xliff, has a translation me

Re: Better solution then filtering?

2007-06-11 Thread mljv
Am Montag, 11. Juni 2007 16:40 schrieb Dirk Olmes: > Nathan Maves wrote: > > First off great product! > > > > I am using filtering for all of my property files that differ from > > multiple environments (dev, uat, prod). I am a little stuck on how to > > filter files that differ dramatically from

Re: maven and Eclipse AspectJ build path

2007-06-11 Thread mljv
Am Montag, 11. Juni 2007 15:45 schrieb Dirk Olmes: > [EMAIL PROTECTED] wrote: > > Hi, > > > > this is not 100% directly related to maven but maybe someone can help me: > > i use eclipse 3.2, AspectJ, maven 2 and eclipse maven plugin. > > > > In my .settings/org.eclipse.ajdt.ui.prefs i have > > > >

maven and Eclipse AspectJ build path

2007-06-11 Thread mljv
Hi, this is not 100% directly related to maven but maybe someone can help me: i use eclipse 3.2, AspectJ, maven 2 and eclipse maven plugin. In my .settings/org.eclipse.ajdt.ui.prefs i have #Mon Jun 11 13:00:35 CEST 2007 eclipse.preferences.version=1 org.eclipse.ajdt.ui.aspectPath.contentKind1=B