requs
requs copied to clipboard
Requs build bugs on Windows
I stumbled upon these problems trying to build requs on a Windows machine:
- Spaces in file path.
-
CRLF
Windows-styled line endings (maybe this is the same problem as discussed in #66).
How should I build requs to avoid these problems?
The logs for case 1
Spaces in file path C:\Users\anton_000\Google Drive\Projects\requs
:
C:\Users\anton_000\Google Drive\Projects\requs>mvn clean install -Pqulice
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] requs
[INFO] requs-core
[INFO] requs-exec
[INFO] requs-demo
[INFO] requs-maven-plugin
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building requs 2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ requs ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (jcabi-build-number) @ requs ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=7 HEAD"
[INFO] Working directory: C:\Users\anton_000\Google Drive\Projects\requs
[INFO] Storing buildNumber: cd21af1 at timestamp: 1402136235690
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=7 HEAD"
[INFO] Working directory: C:\Users\anton_000\Google Drive\Projects\requs
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- qulice-maven-plugin:0.8.2:check (jcabi-check) @ requs ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] requs ............................................. FAILURE [ 1.867 s]
[INFO] requs-core ........................................ SKIPPED
[INFO] requs-exec ........................................ SKIPPED
[INFO] requs-demo ........................................ SKIPPED
[INFO] requs-maven-plugin ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.747 s
[INFO] Finished at: 2014-06-07T13:17:16+03:00
[INFO] Final Memory: 13M/188M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.8.2:check (jcabi-check) on project requs: Execution jcabi-check of goal com.qulice:qulice-maven-plugin:0.8.2:check failed: Illegal character in path at index 32: file://C:/Users/anton_000/Google Drive/Projects/requs/target/classes -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
The logs for case 2
Windows-style line endings CRLF
:
Z:\requs>mvn clean install -Pqulice
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] requs
[INFO] requs-core
[INFO] requs-exec
[INFO] requs-demo
[INFO] requs-maven-plugin
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building requs 2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ requs ---
[INFO]
[INFO] --- buildnumber-maven-plugin:1.2:create (jcabi-build-number) @ requs ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=7 HEAD"
[INFO] Working directory: Z:\requs
[INFO] Storing buildNumber: cd21af1 at timestamp: 1402136538675
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=7 HEAD"
[INFO] Working directory: Z:\requs
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- qulice-maven-plugin:0.8.2:check (jcabi-check) @ requs ---
[INFO] LICENSE found: file:Z:/requs/LICENSE.txt
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[ERROR] \src\main\latex\sdd\sdd.bib[23]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\main\latex\sdd\sdd.bib[24]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
...
[ERROR] \src\site\apt\feature-attributes.apt.vm[7]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
[ERROR] \src\site\apt\feature-attributes.apt.vm[27]: Lines in file should end with Unix-like end of line (RegexpMultilineCheck)
...
[INFO] Read our quality policy: http://www.qulice.com/quality.html
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] requs ............................................. FAILURE [ 5.098 s]
[INFO] requs-core ........................................ SKIPPED
[INFO] requs-exec ........................................ SKIPPED
[INFO] requs-demo ........................................ SKIPPED
[INFO] requs-maven-plugin ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.872 s
[INFO] Finished at: 2014-06-07T13:22:23+03:00
[INFO] Final Memory: 20M/429M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.8.2:check (jcabi-check) on project requs: Failure: 264 Checkstyle violations (see log above) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
When I added to the root of my requs folder a file .gitattributes
containing:
* text eol=lf
I've built requs without the problems 1 - 2 listed above. But another error has appeared:
[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.8.2:check (jcabi-check) on project requs-core: Failure: XML validation exception: missing schema in \src\test\resources\org\requs\facet\syntax\samples\all-possible-mistakes.xml -> [Help 1]
Why is the schema missing, is it a bug or I did something wrong?
you hit a number of problems. we'll try to fix them. in the meantime I strongly recommend to migrate to Linux or Mac :)
I'm aware of the task, give me some time to find a developer...
thanks for the ticket, your account was topped for 15 mins, payment 40483423
@yegor256 the issue is yours, please help
waiting for https://github.com/teamed/qulice/issues/256
@davvd assign someone else pls
@davvd assign someone else pls
@yegor256 -30 points to your rating
@davvd assign someone else pls
@yegor256 I will assign somebody else to this issue