Search found 264 matches

by sderrick
Sat Sep 16, 2023 8:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Unsaved edits
Replies: 2
Views: 476

Re: Unsaved edits

I figured it out.

using Editorpage.isModified()
Scott
by sderrick
Fri Sep 15, 2023 7:31 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Unsaved edits
Replies: 2
Views: 476

Unsaved edits

We are using the Author framework, 24.0.0.2.
How do I get a list documents being edited and which documents have unsaved edits.
thanks,
Scott
by sderrick
Tue Jun 06, 2023 9:41 pm
Forum: Common Problems
Topic: Java error loading SDK
Replies: 7
Views: 2886

Re: Java error loading SDK

Radu, I am planning on including a jre with our IDE that has the author component in it to eliminate the compatibility problems. Right now we are restricted to using jre-1.8. Anything newer and it fails because of the java.lang.NoClassDefFoundError: com/sun/java/swing/plaf/windows/WindowsLookAndFeel...
by sderrick
Sun Jun 04, 2023 11:41 pm
Forum: Common Problems
Topic: Java error loading SDK
Replies: 7
Views: 2886

Re: Java error loading SDK

Radu,

I completely forgot about the com.sun.java.swing.plaf.windows.WindowsLookAndFeel issue on building with jdk's newer than 1.8.

I was fooling around with a new build machine and set the source to a jdk 11 and saw the error.

Still restricted to 1.8 for the sdk?

thanks,

Scott
by sderrick
Fri Jun 02, 2023 1:31 am
Forum: SDK-API, Frameworks - Document Types
Topic: Trouble moving project
Replies: 6
Views: 1020

Re: Trouble moving project

Solution found. I removed these 3 jars as I wasn't using them bundle-samplefiles:jar bundle-options:jar bundle-frameworks:jar the junique.jar I changed its source , its not in the central or springs plugin repo anymore, or at least I can't find it somebody did a custom build that is in the central r...
by sderrick
Thu Jun 01, 2023 11:46 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Trouble moving project
Replies: 6
Views: 1020

Re: Trouble moving project

So I thought maybe this is a Netbeans issue, so I installed Eclipse and imported the project and got these 4 errors Description Resource Path Location Type Missing artifact myGroup:bundle-samplefiles:jar:1.0-SNAPSHOT pom.xml /mbep-editor line 63 Maven Dependency Problem Missing artifact myGroup:bund...
by sderrick
Thu Jun 01, 2023 11:23 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Trouble moving project
Replies: 6
Views: 1020

Re: Trouble moving project

Still no joy after changing to https these are the 4 jars, I think they are all yours? Resolving artifact myGroup:bundle-frameworks:jar:1.0-SNAPSHOT from [public (https://www.oxygenxml.com/maven, default, releases+snapshots), central (https://repo1.maven.org/maven2, default, releases), com.springsou...
by sderrick
Thu May 25, 2023 5:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Trouble moving project
Replies: 6
Views: 1020

Re: Trouble moving project

Radu,
Thanks as always for the quick reply
I'll give if a shot and let you know.
Scott
by sderrick
Thu May 25, 2023 2:04 am
Forum: SDK-API, Frameworks - Document Types
Topic: Trouble moving project
Replies: 6
Views: 1020

Trouble moving project

I'm moving to a new work machine. I've moved the sources from old to new machine but am seeing an error when Netbeans is trying to get the maven resources during build. Failed to execute goal on project mbep-editor: Could not resolve dependencies for project myGroup:mbep-editor:jar:1.0-SNAPSHOT: Fai...
by sderrick
Wed May 17, 2023 10:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Jidesoft error on load
Replies: 5
Views: 831

Re: Jidesoft error on load

Radu,

OK, that fixed it.

the following were flagged as unknown modules so I didn't include them.

-add-opens=javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-opens=javafx.web/javafx.scene.web=ALL-UNNAMED --add-opens=javafx.web/com.sun.javafx.webkit=ALL-UNNAMED

Scott
by sderrick
Wed May 17, 2023 9:18 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Jidesoft error on load
Replies: 5
Views: 831

Re: Jidesoft error on load

I use jdk 17 on Linux and have no issues?
by sderrick
Wed May 17, 2023 5:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Jidesoft error on load
Replies: 5
Views: 831

Re: Jidesoft error on load

Radu,

Yes I did create the custom IDE using the author component.

That's alot of parameters! The users of the IDE use different versions of java, would there be a problem adding all of them to all the users?

thanks,

Scott
by sderrick
Tue May 16, 2023 7:37 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Jidesoft error on load
Replies: 5
Views: 831

Jidesoft error on load

Just upgraded the jdk on my windows 11 laptop( i use for testing) to jdk-17, build 17.0.7+8-LTS-224. When I run our IDE I get the following error. 2023-05-16 09:22:41 INFO MBEP_IDE:180 - myGroup.EditorFrame Connecting to admin server at: https://www.mbepapers.org/ java.lang.IllegalAccessError: class...
by sderrick
Fri Apr 28, 2023 7:21 pm
Forum: XSLT and FOP
Topic: Using a variable in a output element
Replies: 2
Views: 642

Re: Using a variable in a output element

Radu you are a life saver! I've used this a long time ago and completely forgot it!

thanks again,
Scott
by sderrick
Fri Apr 28, 2023 2:22 am
Forum: XSLT and FOP
Topic: Using a variable in a output element
Replies: 2
Views: 642

Using a variable in a output element

I have a simple function to output a <span/> tag . One of the <span/> attributes uses a param of the template. The param is id, referenced in the url attribute as $id, since its in a string "taxonomy/mbe_persons1.html?refid=($id)" is is hidden and doesn't evaluate as a variable. If I try t...
by sderrick
Wed Apr 26, 2023 1:06 am
Forum: SDK-API, Frameworks - Document Types
Topic: Java Version
Replies: 1
Views: 547

Java Version

What version of Java does the SDK support?

thanks,

Scott
by sderrick
Tue Dec 06, 2022 10:27 pm
Forum: Common Problems
Topic: Path debugger is running from
Replies: 1
Views: 427

Path debugger is running from

I just installed version 25 .
When debugging an xslt script it failed because my relative paths no longer worked? Normally the debugger runs form the folder the script is in but it now doesn't do this?
I switched back to version 24 and it works fine.....
thanks,
Scott
by sderrick
Thu Dec 16, 2021 6:50 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Log4Shell exploit
Replies: 17
Views: 4203

Re: Log4Shell exploit

Radu, This issue is like herding cats. I saw that CVE-2021-45046 required a non standard pattern, but I know the powers above want an iron clad solution. Thanks for all the work you guys do... Scott Hi Scott, The 24.0.0.1 SDK uses Lg4j 2.15, we'll probably release a new SDK and Oxygen 24.0 these day...
by sderrick
Wed Dec 15, 2021 9:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Log4Shell exploit
Replies: 17
Views: 4203

Re: Log4Shell exploit

Yesterday Apache released another fix for another RCE exploit.

Previously exploit CVE-2021-44228 was addressed in log4j-2.15.

Now exploit CVE-2021-45046 is being addressed in log4j-2.16.

Does SDK version 24.0.0.1 use the 2.15 or the 2.16 version of log4j?

Scott
by sderrick
Mon Dec 13, 2021 7:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Log4Shell exploit
Replies: 17
Views: 4203

Re: Log4Shell exploit

Radu, We are using version 22.0 of the SDK. Going through the pom I saw this <properties> <target.web.dir>${project.build.directory}/dist</target.web.dir> <jnlp.name>mbep</jnlp.name> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <oxygen.sdk.version>22.0.0.0</oxygen.sdk.version> ...
by sderrick
Sun Dec 12, 2021 9:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Log4Shell exploit
Replies: 17
Views: 4203

Log4Shell exploit

Is the Oxygen SDK vulnerable to the Log4j exploit?

thanks,

Scott
by sderrick
Fri Jan 22, 2021 6:42 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Illegal refelctive access in SDK
Replies: 3
Views: 1844

Re: Illegal refelctive access in SDK

Adrian, Normally I start our app with java.exe -jar mbep-editor-2.0.jar I tried java.exe --illegal-access=permit -jar mbep-editor-2.0.jar Unrecognized option: --illegal-access=permit Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. thanks, S...
by sderrick
Wed Jan 20, 2021 2:03 am
Forum: SDK-API, Frameworks - Document Types
Topic: Illegal refelctive access in SDK
Replies: 3
Views: 1844

Illegal refelctive access in SDK

I see the following warnings when starting our application that uses the SDK WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by ro.sync.ui.qe (file:/home/sco...
by sderrick
Fri Jan 15, 2021 8:12 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Update personal license used in SDK
Replies: 1
Views: 1020

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 fo...
by sderrick
Sat Jan 09, 2021 7:44 pm
Forum: SDK-API, Frameworks - Document Types
Topic: SDK License
Replies: 1
Views: 960

SDK License

We are using the SDK in a desktop application.

We have a floating license server and some users use their personal license.

Is there any other license that is required to use the SDK?

thanks

Scott
by sderrick
Thu Apr 09, 2020 6:37 pm
Forum: SDK-API, Frameworks - Document Types
Topic: warning on windows 10
Replies: 5
Views: 2932

Re: warning on windows 10

When loading the SDK on my linux box. I thought this had been fixed in version 22.0? WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by ro.sync.ui.qe (file:/home/scott/.m2/repository/com/oxygenxml/oxygen/22.0.0.0/oxygen-22.0.0.0.jar) to field javax.swi...
by sderrick
Mon Oct 21, 2019 11:23 pm
Forum: TEI
Topic: TEI ODD transform fails
Replies: 2
Views: 3253

Re: TEI ODD transform fails

I fired up my old version 20.0 and the transform worked fine...

Scott
by sderrick
Mon Oct 21, 2019 10:26 pm
Forum: TEI
Topic: TEI ODD transform fails
Replies: 2
Views: 3253

TEI ODD transform fails

Trying to transform ODD to any format using builtin TEI ODD transforms fails. TEI ODD to RELAX NG (compact syntax) Transformation failed. /home/scott/.com.oxygenxml/extensions/v21.0/frameworks/http___www.tei_c.org_release_oxygen_updateSite.oxygen/tei/xml/tei/stylesheet/common/teianttasks.xml:386: ja...
by sderrick
Sat Aug 17, 2019 9:04 pm
Forum: SDK-API, Frameworks - Document Types
Topic: license server
Replies: 1
Views: 1277

license server

I upgraded our tomcat server and installed the license server(WAR) on it.

Trying to install our license but I get this message

The license activation code does not match the current machine signature : 0LdlJ4tlUp/WQrYX3ZTVnOg==.
Please contact suport@oxygenxml.com for more details.

????

Scott
by sderrick
Sun Apr 07, 2019 2:53 am
Forum: SDK-API, Frameworks - Document Types
Topic: set word wrap and font size api?
Replies: 6
Views: 3162

Re: set word wrap and font size api?

Radu, The word wrap is working great and I can persist the settings across editors and across sessions. The font size not so good. I tried Object globalObjectProperty = PluginWorkspaceProvider.getPluginWorkspace().getGlobalObjectProperty("font.for.text"); which returns null until I do Auth...