Recent Posts

RSS Feeds

Subversion & Subclipse

Subversion and Subclipse look really cool! Can't wait to check it out. Here are my notes from the talk...

Easy use…

 

svn checkout http://svn.example.com/repos/project

cd project

jed brain.txt

svn commit –m “new plan to conquer the world”

 

subversion vs CVS

most cvs features

directory versioning

metadata on files – name value pairs can be attached to any thing

atomic commits (db on the background)

Branching and tagging are cheap

Designed for the network

Better binary file handling

Layered library design

 

0.37 is a release candidate should release on 2/23 will be 0.37 renamed as 1.0

 

revert allows you to go back to the old version (delete the changes you’ve made)

switch moves you between branches (cool)

 

Global version number for your project  - unique ‘name’ for a snapshot of your project

 

Branches are ‘copy on demand’

Tags are essentially a branch that is not changed.

 

Suggested layout

 

trunk

  source

  docs

  buildtools

branches

  issue-1003

  gstein

tags

  alpha-1

  etc

 

authentication is very cool – it uses http auth so it can even do certificates

 

modules – very cool too, the dependencies are specified via svn:externals property attached to a directory and is versioned like any other property

 

keyword expansion must be explicitly enabled on a file (via properties attached to the file).

 

Subclipse – subversion plugin to eclipse

  A team provider (repository)

  JNI stuff on the client – runs on mac?

 

cvs2svn converts CVS repo to svn

ViewCVS does subversion too

Hook scripts – commit emails, simple ACLs, reserved checkouts, repository backup

Libraries, scripting and svnlook

 

 

Permalink     No Comments

More: From JSF EA4 to JSF 1.0 Beat

This is a small one but a pain in the neck...

When converting to the beta you have to change *-tree-id to *-view-id in the faces config file. Sort of duh, but instead of telling you that the navigation rule was invalid JSF just throws a NullPointerException. Here is the stack trace I was getting in my browser.

java.lang.NullPointerException
        com.sun.faces.context.ExternalContextImpl.dispatchMessage(ExternalContextImpl.java:287)
        com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:144)
        com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:89)
        com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:209)
        javax.faces.webapp.FacesServlet.service(FacesServlet.java:196)

So just be aware that if you are getting errors like this its probably your faces config.

Permalink     No Comments