problem installing trang plugin
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 31
- Joined: Wed Jun 04, 2003 2:24 am
problem installing trang plugin
I have not been able to install the trang plugin. I tried unzipping the archive directly into the plugins directory, and also unzipping it into a Trang subdirectory of the plugins directory, but when I restart oxygen and go to the plugins preferences, no plugins show up.
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
I have checked the installation of the Trang plugin on Linux. It works properly. I think there is a problem with the permissions of the unzipped Trang directory. Please run a
ls -l
in the plugins directory.
On my sistem it displays:
[dan@devel plugins]$ ls -l
total 8
drwxr-xr-x 3 dan users 4096 Jun 25 09:14 Trang/
-rw-r--r-- 1 dan users 495 Jun 7 00:00 plugin.dtd
ls -l
in the plugins directory.
On my sistem it displays:
[dan@devel plugins]$ ls -l
total 8
drwxr-xr-x 3 dan users 4096 Jun 25 09:14 Trang/
-rw-r--r-- 1 dan users 495 Jun 7 00:00 plugin.dtd
-
- Posts: 31
- Joined: Wed Jun 04, 2003 2:24 am
My system is the same as yours:Dan wrote:I have checked the installation of the Trang plugin on Linux. It works properly. I think there is a problem with the permissions of the unzipped Trang directory. Please run a
ls -l
in the plugins directory.
On my sistem it displays:
[dan@devel plugins]$ ls -l
total 8
drwxr-xr-x 3 dan users 4096 Jun 25 09:14 Trang/
-rw-r--r-- 1 dan users 495 Jun 7 00:00 plugin.dtd
nihilo@(none) plugins $ ls -l
total 12
drwxr-xr-x 3 calvins users 4096 Jun 23 11:36 Trang/
drwxr-xr-x 4 calvins users 4096 Jun 23 11:37 XS3P/
-rw-r--r-- 1 calvins users 495 Jun 10 11:11 plugin.dtd
nihilo@(none) plugins $
Just to clarify, when you say it works for you, you mean that it shows up under Preferences > Plugins?? I see neither Trang nor XS3P under plugins.
-
- Posts: 31
- Joined: Wed Jun 04, 2003 2:24 am
I will try reinstalling again from scratch. What do you mean when you say you 'ran a conversion'?Dan wrote:Yes, it shows under the Plugins menu and is listed in the Options/Plugins.
(I repeated the installation process: I have downloaded the plugin and the all platforms kit from the site, unpacked them and run a conversion)
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
With Trang you can convertWhat do you mean when you say you 'ran a conversion'?
from
DTD or RelaxNG schemas (compact or XML syntax) or a set ox XML files
to
DTD, RelaxNG schemas (compact or XML syntax) or W3C XML Schema.
Running a conversion in this context means converting a DTD to W3C XML Schema for instance.
Best Regards,
George
-
- Posts: 31
- Joined: Wed Jun 04, 2003 2:24 am
Okay, I have finally figured out what the problem was. In a previous topic, it was recommended to me that if I wanted to be able to open files at the command line, I should change my oxygen.sh file to the following:
ROOT=/opt/oxygen
java -Xmx256m -Dcom.oxygenxml.classpath.relativeToOxygen.jar=true -cp $ROOT:$ROOT/lib/oxygen.jar:$ROOT/classes ro.sync.exml.Oxygen $1 $2 $3
When I start Oxygen in this manner, no plugins are loaded. If I start it with the default script, the plugins work, but I can't open files at the command line (oxygen opens, but the file doesn't).
Any idea how I can set it up to open files at the command line while still having my plugins work correctly?? I tried just adding the jar files for the plugin to the classpath, but that didn't work.
ROOT=/opt/oxygen
java -Xmx256m -Dcom.oxygenxml.classpath.relativeToOxygen.jar=true -cp $ROOT:$ROOT/lib/oxygen.jar:$ROOT/classes ro.sync.exml.Oxygen $1 $2 $3
When I start Oxygen in this manner, no plugins are loaded. If I start it with the default script, the plugins work, but I can't open files at the command line (oxygen opens, but the file doesn't).
Any idea how I can set it up to open files at the command line while still having my plugins work correctly?? I tried just adding the jar files for the plugin to the classpath, but that didn't work.
-
- Posts: 31
- Joined: Wed Jun 04, 2003 2:24 am
another problem
Okay, it turns out there is still a problem. The default startup script will not open a file at the command line if it's given a relative path to the document.
So I need to be able to open files at the command line with a relative filename, and also have the plugins work. It seems that I can only get one or the other to work so far.
So I need to be able to open files at the command line with a relative filename, and also have the plugins work. It seems that I can only get one or the other to work so far.
-
- Posts: 27
- Joined: Sat Jul 19, 2003 10:42 am
- Location: South Africa
- Contact:
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Sean,
Try to set the com.oxygenxml.editor.plugins.dir to the plugin directory in your start script:
We will release at the beginning of next week the 2.0.4 version which should work without any changes.
Best Regards,
George
Try to set the com.oxygenxml.editor.plugins.dir to the plugin directory in your start script:
Code: Select all
-Dcom.oxygenxml.editor.plugins.dir=/full/path/to/plugin/dir
Best Regards,
George
-
- Posts: 27
- Joined: Sat Jul 19, 2003 10:42 am
- Location: South Africa
- Contact:
-
- Posts: 27
- Joined: Sat Jul 19, 2003 10:42 am
- Location: South Africa
- Contact:
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