Re: [appfuse-user] Problems with german umlauts

2008-04-03 Thread Kai Moritz
On Thursday 03 April 2008 19:02:41 Kropp, Henning wrote: > Sorry. I did reply to soon. Oh! Me too... > I do run into the same problems! I'll have a > look at it later on. I'm looking forward to your answers :) - To unsubscribe

Re: [appfuse-user] Problems with german umlauts

2008-04-03 Thread Kai Moritz
ownloading files over the network might change > the file encoding again. I'm running all my tests on local machine. Also up-/downloading via scp shouldn't change anything, shouldn't it? Regards Kai Moritz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[appfuse-user] Problems with german umlauts

2008-04-03 Thread Kai Moritz
see in the source, that the last name 'ä' is encoded correctly in src/test/java/org/appfuse/tutorial/dao/PersonDaoTest.java and src/test/resources/sample-data.xml, though the testcase saies it is'nt! Thanks Kai Moritz german-umlauts.tar.bz2 Description: application/tbz --

[appfuse-user] velocity logging

2008-03-31 Thread Kai Moritz
Hi Folks, I had troubles running my packed Appfuse-Application on my Tomcat-Server. As it turned out, velocity was not able to create its logfile in the "current" directory through the avalon logkit. After an hour of painfull work, I found out, how I have to configure velocity through its prope

Re: [appfuse-user] Strange problem with german umlauts in testcases

2008-03-27 Thread Kai Moritz
On Thursday 27 March 2008 14:08:13 Kropp, Henning wrote: > > I am not sure, but maybe using for descriptions helps. > I've tried that. But it does not help :( Looking for differences between the two systems, I remebered, that Ubuntu comes with Java 6.0 and Etch only with 5.0. The development sy

Re: [appfuse-user] Strange problem with german umlauts in testcases

2008-03-27 Thread Kai Moritz
On Wednesday 26 March 2008 11:44:50 Kai Moritz wrote: > Perhaps I should try to encode the sample-data.xm > l as ISO-bla-15 and give it a > try. I guess that DBUnit counts the characters in the row, without being > aware, that the umlaut has more than 1 byte, whicht then leads to th

Re: [appfuse-user] Out of Memory sending a file

2008-03-26 Thread Kai Moritz
On Wednesday 26 March 2008 17:41:40 Jonathan Ritchie wrote: > Hello > > I am trying to do some pretty simple stuff sending some large files > from a servlet. > > The response is just a standard HttpServletResponse. The code looks > something like this: > > > java.lang.OutOfMemoryError:

Re: [appfuse-user] Strange problem with german umlauts in testcases

2008-03-26 Thread Kai Moritz
On Wednesday 26 March 2008 09:31:39 Peter Schneider-Manzell wrote: > Hi Kay! > > Maybe you should check the encoding of your sources. > Make sure all text files (e.g. xml / java) are encoded with utf8. > I've double-checked this now. All files (xml and java) are encoded in utf8, so this cannot be

Re: [appfuse-user] Strange problem with german umlauts in testcases

2008-03-26 Thread Kai Moritz
Am Mittwoch, 26. März 2008 11:26:27 schrieb Kropp, Henning: > Hi, > > you probably have umlaute in your data-sample.xml. To use umlaute in > this file please make sure it is encoded in utf-8. It is! The source-code should be in UTF-8 as well. But I will doublecheck this this evening... Perhaps I

Re: [appfuse-user] Strange problem with german umlauts in testcases

2008-03-26 Thread Kai Moritz
Am Mittwoch, 26. März 2008 09:31:39 schrieb Peter Schneider-Manzell: > Hi Kay! > > Maybe you should check the encoding of your sources. > Make sure all text files (e.g. xml / java) are encoded with utf8. > I think, I've checked that already. I am editing all my sources with Eclipse, which is tuned

[appfuse-user] Strange problem with german umlauts in testcases

2008-03-26 Thread Kai Moritz
Hi Folks, I have this really strange problem with german umlauts in my testcases. On my development system (Ubuntu feisty with Sun JDK 6.0 and "[EMAIL PROTECTED]") all my testcases work fine. But when I check out the sources on my production system (Debian etch with Sun JDK 5.0 and "LANG=en_US

Re: [appfuse-user] Re: Log4J-Output during testing...

2008-03-26 Thread Kai Moritz
On Wednesday 26 March 2008 05:45:40 Matt Raible wrote: > That's strange. You shouldn't need to use -e AFAIK. Can you verify > that you only have one log4j.xml in your project? If so, it's > possible there's another one in a JAR that's overriding yours. > You are right! I am running with "war:inpla

Re: [appfuse-user] Archetype repository missing - Appfuse Version 2.0.1

2008-03-17 Thread Kai Moritz
I'm not sure, but I think, I had the same error the last days. In my case I got the error, because I was trying to create the new project inside an old project. I just had to change into a directory without any pom.xml in it and the error vanishes... Just trying to get 2.0.1 Archetype, but i

[appfuse-user] Re: Log4J-Output during testing...

2008-03-15 Thread Kai Moritz
On Saturday 15 March 2008 11:30:33 you wrote: > Hi Folks! > > What am I doing wrong? > I found out, that I have to run maven with the "-e" switch, to see the log-messages! This perhaps should be documented on the page http://www.appfuse.org/display/APF/Maven+2 Greetings Kai

[appfuse-user] Log4J-Output during testing...

2008-03-15 Thread Kai Moritz
Hi Folks! In my Appfuse-Project I copied src/main/resources/log4j.xml to src/test/resources and set the log-level for org.hibernate to DEBUG (yes, I also removed the comments around this entry :). But I do not see any log-messages, when running my test cases. Even, if I change src/main/resource

Re: [appfuse-user] Subclassing BaseFormController

2008-03-08 Thread Kai Moritz
e" and added the missing functionallity from BaseFormController in MyUploadController. But I thought that it would be "nicer" (though not really necessary) to spare that copy of already implented logic and reuse your BaseFormController and FileU

[appfuse-user] Subclassing BaseFormController

2008-03-08 Thread Kai Moritz
Hi Folks! I would like to subclass BaseFormController and reuse FileUpload while implementing a customized file upload, which processes the uploaded file instead of saving it. But the dependencies to BaseFormController and FileUpload are not resolved. I tried to add a dependencie to appfuse-web