I run java compiler with -depend -verbose and, after some work, i could drop
about 30 files (not very much)
Thanks

-----Original Message-----
From: Bob Jamison [mailto:[EMAIL PROTECTED]
Sent: Lunes, 05 de Noviembre de 2001 12:58 p.m.
To: [EMAIL PROTECTED]
Subject: Re: Xerces2-J Beta3 org.w3c xml.sax


Alvaro Martin wrote:

>Hi, I'm using xerces2-j beta 3 and I'd like to keep my deployment as small
>as possible.
>Is it possible to avoid using packages org.w3c.dom.* and xml.sax.*? 
>I've removed 
>javax.* 
>org.apache.html  
>org.apache.wml 
>org.apache.xerces.jaxp 
>org.apache.xml.serialize 
>org.w3c.dom.html 
>
>Any other way of reducing size?
>I need schema validation, so I'm using DTDXSParserConfiguration
>Thanks
>Alvaro
>


I made a silly, slow batch file in the /classes folder
that did the following to make a SAX-only jar file.

jar cMvf sax.jar javax\xml\parsers\*.class
jar uMvf sax.jar org\apache\xerces\impl\*.class
jar uMvf sax.jar org\apache\xerces\impl\io\*.class
jar uMvf sax.jar org\apache\xerces\impl\msg\*.class
jar uMvf sax.jar org\apache\xerces\impl\validation\*.class
jar uMvf sax.jar org\apache\xerces\jaxp\*.class
jar uMvf sax.jar org\apache\xerces\parsers\*.class
jar uMvf sax.jar org\apache\xerces\util\*.class
jar uMvf sax.jar org\apache\xerces\xni\*.class
jar uMvf sax.jar org\apache\xerces\xni\parser\*.class
jar uMvf sax.jar org\xml\sax\*.class


I know it includes too much, but it seems to work.

One of the stated goals of X2 was to have different
footprints for different needs.   Does XNI impose too
many dependencies to realize this, maybe?




Bob Jamison
LinCom Corp




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to