mercibe / jxsl Goto Github PK
View Code? Open in Web Editor NEWJava XSL helper code library
Java XSL helper code library
What steps will reproduce the problem?
1. Create module using archetype:
mvn archetype:generate -DarchetypeGroupId=com.servicelibre
-DarchetypeArtifactId=xspec-test -DarchetypeVersion=0.1.10
-DarchetypeCatalog=http://jxsl.googlecode.com/svn/trunk/archetypes
2. mvn test
What is the expected output? What do you see instead?
Error:
[ERROR] Failed to execute goal on project icwgroup-wc-xldp-dp2: Could not
resolve dependencies for project
com.icwgroup.wc:icwgroup-wc-xldp-dp2:jar:1.0-SNAPSHOT: Failed to collect
dependencies for [com.servicelibre:jxsl:jar:0.1.11 (compile),
net.sf.saxon:saxon:jar:9.3.0.2j (compile)]: Failed to read artifact descriptor
for com.servicelibre:jxsl:jar:0.1.11: Failure to find
com.servicelibre:servicelibre-parent:pom:5
What version of the product are you using? On what operating system?
0.1.10.
Windows 7
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 15 Aug 2014 at 12:51
When I do a
mvn assembly:assembly (or assembly:single)
the produced artifact (jar with dependencies) is unusable
The solution is here : http://www.hagelnx.com/prog/814
Original issue reported on code.google.com by [email protected]
on 8 Feb 2011 at 6:30
What steps will reproduce the problem?
1. Followed instructions from: http://code.google.com/p/jxsl/
Ran the maven command:
mvn archetype:generate -DarchetypeGroupId=com.servicelibre
-DarchetypeArtifactId=xspec-test -DarchetypeVersion=0.1.11
-DarchetypeCatalog=http://jxsl.googlecode.com/svn/trunk/archetypes
2. Receive the error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on
project standalone-pom: The desired archetype does not exist
(com.servicelibre:xspec-test:0.1.11) -> [Help 1]
3. Change the -DarchetypeVersion to: 0.1.10 and then it works.
4. Followed the instructions to install the saxon 9.3.0.2j to local the
repository
5. Ran the command: mvn test
6. The tests did not seem to run
7. Added sure-fire plugin and JUnit dependency to the pom.xml
8. Added the method: public void testThis() to
com.servicelibre.XspecJUnitTest.java:
public void testThis(){
System.out.println("~~~~~~~~@@@@@@@@@Running testThis()");
File aFile = new File("xspec/tutorial/escape-for-regex-success.xspec");
XspecJUnitTest aTest = new XspecJUnitTest(aFile);
}
9. Run the command: mvn test
10. Get the error:
Running com.servicelibre.XspecJUnitTest
org.apache.maven.surefire.booter.SurefireExecutionException: Could not
initialize class
com.servicelibre.jxsl.scenario.test.xspec.XspecScenarioJUnitTest; nested
exception is java.lang.NoClassDefFoundError: Could not initialize class
com.servicelibre.jxsl.scenario.test.xspec.XspecScenarioJUnitTest
java.lang.NoClassDefFoundError: Could not initialize class
com.servicelibre.jxsl.scenario.test.xspec.XspecScenarioJUnitTest
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
What is the expected output? What do you see instead?
The tests in xspec/tutorial/escape-for-regex-success.xspec to run
What version of the product are you using? On what operating system?
I want to use 0.1.11, but maven reported that version 0.1.11 does not exist, so
I used 0.1.10 instead.
Please provide any additional information below.
It seems like the instructions on:
http://code.google.com/p/jxsl/
just do not work. How do I invoke the xspec tests within XspecJUnitTest.
Since the code is in src/test/java shouldn't the project list the sure-fire
plugin and depend on JUnit? If you have an update set of steps that work,
please provide them, thanks.
Original issue reported on code.google.com by [email protected]
on 22 Feb 2012 at 7:36
Attachments:
generate-xspec-tests.xsl
<param name="outputDir">jxsl-output-dir/</param>
generate-tests-utils.xsl:25
<xsl:param name="outputDir"/>
generate-tests-utils.xsl:573
<xsl:result-document href="{concat($outputDir, $href)}" format="x:report">
Original issue reported on code.google.com by [email protected]
on 25 May 2011 at 6:25
It would be nice if jxsl could use a special UriResolver to allow URLs with
basic authentication credentials in xspec files.
Very useful for accessing XML files in an eXist database, for instance.
Similar to:
http://www.fgeorges.org/xslt/saxon-ext/
http://www.fgeorges.org/xslt/saxon-ext/fgeorges-0.1.zip
org.apache.fop.apps.FOURIResolver
Basically this UriResolver would check the Uri to detect [username:password]
strings between scheme and server name (http://username:[email protected])
and would use them to get the source document.
Original issue reported on code.google.com by [email protected]
on 6 Jun 2011 at 5:43
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.