Link to home
Start Free TrialLog in
Avatar of BrianMc1958
BrianMc1958

asked on

How to generate individual source files with XMLBeans?

Dear Experts,

I'm using this Ant to generate an XMLBeans jar.  However, it doesn't actually include the source.  Is there a way to do that?:

...
<taskdef name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean"
  classpathref="project.class.path"/>
<xmlbean schema="C:\FTG\Projects\Total\schemas"     destfile="C:\FTG\Projects_Libraries\Total_Libraries\ParmSet_1.jar" classpathref="project.class.path"/>
...

Thanks!
BrianMc1958
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Try

<xmlbean schema="C:\FTG\Projects\Total\schemas"     destfile="C:\FTG\Projects_Libraries\Total_Libraries\ParmSet_1.jar" classpathref="project.class.path" includes="**/*.java"/>
Avatar of BrianMc1958
BrianMc1958

ASKER

Oh.  I think my question was ambiguous.  I would like the source OUTPUT of the XMLBeans to be included with the jar file it probuces.  I think you thought I meant that the XMLBeans compiler couldn't find the source...
i don't believe you can do that
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks a lot, folks.  XMLBeans are rocking my little world...
:-)