Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to validate xspec file #39

Open
anilkumarg4 opened this issue Apr 1, 2020 · 1 comment
Open

unable to validate xspec file #39

anilkumarg4 opened this issue Apr 1, 2020 · 1 comment

Comments

@anilkumarg4
Copy link

Hi team,

After update the latest version of xspec framework on oxygen i am unable to validate this.

Kindly check the below logs and suggest how to resolve this issue.

Executing:
"c:\program files\oxygen xml editor 21\jre/bin/java" -Dfile.encoding=UTF-8 -Xmx256m -classpath "C:\Program Files\Oxygen XML Editor 21\tools\ant/lib/ant-launcher.jar" "-Dant.home=C:\Program Files\Oxygen XML Editor 21\tools\ant" org.apache.tools.ant.launch.Launcher -lib "C:\Program Files\Oxygen XML Editor 21\classes" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygenCommons.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygen.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygenDeveloper.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygenEclipse.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygenDeveloperEclipse.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygen-sandbox.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygen-license.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygen-basic-utilities.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygen-editor-variables-parser.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\xml-apis.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygen-patched-resolver.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygen-patched-saxon-9.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\saxon9-sql.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\log4j.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\oxygen-patched-xerces.jar" -lib "C:\Program Files\Oxygen XML Editor 21\lib\guava-23.0.jar" -f "oxygen-results-view/build_report.xml" "-Dcatalog=C:\Users\a-anilpx\Documents\OxygenXMLEditor\samples/catalog.xml" "-Dclean.output.dir=false" "-Dext.xspec.compiler.xsl=C:/Users/a-anilpx/AppData/Roaming/com.oxygenxml/extensions/v21.1/frameworks/https___www.oxygenxml.com_InstData_Addons_community_updateSite.xml/xspec.support-1.5.0/oxygen-results-view/generate-xspec-tests-oxygen.xsl" "-Dtest.type=t" "-Dxspec.fail=false" "-Dxspec.html.reporter.xsl=C:/Users/a-anilpx/AppData/Roaming/com.oxygenxml/extensions/v21.1/frameworks/https___www.oxygenxml.com_InstData_Addons_community_updateSite.xml/xspec.support-1.5.0/oxygen-results-view/unit-report-oxygen.xsl" "-Dxspec.project.dir=C:/Users/a-anilpx/AppData/Roaming/com.oxygenxml/extensions/v21.1/frameworks/https___www.oxygenxml.com_InstData_Addons_community_updateSite.xml/xspec.support-1.5.0/" "-Dxspec.result.html=C:\Program Files\Oxygen XML Editor 21\samples\xspec\xslt/escape-for-regex-report.html" "-Dxspec.template.name.entrypoint=${xspec.template.name.entrypoint}" "-Dxspec.xml=C:\Program Files\Oxygen XML Editor 21\samples\xspec\xslt\escape-for-regex.xspec" "-Dwebhelp.trial.license=yes"

Buildfile: C:\Users\a-anilpx\AppData\Roaming\com.oxygenxml\extensions\v21.1\frameworks\https___www.oxygenxml.com_InstData_Addons_community_updateSite.xml\xspec.support-1.5.0\oxygen-results-view\build_report.xml

BUILD FAILED
Property xspec.template.name.entrypoint was circularly defined.

Total time: 0 seconds

The process finished with exit code: 1

@AlexJitianu
Copy link
Collaborator

Hi Anil,

This particular part in the command line is to blame: -Dxspec.template.name.entrypoint=${xspec.template.name.entrypoint}"
Through this xspec.template.name.entrypoint property, the plugin requests the execution of a specific scenario. It's value is an Oxygen editor variable, with the same name, which in your case is not expanded thus leading to the circular definition error.

I think you are running a 21.1 build that has a known issue of not expanding cutom editor variables. The issue was fixed in build 2019090904. You can check your build number from Help->About. If you are running an Oxygen version with an olfer build number, please update:
https://www.oxygenxml.com/xml_editor/software_archive_editor.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants