- From: Dan Brickley <danbri@w3.org>
- Date: Fri, 19 Mar 2004 13:26:11 -0500
- To: Paul Cowles <paul@semaview.com>
- Cc: www-rdf-calendar@w3.org
* Paul Cowles <paul@semaview.com> [2004-03-16 13:34-0500] > Hi all, > > We've finally wrapped our C# .NET ical2rdf converter into an open source > package and made it available via sourceforge. You may find the project at: > > https://sourceforge.net/projects/icalparser/ > > The project contains both source code (icalparser) and binary executable > (ical2rdf). > > Hope this is of use to the community, feel free to direct feedback to the > project contact Tim at <mailto:tspurway@semaview.com> tspurway@semaview.com > We are looking forward to new contributions to the project. This is great, thanks for sharing :) Brief notes to report some success with these tools in a Linux/Debian environment using the Mono C# implementation (whichever version is currently packaged in Debian Unstable distribution). unpacking the binary and src distrib, I can run the binary as follows... danbri@fireball:~/tmp/mono/ical$ mono ical2rdf.exe testcases/birthdays.ics ...and it spits out RDF. As for compiling... I promise it worked yesterday, but then I did an 'apt-get upgrade' and perhaps Mono got updated. The following command in the source dir should build a .exe: mcs -r System.Web *.cs Right now I'm seeing errors (unrelated to the cal stuff I think), [[ ** (/usr/share/dotnet/bin/mcs.exe:21679): WARNING **: Missing method DiscardBufferedData in assembly /usr/share/dotnet/bin/mcs.exe typeref index 71 System.NullReferenceException: A null value was found where an object instance was required in (unmanaged) 00 Mono.CSharp.SeekableStreamReader:set_Position (int) in <0x00181> 00 Mono.CSharp.Tokenizer:is_punct (char,bool&) in <0x00393> 00 Mono.CSharp.Tokenizer:xtoken () in <0x00017> 00 Mono.CSharp.Tokenizer:token () in <0x002ce> 00 Mono.CSharp.CSharpParser:yyparse (Mono.CSharp.yyParser.yyInput) in <0x00079> 00 Mono.CSharp.CSharpParser:parse () Emitter.cs(461) error CS8025: Parsing error ]] ...but I guess that's why they call this version of Debian 'Unstable'. I'm pretty sure that folk with a working Mono setup should be able to use this easily. It built perfectly last night! thanks again, Dan
Received on Friday, 19 March 2004 13:26:11 UTC