Archivi per Maggio 2009



svn: Inconsistent line ending style

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, [...]

Enabling syntax highlighting in Vim OSX.

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: [...]




Info

Stai navigando negli archivi del sito NewInstance per il mese di Maggio 2009.

Gli articoli lunghi sono troncati. Clicca sul titolo dell'articolo per leggerlo interamente.

Calendario

Maggio 2009
L M M G V S D
« Apr   Giu »
 123
45678910
11121314151617
18192021222324
25262728293031

Categorie