roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kohei Nozaki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ROL-2086) Build fails for source code that obtained from GitHub
Date Sun, 29 Nov 2015 06:03:11 GMT

     [ https://issues.apache.org/jira/browse/ROL-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kohei Nozaki updated ROL-2086:
------------------------------
    Attachment: ROL-2086.patch

This patch makes the build process to execute {{mkdir}} for all of databases defined in {{dbscripts.properties}}
before invoke texen.

> Build fails for source code that obtained from GitHub
> -----------------------------------------------------
>
>                 Key: ROL-2086
>                 URL: https://issues.apache.org/jira/browse/ROL-2086
>             Project: Apache Roller
>          Issue Type: Bug
>          Components: Installation & Configuration
>    Affects Versions: 5.1.2
>            Reporter: Kohei Nozaki
>            Assignee: Roller Unassigned
>            Priority: Minor
>         Attachments: ROL-2086.patch
>
>
> There's a mirror of Roller repository in GitHub ( https://github.com/apache/roller )
, 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/dbscripts.properties"
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: https://github.com/apache/roller/pull/3 . 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: http://stackoverflow.com/questions/30331110/building-apache-roller-on-windows-7



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message