
Hi Tony, I believe the cause is the archive structure. The archive probably has the correct structure but the tool that created it didn't add an entry for the root directory. As a result we fail to detect the root directory of the archive and we fail to mark it as an add-on (thus resulting in a partially successful install): the framework works but is not marked as an add-on. What tool did you use to create the archive? We will also make some changes on our part to handle this particular type of archive. Until then you could use another zip tool (for example 7-zip) to create the archive? Could you please confirm that once you pack the plugin using 7-zip the installing is indeed successful? Thanks, Alex On 8/8/2012 12:15 PM, Tony Graham wrote:
On Wed, August 8, 2012 7:00 am, oXygen XML Editor Support wrote:
Did you added by any change some Unicode characters in the extensions.xml? Possibly in the description of the add-on? If that's the case we have already fixed this issue and a new build will be available shortly. To see if this is the case: There are no non-ASCII characters in the extensions.xml.
...
Also, to see why it takes two tries to start Oxygen you could open a console, and use the oxygen.bat launcher and you will probably see an exception. Send us the exception so that we can take a look at it. It takes two tries to start Oxygen whenever I restart after attempting to install the (already available) add-on framework.
The trace from 'oxygen.bat' is:
-------------------
"c:\Program Files\Oxygen XML Editor 14\oxygen.bat" java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at ro.sync.exml.Oxygen.main(Unknown Source) Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at ro.sync.exml.addons.ExtensionsSynchronizer.c(Unknown Source) at ro.sync.exml.addons.ExtensionsSynchronizer.processOperations(UnknownSource) at ro.sync.ui.application.ApplicationLauncher.<init>(Unknown Source) ... 5 more java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at ro.sync.exml.Oxygen.main(Unknown Source) Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at ro.sync.exml.addons.ExtensionsSynchronizer.c(Unknown Source) at ro.sync.exml.addons.ExtensionsSynchronizer.processOperations(UnknownSource) at ro.sync.ui.application.ApplicationLauncher.<init>(Unknown Source) ... 5 more
-------------
I also zipped the Oxygen Ant framework after changing the name in 'ant.framework', made an extension.xml that refers to the Zip file, and put them both on the server. I get the same thing with the Ant framework as an add-on: it's there, but Oxygen perpetually shows it as being available for downloading.
Regards,
Tony Graham tgraham@mentea.net Consultant http://www.mentea.net Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- XML, XSL-FO and XSLT consulting, training and programming
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user