Use the two flags:        -srconly -src            when you run the schema
compiler, and use your build script to copy only what you want into your
jar file.
Scott

------------
Scott R. Hinkelman, Senior Software Engineer
IBM Software Group / Emerging Technologies
Cross-Industry Foundation Standards Strategy
Office: 512.823.8097 (TL 793.8097)
Cell: 512.415.8490


                                                                           
             "Steve Davis"                                                 
             <[EMAIL PROTECTED]                                             
             .com>                                                      To 
                                       <[email protected]>          
             07/28/2005 03:06                                           cc 
             PM                                                            
                                                                   Subject 
                                       Schema Source in Jar                
             Please respond to                                             
                   user                                                    
                                                                           
                                                                           
                                                                           
                                                                           




The XML Beans compiler copies the schema source file into the generated
jar in the directory "schema/src". I would like to avoid exposing the
schema source for my application.

1. Is the schema source needed at run-time?
2. Is there any way to prevent the compiler from copying the schema into
the Jar?

Thanks,
Steve



---------------------------------------------------------------------
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