Integrating Oxygen into ANT
Oxygen general issues.
-
- Posts: 5
- Joined: Fri Apr 30, 2010 5:15 pm
- Contact:
Integrating Oxygen into ANT
How can I call the Oxygen Schema documentation task from an ANT script? My script extracts a schema out of my application and I'd love to have that automatically documented. I found the command line task schemaDocumentation.sh but nothing about ANT. (I found how to integrate ANT into oXygen, but not oXygen into ANT.
-
- Posts: 9472
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Integrating Oxygen into ANT
Hi,
You can execute external processes from ANT.
See: http://ant.apache.org/faq.html#batch-shell-execute
So having the schemaDocumentation.sh should be enough.
Regards,
Radu
You can execute external processes from ANT.
See: http://ant.apache.org/faq.html#batch-shell-execute
So having the schemaDocumentation.sh should be enough.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 5
- Joined: Fri Apr 30, 2010 5:15 pm
- Contact:
Re: Integrating Oxygen into ANT
Hi Radu,
thx for replying.
Thoughts on that?
thx for replying.
Would that work? Start another JVM from inside a Java application (the sh files starts a JVM after all. Wouldn't it be better if we can use the Java class directly ANT can call Java classes... if the implement the matching interfaces (might work otherwise too??).Radu wrote: You can execute external processes from ANT.
Thoughts on that?
-
- Posts: 9472
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Integrating Oxygen into ANT
Hi,
Yes, ANT can invoke an external process even if it is Java based.
Actulally the schemaDocumentation.sh calls a Java class:
ro.sync.xsd.documentation.XSDSchemaDocumentationGenerator with certain parameters and a certain library class path. So you can also look in the shell for more details.
Regards,
Radu
Yes, ANT can invoke an external process even if it is Java based.
Actulally the schemaDocumentation.sh calls a Java class:
ro.sync.xsd.documentation.XSDSchemaDocumentationGenerator with certain parameters and a certain library class path. So you can also look in the shell for more details.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service