Pages

cygwin emacs c-x c-c problem

It seems emacs doesn’t quit when doing c-x c-c. Now, somewhat black magicwise do set an environment variable (I set it in the windows environment, maybe local shell vars is sufficient?) CYGWIN=tty.

That does the trick. But why?

blogger basics :)

To show sgml tags (<hello>) you replace the < with (and correspondingly “gt”).

facelet basics

Going through the facelet example (also features as a NB tutorial) – the number guessing demo.

There is the template.xhtml which basically composes a particular layout by inserts;

<body> <h1> <ui:insert name=”title”>Default Title</ui:insert> [...]

glassfish fails to boot

Hum. On a new laptop my glassfish(es) fail to boot.

The server.log gives me

Cannot bind to URL [rmi://myhost.com:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception isjava.rmi.ConnectIOException: error during JRMP connection establishment; nested

I tried to get rid of all references to myhost.com in the config files, but to no avail. A Chris Fleischmann comes up with a working tweak however; [...]

subversion and cygwin paths

If you use cygwin repository paths with imports (and presumably other repository path commands I guess), then you get a weird error;

$ svn import source file:///cygdrive/f/svnrep/myrep -m “”svn: Unable to open an ra_local session to URLsvn: Unable to open repository ‘file:///cygdrive/f/svnrep/myrep’

But, switching to ‘:’ syntax does the trick;

$ svn import source file:///f:/svnrep/myrep -m [...]