I made a change in the blogger configuration to ease the later work when blogging. It is possible that older entries are not correctly formatted.

Thursday, 18 February 2010

Desktop recording Suse

I have just tried a desktop recording software under OpenSuse 11.2: recordmydesktop. It really worked as a charm for the video part even with thesound.

Eclipse 3.5 Windows and Unicode and Subversion

File.encoding in Eclipse and strange encoding problem in JavaSource UTF-8 files

While trying to deploy the package I have been deploying, a few problem arised yesterday.

We first had checked out a Web application.

Afterwards we set the default encoding to UTF-8 for a few files in the Window > Preferences > General > Content-Type > Text > JSP .

We also changed the encoding in the eclipse.ini file, adding the following line to the java command -Dfile.encoding=UTF-8 in the eclipse.ini

We had strange text where umlauts had been destroyed. The text was in UTF-8 in UTF-8 files in the JavaSource directory. By Debugging, we discovered that they were also called by UTF-8 JSP or UTF-8 Java Files.

The solution has been to check the Application again. Afterwards the text was displayed correctly

Subversion problem while checking files with same names with different Case

The other problem we had, was caused by two files having the same names but with different case: file.jsp and File.jsp. This caused some kind of conflict when checking the file out with subclipse.

Monday, 15 February 2010

Adding .inc as content Type under eclipse

After spending much time looking for the place of the configuration for adding .inc as possible types for files in eclipse, I had to ask a friend again. So here is the place where you do it in Galileo: Window > Preferences > General > Content Types Choose Text > JSP > JSP Fragment And add *.inc to the list of files. You probably also should set the Default encoding.