Results 1 to 3 of 3

Thread: slice2xml transformer

  1. #1
    mwilson is offline Registered User
    Name: Mark Wilson
    Organization: University of Rochester
    Project: Omega EP laser
    Join Date
    Jul 2005
    Location
    Rochester, NY
    Posts
    99

    slice2xml transformer

    Hello,

    I have written slice2xml, a program that takes a Slice file as input and outputs an XML representation of it on the standard output. The source and a README can be downloaded from:

    Downloads - slice2xml - Project Hosting on Google Code

    The program is written against Ice-3.3.1 and mcpp-2.7.2 (should be part of your Ice installation). I wrote it on Solaris, it should compile fine in whatever *nix environment you work in. If anyone is interested, I can probably whip up a Visual Standard project for it (if any Windows fans decide to make a project for slice2xml, that would be great).

    I hope to use slice2xml to help generate various pieces of code, such as Oracle code to persist Ice objects (my boss doesn't want us to use Freeze).

    I hope people find slice2xml useful...

    Sincerely,
    Mark Wilson
    Mark E. Wilson
    Lead Programmer/Analyst
    Omega EP Project
    Laboratory for Laser Energetics (www.lle.rochester.edu)
    University of Rochester
    Rochester, NY 14623

  2. #2
    mwilson is offline Registered User
    Name: Mark Wilson
    Organization: University of Rochester
    Project: Omega EP laser
    Join Date
    Jul 2005
    Location
    Rochester, NY
    Posts
    99
    Hello,

    I have attached a patch for slice2xml that allows the program to be compiled against Ice 3.4.0 (is backward compatible for older versions of Ice). On *nix systems, you can apply the patch with the following command:

    Code:
    cat main.cc.patch | patch  main.cc
    This will overwrite the main.cc in the directory. The -b option will save the original main program as main.cc.orig.

    I would be interested to know if anyone is using slice2xml and what they are using it for....
    Attached Files Attached Files
    Mark E. Wilson
    Lead Programmer/Analyst
    Omega EP Project
    Laboratory for Laser Energetics (www.lle.rochester.edu)
    University of Rochester
    Rochester, NY 14623

  3. #3
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    Thanks for the contribution Mark!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. slice2xml or SliceScript
    By n2503v in forum Comments
    Replies: 6
    Last Post: 02-18-2008, 07:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •