External Tools
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Sat Dec 04, 2010 1:51 am
External Tools
Post by java_the_hutt »
I have a script that runs from a DOS prompt without issues. For the sake of convenience, my client wants to execute this script, which incidentally runs an external DITA build process, from Oxygen Author. I have set up a toolbar shortcut via Tools>External Tools>Preferences. When I execute the script from within Author on my test XP OS, it runs without issues. When I port the external build to my client's Vista OS, it runs from the DOS prompt; however, it fails when run from the Author application with the following error:
CALL ant -f my-build.xml -Dinput=input/path ….
The system cannot find the path specified.
I have removed all JDKs and JREs from both my test box and my client's box, other than the JRE that ant requires to run the DITA build. I still get the same result: I can run the script from the instance of Author on XP, but I get an error when it run on Vista within Author. In both cases, Author version 13.1 is used.
Do you have any ideas as to why I am seeing this error?
Thank you.
CALL ant -f my-build.xml -Dinput=input/path ….
The system cannot find the path specified.
I have removed all JDKs and JREs from both my test box and my client's box, other than the JRE that ant requires to run the DITA build. I still get the same result: I can run the script from the instance of Author on XP, but I get an error when it run on Vista within Author. In both cases, Author version 13.1 is used.
Do you have any ideas as to why I am seeing this error?
Thank you.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: External Tools
Post by sorin_ristache »
Hello,
If that does not work please look at the differences between the values of the PATH variable from the DOS prompt and from the external tool shortcut in Oxygen using the command:
Regards,
Sorin
Please try to run the command in the same folder in Oxygen as from the DOS prompt. For example if you run the command from the DOS prompt in the folder of the external DITA-OT you should set this folder also in the Working directory text box of the dialog box where you configure the external tool.java_the_hutt wrote:When I port the external build to my client's Vista OS, it runs from the DOS prompt; however, it fails when run from the Author application with the following error:
CALL ant -f my-build.xml -Dinput=input/path ….
The system cannot find the path specified.
If that does not work please look at the differences between the values of the PATH variable from the DOS prompt and from the external tool shortcut in Oxygen using the command:
Code: Select all
echo %PATH%
Regards,
Sorin
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