Abbey Workshop
OSX
XML
All

Entries for 10/2005

My Blog Software Moving Forward

Posted: 10-30-2005 20:14:50 by MikeW in categories: General

My attempts to replace the software that runs this site are moving forward. In fact, as of today, I can generate a home page just like the one you are currently looking at. Woo hoo!

But I am still a few weeks away from swapping it out. I still need to generate the atom and RSS2 feeds. I have the atom stuff working, but not properly tested. Haven't started on the rss2 stuff yet.

The application is a combination of scripting software and XSLT. Right now I'm using mainly Perl to create the XML indexes necessary to generate the main page and feeds. I started out using Ruby, but switched back to Perl as I have found learning Ruby to be a little slower going than I planned originally. So I'm going to create everything in Perl first. Then go back and create a Ruby version. Ruby is cool, but I know Perl much better and I want to get this done sooner rather than later.

Comments via Technorati Technorati talk bubble

Good XML::Simple Intro

Posted: 10-18-2005 20:40:58 by MikeW in categories: General XML Perl

Since my team at work is using Perl to do some quick and dirty prototyping I have been looking around for some good Perl XML parsers. Stuff that is simple and easy to use, not just a SAX or DOM parser. Because, well…, I’m lazy and the less feces I have to deal with to get the job done, the better.

Anyway, I had looked at XML::Simple but could not find any good introductions or tutorials. (Hint for you geeks out there: The output from Data::Dumper though interesting, is not by itself an explanation or an example of how to use the library in practice.) Finally I ran across this excellent article and thought I should share: Parsing XML documents with Perl’s XML::Simple.

Comments via Technorati Technorati talk bubble

Increasing Java Heap for Ant

Posted: 10-17-2005 21:49:42 by MikeW in categories: General Java

I ran across a little tip tonight I thought I should share. Trying to perform a large XSLT tranform with Ant kept giving me the following error: Out of memory. Increase Heap Size.

This is a Java error indicating that the virtual machine is out of memory. So now I know what the problem is, what next? If I was launching from a command line changing the heap size is not that tough. Just look up the options for java and set a new value, but I’m using Ant. Looking at the Ant shell script or batch file was no help.

Well a bit of Googling turned up that Ant looks for an environment variable called ANT_OPTS which is use to set Java parameters. Just set the environment variable and off you go. So I added the following to increase the heap size:

export ANT_OPTS=-Xmx256m
	

That sets the maximum heap size to 256 Megabytes. It solved my problem as the XSLT transform topped out at about 220Meg. So if you ever need to increase the size of the Ant JVM, now you know how.

Comments via Technorati Technorati talk bubble
Google
  Web abbeyworkshop.com   

Copyright © Abbey Workshop 2005

Blog Home

Archives

Current Year: 2006
Months: 01 02 03 05 06 07 08 09 10 11

Blog Links

Friends
Elementary Penguin
Random Dribble
Scotty's Engineering Log
Vegetarian Conspiracy

IP Audio/Video
diggnation
nerdtv
twit.tv

Programming
Artima Ruby Buzz
PHP Developer

XML
Tim Bray
Planet XML
xml.com

Categories

General
XML

Music Only Search
The Black MP3 Album
The MP3 Album Lyrics
Wprld Music Plus
Mp3 Songs Blog
Music Search Store
First Music Search
Mega MP3 Blog
E MP3 BLog
My MP3 Diary
Fast MP3 Finder
My Blog MP3
Mp3 Songs Mart
My MP3 Songs Album
Top Music Group
Mp3 Tune Records
Song Album Guide
Music DataDite
MP3 Buying Guide
Top MP3 Downloads
MP3 Tune Festival
FAST MP3 Downloads
MP3 Mart Online
Upper MP3
Premium MP3 Site
Music Data online
Fine MP3 Audio
Cheap Music Albums
Fine mp3 downloads
World MP3 Music Records
Mp3 Music Data Direct
The Fine Mp3
MP3 Files World
Home Music Store
DatMP3
Fat MP3 Audio
MP3 ZigZag
MP3 Songs Direct
MP3 Tune World
E MP3 Log
Boom MP3 Music
Speedy MP3
Top 20 MP3 music
Deep MP3 World
Deep MP3 Download
Best-20 MP3
Top Twenty MP3
Deep MP3
Big MP3 Guide
Deep MP3 Audio
Mp3 R.O.B.
MP3-Pop Online
Greate-20-MP3
MP3 Appear
3T-MP3