roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <>
Subject [jira] [Updated] (ROL-2086) Build fails for source code that obtained from GitHub
Date Sat, 01 Jul 2017 21:39:01 GMT


David Johnson updated ROL-2086:
    Fix Version/s: 5.2.0

> Build fails for source code that obtained from GitHub
> -----------------------------------------------------
>                 Key: ROL-2086
>                 URL:
>             Project: Apache Roller
>          Issue Type: Bug
>          Components: Installation & Configuration
>    Affects Versions: 5.1.2
>            Reporter: Kohei Nozaki
>            Assignee: Roller Unassigned
>            Priority: Minor
>             Fix For: 5.2.0
>         Attachments: ROL-2086.patch
> There's a mirror of Roller repository in GitHub ( )
, But build fails for it because it doesn't have empty directories that need to build.
> That are directories under {{app/target/dbscripts/(db2|derby|hsqldb|mssql|mysql|oracle|postgresql)}}
. If any of one is missing the build will be failed as follows:
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (gen-db-scripts)
on project roller-webapp: An Ant BuildException has occured: Exception thrown by 'generator.parse'.
For more information consult the velocity log, or invoke ant with the -debug flag.
> [ERROR] around Ant part ...<texen outputFile="README.txt" controlTemplate="control.vm"
outputDirectory="/Users/kyle/tmp/tmptmp/roller/app/target/dbscripts" contextProperties="/Users/kyle/tmp/tmptmp/roller/app/src/main/resources/sql/"
templatePath="/Users/kyle/tmp/tmptmp/roller/app/src/main/resources/sql"/>... @ 11:303 in
/Users/kyle/tmp/tmptmp/roller/app/target/antrun/build-main.xml: /Users/kyle/tmp/tmptmp/roller/app/target/dbscripts/db2/createdb.sql
(No such file or directory)
> {noformat}
> There are a pull request to solve it: . I'm not
sure what is proper solution for it but I think putting {{.gitignore}} in SVN repository looks
bit strange. I think creating the missing directories in build process, Before executing {{texen}}
would be a better solution.
> Question on Stackoverflow that why build fails because of this:

This message was sent by Atlassian JIRA

View raw message