Posted on July 12, 2008 at 11:21 pm
Na Danke…
Posted on July 10, 2008 at 10:08 am
Panzi has written a very nice Lib to parse command line options in Java. You can just add Annotations to your Java fields and they will be filled automagically with the command line values.
Posted on July 7, 2008 at 8:34 pm
Its pretty easy to install Wordpress 2.5 on Ubuntu Intrepid. The Ubuntu version comes with Multiblog capabilities included. There is an example script (/usr/share/doc/wordpress/examples/setup-mysql) to create new instances of Wordpress Blogs. Unfortunatly the script was copied from Debian and some paths are wrong for Ubuntu. The script below fixes that issue. After that it worked flawlessly for me with wordpress-2.5.1-2ubuntu1.
82,83c82,83 < [ -d /srv/www ] || mkdir -p /srv/www < ln -s /usr/share/wordpress /srv/www/$DOMAIN --- > [ -d /var/www ] || mkdir -p /var/www > ln -s /usr/share/wordpress /var/www/$DOMAIN 149c149 < UPLOAD="/srv/www/wp-uploads/$DOMAIN" --- > UPLOAD="/var/www/wp-uploads/$DOMAIN" 181a182 > |
Coding==relaxing!