Archive for the ‘Projects’ Category

Swing calendar

Wednesday, January 2nd, 2008

In this post I don’t want to backbite about java. Of course a programmer has many default java swing components in the default library, however some important components are missing. One of them is a swing calender. Fortunately it’s not really difficult to create and implement your own.

The foundation for my calender is from the “Swing Hacks” book, which is really helpful to learn things about swing and threads (in combination with swing).

Calendar

In the example of this book you were not able to change or select the date direct in the ui. The implementation of this add on is very simple and can be developed in a short time.

If you want to try some “Swing Hacks” then you can download these from the Oreilly page. It’s a good point to start if the default components are not good enough or you just want to learn new things.

Book:

  • Swing Hacks (Tips & Tools for building killer GUIs)
  • ISBN 0-596-00907-0

svnsync

Saturday, December 29th, 2007

Today you can find a lot of different descriptions on the internet how you can sync two svn servers. But most of them are too complex for my simple situation. Now I found a perfect solution on Paul’s blog.

Here is a short version:

  1. In the destRepo:
    $ echo "#!/bin/sh" > hooks/pre-revprop-change
    $ chmod 755 hooks/pre-revprop-change
  2. svnsync init {DEST_URL} {SRC_URL}
  3. svnsync sync {DEST_URL}

After I aborted the process the first time I get an error
Failed to get lock on destination repos, currently held by.
This problem is easy to fix, just release the lock on revision 0 with
svn propdel svn:sync-lock --revprop -r 0 {DEST_URL}

That’s it…..

LogsViewer

Saturday, December 29th, 2007

At the moment a friend of mine and I are working on a project that should help administrators to analyse logfiles from different services. Therefor different parsers are needed for the logfiles, but it is really simple to implement your own format because the AbstractParser is doing the whole work for you. For a faster access we write the complete logfiles into a database. Up to now we are supporting an interface to mysql, mssql and h2.

Server:
Source
Websvn

Guest account: (guest / guest)

If you have any questions or suggestion please do not hesitate to contact us.
__________________________________
YourKit is kindly supporting open source projects with its full-featured Java Profiler. YourKit, LLC is creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit’s leading software products:
YourKit Java Profiler and
YourKit .NET Profiler.
__________________________________