logo       


RE: Windows Batch file for XMLc-2.1: msg#00033

Subject: RE: Windows Batch file for XMLc-2.1

Jacob,

Thanks.  it’s the note about the other jar files that did the trick. I was getting the class not found error because I hadn’t linked the other jars. I have the script and will gladly share if anyone needs it.

 

ttyl

 

 Sanjay

_________________________________________

Sanjay Date

Metallect

(214) 576 - 9674 (desk)

-----Original Message-----
From: xmlc-admin@xxxxxxxxxxx [mailto:xmlc-admin@xxxxxxxxxxx] On Behalf Of Jacob Kjome
Sent: Friday, May 30, 2003 9:27 AM
To: xmlc@xxxxxxxxxxx
Subject: Re: Xmlc: Windows Batch file for XMLc-2.1

 


Here's a batch script that I dug up from a while back.  It might do the job for you...

@echo off
rem xmlc.bat -- Script for running enhydra's xmlc
rem $Id: xmlc.bat,v 1.3.2.2 2000/11/27 22:45:57 hoju Exp $

set _CP=%CP%

rem Identify the custom class path components we need
set CP=%XMLC_HOME%\lib\xmlc.jar
set CP=%CP%;%JAVA_HOME%\lib\tools.jar

rem Execute XMLC
java -classpath %CP% org.enhydra.xml.xmlc.commands.xmlc.XMLC %1 %2 %3 %4 %5 %6 %7 %8 %9

set CP=%_CP%
set _CP=


Example usage...
xmlc -d ./src/ -class photo.presentation.AdvPhotoHTML -keep -sourceout ./src/ ./templates/AdvPhoto.html


Note that you'll have to add the other jars such as gnu-regexp, jtidy, xerces (and maybe xhtml and wireless) to the classpath above.  The script was made for XMLC-2.0.1, I believe, and I haven't used it in ages.

Jake

At 11:30 AM 5/29/2003 -0500, you wrote:


Has anyone written a Bat file for XMLC-2.1? I have the one forXMLC2.0.1 and I thought I could tweak it and get it to work but no luck..

Any ideas what the differences are? I am getting the dreadful NoClassDefFound error.

 

Sanjay

Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe