You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.
The command line scripts (shell scripts and Windows .bat files) are just copied from D2RQ and don't work with the new Maven project setup.
Minimal steps to get ./validate to work:
mvn compile
mvn mvn dependency:copy-dependencies
In the validate script, make the following changes:
Change $D2RQ_ROOT/build to $D2RQ_ROOT/target/classes
Change the two paths being scanned for jars to just "$D2RQ_ROOT"/target/dependency/*.jar
Change the log4j.properties location to $D2RQ_ROOT/src/main/resources/log4j.properties
Change the invoked class from d2rq.validate to org.d2rq.cli.validate
This makes the script work, but it's probably not quite the right thing to do if we will make available a binary download for end users. Such a binary download should either contain just a single jar with all dependencies included, or a flatter directory layout (not everything deep under src/main and target).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The command line scripts (shell scripts and Windows
.bat
files) are just copied from D2RQ and don't work with the new Maven project setup.Minimal steps to get
./validate
to work:mvn compile
mvn mvn dependency:copy-dependencies
validate
script, make the following changes:$D2RQ_ROOT/build
to$D2RQ_ROOT/target/classes
"$D2RQ_ROOT"/target/dependency/*.jar
log4j.properties
location to$D2RQ_ROOT/src/main/resources/log4j.properties
d2rq.validate
toorg.d2rq.cli.validate
This makes the script work, but it's probably not quite the right thing to do if we will make available a binary download for end users. Such a binary download should either contain just a single jar with all dependencies included, or a flatter directory layout (not everything deep under
src/main
andtarget
).The text was updated successfully, but these errors were encountered: