Archive for May, 2009



Today I got this error on OSX terminal doing a "svn import" of a project created with a maven archetype.
My svn configuration defines that when I commit Java or XML sources it automatically adds the property svn:eol-style=native (see: svn automatic properties). But the project created with maven is mixing different type of end of lines, [...]

Very shortly:

$ cd # go in your home folder
$ vim .vimrc # edit your preferences for vim

...add following line at the end of the file and save:

syntax on

...if still it doesn't work add also this line:

set term=ansi

Now vim should [...]

Today I reinstalled my laptop with Ubuntu 9.04 (64bit version) and it runs like a charm.
Now I am reinstalling all the things I need for work, and of course eclipse with subclipse plugin.
Facing the usual problem with JavaHL, this time I wanted to fix it; because on OSX/Linux if you run different versions of command [...]

Java native compilation

Native compilation of Java code offers some advantages over distributing .jar files:

it cannot be easily decompiled/reversed/hacked
it doesn't require a JVM on the user's computer

it doesn't require a startup shell script
performances: some people believes that native code run faster; I'm a little bit skeptical about this point

On the other side, you loose on

cross platform portability
reusability: [...]




About

You are currently browsing the NewInstance weblog archives for May, 2009.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.

Calendar

May 2009
M T W T F S S
« Apr   Jun »
 123
45678910
11121314151617
18192021222324
25262728293031

Categories