Code Monkey home page Code Monkey logo

Comments (5)

AlexJitianu avatar AlexJitianu commented on July 4, 2024 1

Ups, I talked without thinking it through... In version 19 everything will be fine. Frameworks installed as add-ons or those contributed by plugins will always be loaded. As a workaround for v18 I could pack the framework as an add-on and you'll have a chance to install them both.

from oxygen-xml-editor-xspec-support.

AlexJitianu avatar AlexJitianu commented on July 4, 2024

Hi Tobias,

The plugin requires a special XSpec Oxygen framework which it contributes through the means of the "additional frameworks locations" option. This framework contributes a scenario named "XSpec Report" and I use Oxygen's API to execute it: ro.sync.exml.workspace.api.editor.transformation.TransformationScenarioInvoker.runTransformationScenarios(String[], TransformationFeedback)
I chose to do it like this because it was the fastest implementation option. In theory the plugin could start an ANT process directly instead but additional code would have to be written. I am open to suggestions :)

If an exception appears in the console with the message "Transformation scenario not found: XSpec Report" then here is what you can do:

  1. go to Options->Preferences... and select the Locations page.
  2. check if the page is saved as "Global". If it isn't, switch it to Global
  3. check if a long location with "xspec.support" in the path appears.

After my user meetup presentation, at some point, I realized that I didn't handle a situation. I made some changes and committed a new build on Feb 10. It wouldn't hurt to update to that version as well.

As many are using project options, this situation could happen to others too...

Kind regards,
Alex

from oxygen-xml-editor-xspec-support.

tofi86 avatar tofi86 commented on July 4, 2024

Oh, okay, indeed that was the problem! I am using a lot of project files which contribute external framework directories through the project options, so this would never work...

Can you clarify this in the Readme? Probably after merging my Readme Install docs #1?

Probably we should wait for oXygen 19 with the possibility of bundling frameworks with plugins... ;-)

from oxygen-xml-editor-xspec-support.

AlexJitianu avatar AlexJitianu commented on July 4, 2024

Version 19.0 wouldn't help much... The project is a layer that applies on top of all other options so even frameworks bundled with a plugin will be overridden. I'll have to talk with my colleagues and see what we can do about it.

from oxygen-xml-editor-xspec-support.

tofi86 avatar tofi86 commented on July 4, 2024

Version 19.0 wouldn't help much... The project is a layer that applies on top of all other options so even frameworks bundled with a plugin will be overridden. I'll have to talk with my colleagues and see what we can do about it.

Damn! ;-)

Well, I think this has also been on the list of projects/frameworks/plugins issues in my long mail from last year...

from oxygen-xml-editor-xspec-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.