just ram

stuff I should remember

SAP Portal HTTP or HTTPS?

Want to tell if your iView is running over HTTP or HTTPS?

Try this:

WARNING: Untested code ahead! ` HttpServletRequest servletRequest = componentRequest.getServletRequest(); String requestURL = servletRequest.getRequestURL().toString(); String protocol = requestURL.substring(0, requestURL.indexOf(“:”));`

if(protocol.equals(“http”)) { // do HTTP stuff } else { // do HTTPS stuff }

Installing subversion server on windows

We used subversion (or svn for short) server running on windows as our version control server as it integrates very nicely with eclipse.

We found a guide for installation:

Mere-Moments Guide to installing a Subversion server on Windows

But it turned out all we really needed was the subversion 1-click install:

svn 1-clicksetup

Intergration with eclipse was easy too:

Subclipse

We also found a nice windows client for subversion:

tortoisesvn

Job done we’re good to go.

My first post

I hope to use this every day but who knows this might be my only post!