Netbeans refuses to recognize persistence.xml (no visual editor)

If you create the persistence.xml manually in Windows the file will be created with CRLF line endings (windows style line endings), that will prevent Netbeans for recognizing- Netbeans will not recognize it as the special file it is and won’t be able to to open it with the special/custom visual editor. [/caption] I opened an bug report netbeans issue #172538. At the beginning, I thought the problem was due to different line ending CRLF vs LF issues, but as pointed out in the bug report the line ending has nothing to do with it. It’s just the IDE restart what is needed, no need to change the line endings. ...

September 18, 2009

Adding support for opening dot files to GraphBrowser

I spent some time on GraphBrowser, starting off the project, the first step has been to add basic support for opeining Graphviz DOT files. There are already some pages on the net talking about how to add open file support for new file types in NetBeans. File Type Integration Tutorial So there is no need to explain how to do it in a detailed way. The first main step is to invoke New File Type wizard on the module (in my case MainModule) to add the basic files to support the file type. ...

July 22, 2009

Cygwin problem: Can't access /cygdrive/c

I’ve lost my ability to see my c: drive from cygwin. when I do $ cd c: or $ cd /cygdrive/c all goes ok. But if I do $ ls then it complains ecerulm@rlm-ecb4fe6cda1 /cygdrive/c $ ls ls: reading directory .: No such file or directory I found something at this forum and also here So it seems that I screwed up permission (maybe it related to some automatic windows update). So after checking my username and group are the right on with ...

September 4, 2006

Adjust the volume and EQ setting of podcast and audiobooks automatically

Continuing with my previous posts 1,2 …. I wrote a little script that I run every day via Windows Scheduled tasks. The script adjust the volume and EQ setting of all the podcasts and audiobooks everyday. I find hard to listen to podcast and audiobooks at the gym (that’s were I listen to podcasts and audiobooks) at the standard volume so I like to adjust the volume +100% and change the EQ setting to “Spoken word”. ...

August 23, 2006