Kohei Nozaki created ROL-2086:
---------------------------------

             Summary: 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


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)

Reply via email to