Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] PsychoPath XPath 2.0 processor

Dear developers,

Recently I started a prototype branch on Apache Xerces-J - a Java processor that was donated 25 years ago to the Apache Foundation - to change the build from Ant (with bundled JAR files in the repo) with Maven, to be able to download the latest JAR versions transparently from the Internet and have an out of the box build, test & debug experience with Java IDEs.

During this task, I stumbled over a PsychoPath XPath 2.0 processor dependency, a JAR file of version 1.1.0 was bundled to the repo, apparently only classes without sources and caused troubles when trying to use recent JDK versions. 
This XPath 2.0 processor, was originally designed and developed by Andrea Bittau, which he donated to Eclipse Foundation. The XPath 2.0 processor, was later somewhat improved at Eclipse Foundation, to bring its compliance with the W3C XPath 2.0 test suite.
Your PsychoPath Wiki page did not show any sources, but your Eclipse Management Office (EMO) kindly guided me to this list and the repo:
https://github.com/eclipse-sourceediting/sourceediting/tree/master/xpath
I was not able to build the repo with Maven on Windows 10 and the last build (#3249 - 18.09.2024, 01:42:07) is labelled "instabil" for the master branch failing with 178 tests, of which 162 tests have the PsychoPath package name within. The last green build was a few years ago: https://ci.eclipse.org/webtools/job/webtools-sourceediting_master/1423/ but making a diff between these revisions just shows 3 changes. Two are cosmetic changes, being for error prevention and one regarding the XML name declaration (at the beginning of an XML file), which might cause trouble but would be easy to fix if this is the case...

Therefore, my questions:
  1. What is the trick to building the latest sources without test errors? Sorry, I could not find the manual :-)
  2. How would I be able to reference the latest Maven artefacts (sources/binaries/docs) for PsychoPath to be able to test the latest version with Xerces-J?
A thousand thanks in advance, for any help allowing me to proceed on my journey...
Svante

PS: I am sorry, in case you have received this email before, this is my 2nd try using my correct/subscribed email...

Back to the top