I just ran into a little issue with the JSP EL. When you're accessing a property, say 'admin', the EL will choose the boolean type (isAdmin) over the string type (getAdmin). I know I shouldn't have named them that way but I wanted to at least document this behavior.
Wednesday, November 14, 2007
NetBeans 6 for the CVS client from the Milestones to Betas. No problem,
we can still make this work. Funny thing is, it's now closer to the
Eclipse setup I had to do :)
Anyways, follow all the steps from my previous post through step 4;
we'll be making a change to step 5.
First create a file called cvswrap.bat. All it needs to contain is the
setlocal enableextensions enabledelayedexpansion
%COMSPEC% /c %CVS_EXE% server
From now on we won't be using the :local: connection method anymore to
connect to CVS, we'll be using :ext:. Basically, your CVS Root should
look something like:
username can be anything you like since it wont be passed to CVS
anyways. In the Checkout dialog the only other thing left is to have
NetBeans use an External Shell. Just put in the location of your
cvswrap.bat file and you're on your way.
Wednesday, October 17, 2007
It's not a good sign when you see code like this in the project you were hired to maintain:
// Initialize the user history collection in case the // user changes his or her password during this session. user.getUserHistories( ).size( );
This is wrong on so many levels I don't even know where to start...
Monday, July 30, 2007
- NetBeans 6 M10 - older and new versions will probably work with this as well
- cygwin - standard install plus cvs
- After NetBeans and cygwin are installed correctly, add the following environment variables:
- CVS_EXE - <cygwin-install>\bin\cvs.exe
- CVS_SERVER - <cygwin-install>\bin\cvs.exe
- add <cygwin-install>\bin to your path
- Add a place in your cygwin virtual filesystem to set up the mount points, I created a /projects/projecname for each.
- Set up the mount points in cygwin (note that this is done from the windows command shell and not the cygwin bash shell):
- >mount z:\shared\drive\path\to\cvs\repo /projects/projectname
- Now here's the really weird part. In the CVSROOT directory of your repo, there's a file named config. You need to edit this file and remove all the new-lines. This is very important as you won't be able to connect otherwise.
- All you need to do now is open up NetBeans and do a CVS checkout. The path will be something like :local:/projects/projectname
Wednesday, July 25, 2007
Monday, June 18, 2007
Just read about this on the Register. Should keep you toes warm on those cold winter days...
...and it runs Java too!
Since I've been working on the MS side of the fence for about 6 months now I thought I'd share some of the things I've seen.
MVC is pretty foreign to about 99% of .NET developers which I find rather insane. Good thing there are smart people like and Hammett, Ayende and JP. Of course there are good people working at MS. But to make this type of stuff work they have to create these huge frameworks and tools (Web Client Software Factory - it's open source though :).
Oh, and don't get me started with Visual Studio...
Not that anybody is listening, but I hope to blog a bit more often.