Trace,

you could make use of the xml file including. Create one file, that includes
all
the other files, as being aliases.

The general file: 'all.xsd'.
----------------------------------------------------------------------------
----
<?xml  version="1.0"?>

<!DOCTYPE project [
    <!ENTITY first.xsd      SYSTEM
"file:C:/dev/project/src/castor/xsd/first.xml">
    <!ENTITY second.xsd     SYSTEM
"file:C:/dev/project/src/castor/xsd/second.xml">
]>

&first.xsd;
&second.xsd;
----------------------------------------------------------------------------
----

-----Original Message-----
From: Trace Windham [mailto:[EMAIL PROTECTED]]
Sent: 01 July 2002 22:52
To: [EMAIL PROTECTED]
Subject: [castor-dev] command line args for source generator



I have about 20 schema files that I am using to generate source code.  

I know that the -i option on the command line is required with the filename
as the argument. 

Does the source generator have the ability to take a wild card like *.xsd,
or a directory as a command line arg? 

I am wanting to use ant to run the source generator, and I would like to use
the tools in ant to pass all of the schema files at once and have the source
generator do it's thing for each one of the schemas in the directory where
they are stored.  

Would there be any interest in having a feature developed that allowed the
source generator to take a group of schema files as an arg on the command
line?  

If so, I wouldn't mine taking a crack at it.  Beware though, this would be
my first attempt at contributing to an open source project. 

Thanks, 
Trace Windham 

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only.  It may contain proprietary material, confidential information and/or be subject 
to legal privilege.  It should not be copied, disclosed to, retained or used by, any 
other party.  If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender.  Thank you.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to