Update personal license used in SDK
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
Update personal license used in SDK
We are using the SDK in a stand alone Java app. Some users use our floating license server, we also have some people use a personal license.
I would like the ones using a personal license to update the license used for the SDK when we get their SMP renewal. What is the API to force the SDK to ask for a license?
thanks,
Scott
I would like the ones using a personal license to update the license used for the SDK when we get their SMP renewal. What is the API to force the SDK to ask for a license?
thanks,
Scott
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Update personal license used in SDK
Hi Scott,
By SDK do you mean our Author Component which can be embedded in a Java Swing application?
https://www.oxygenxml.com/doc/versions/ ... onent.html
I'm afraid there is no API to force the SDK to ask for a license once the personal license has been pasted by the end user and saved in the component's preferences folder.
The component should create a preferences folder located in "%APPDATA%\Roaming\com.oxygenxml.author.component" and inside it there should be a license.xml file containing the licensing details. Maybe you can look for that license file inside the component's preferences folder "AuthorComponentFactory.getInstance().getWorkspaceUtilities().getPreferencesDirectory()" and if it contains a personal license inside show the end user some kind of error dialog.
Regards,
Radu
By SDK do you mean our Author Component which can be embedded in a Java Swing application?
https://www.oxygenxml.com/doc/versions/ ... onent.html
I'm afraid there is no API to force the SDK to ask for a license once the personal license has been pasted by the end user and saved in the component's preferences folder.
The component should create a preferences folder located in "%APPDATA%\Roaming\com.oxygenxml.author.component" and inside it there should be a license.xml file containing the licensing details. Maybe you can look for that license file inside the component's preferences folder "AuthorComponentFactory.getInstance().getWorkspaceUtilities().getPreferencesDirectory()" and if it contains a personal license inside show the end user some kind of error dialog.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
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