首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在Windows 7上构建Apache

在Windows 7上构建Apache
EN

Stack Overflow用户
提问于 2015-05-19 16:24:08
回答 3查看 219关注 0票数 1

当我试图在我的windows 7 service pack 1 64位上构建apache滚筒时,我遇到了这样的错误。

代码语言:javascript
复制
[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="F:\roller-trunk\app/target/dbscripts" templatePath="F:\roller-trunk\app/src/main/resources/sql" contextProperties="F:\roller-trunk\app/src/main/resources/sql/dbscripts.properties"/>... @ 5:261 in F:\roller-trunk\app\target\antrun\build-main.xml: F:\roller-trunk\app\target\dbscripts\db2\createdb.sql (The system cannot find the path specified)
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: 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.
around Ant part ...<texen outputFile="README.txt" controlTemplate="control.vm" outputDirectory="F:\roller-trunk\app/target/dbscripts" templatePath="F:\roller-trunk\app/src/main/resources/sql" contextProperties="F:\roller-trunk\app/src/main/resources/sql/dbscripts.properties"/>... @ 5:261 in F:\roller-trunk\app\target\antrun\build-main.xml

我怀疑这个outputDirectory="F:\roller-trunk\app/target/dbscripts“templatePath="F:\roller-trunk\app/src/main/resources/sql"`是问题所在,但我不知道如何解决它。我从命令提示符中运行了"mvn干净安装“。

EN

Stack Overflow用户

发布于 2015-05-25 11:55:21

我相信这个错误的发生是因为直接拉出了Github版本。一开始,我试着把它从吉突拔出来,我也面临着同样的问题。稍后,我尝试直接从SVN主干签出它,构建过程没有问题。

我相信这个错误之前在http://comments.gmane.org/gmane.comp.java.roller.devel/5895上也有描述过。有人说,Github版本可能会出现一些问题。

票数 -1
EN
查看全部 3 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30331110

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档