diff command line
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Hi,
Starting with Oxygen version 6.1 this is possible.
In the Oxygen installation folder there are 2 executable shells (diffFiles.bat and diffDirs.bat if running on Windows)
You can give one or two command line arguments to each of the shells.
Eg: To start diff between 2 directories
Notice that if there are spaces in the path names, the paths need to be surrounded by quotes. Also one argument can be missing in which case the second directory will be chosen manually by the user.
The same goes for the files diff utility as well.
Hope this helps.
Regards, Radu.
Starting with Oxygen version 6.1 this is possible.
In the Oxygen installation folder there are 2 executable shells (diffFiles.bat and diffDirs.bat if running on Windows)
You can give one or two command line arguments to each of the shells.
Eg: To start diff between 2 directories
Code: Select all
diffDirs.bat "c:\Program Files" "c:\ant"
The same goes for the files diff utility as well.
Hope this helps.
Regards, Radu.
-
- Posts: 53
- Joined: Tue Aug 23, 2005 12:00 pm
Tx.,
However it doesn't work. I looked into the batch file as well and the comment line arguments are also not passed on to the Java Command:
I tried to put %1 and %2 in the batch file but it also doesn't work.
btw: this is from my Oxygen 6.1 directory.
Any suggestions?
However it doesn't work. I looked into the batch file as well and the comment line arguments are also not passed on to the Java Command:
Code: Select all
java -Dcom.oxygenxml.app.descriptor=ro.sync.diff.ui.DiffDirectoriesMainFrameDescriptor -Xmx180m -cp %CP% ro.sync.exml.Oxygen
btw: this is from my Oxygen 6.1 directory.
Any suggestions?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
I think you are using version 6.1. Please install version 6.1.1, the latest version available on the Download page and you will have the %1 and %2 parameters in the script file:
Best Regards,
Sorin
I think you are using version 6.1. Please install version 6.1.1, the latest version available on the Download page and you will have the %1 and %2 parameters in the script file:
Code: Select all
java -Xmx180m -Dcom.oxygenxml.app.descriptor=ro.sync.diff.ui.DiffFilesMainFrameDescriptor -cp %CP% ro.sync.exml.Oxygen %1 %2
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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