2016-04-14 54 views
1

我从github克隆了pentaho-platform。一直试图构建源代码。 其他项目获得成功,但是当尝试构建pentaho用户控制台时,我失败了。从源代码构建Pentaho平台用户控制台

我已经下载的Pentaho平台的5.4分支,并尝试使用 ant clean-all resolve create-dot-classpath publish-local建造它的时候,我有这个控制台上:

create-dot-classpath: 


BUILD FAILED 
D:\pentaho-platform\user-console\build-res\subfloor.xml:2058: 
Problem: failed to create task or type dot-classpath 
Cause: The name is undefined. 
Action: Check the spelling. 
Action: Check that any custom tasks/types have been declared. 
Action: Check that any <presetdef>/<macrodef> declarations have taken place. 

请帮我找出如何建立这一个。

干杯!

回答

0

您不需要运行create-dot-classpath。我一直建立用户控制台,并有永不运行。该任务中的注释说:“从Ant解析的类路径创建Eclipse .classpath文件”。尝试做一个没有这一步的构建,看看会发生什么。

我通常运行ant resolve(once),然后在任何需要构建的时候运行ant dist。

+0

我切换到主分支..我只遵循这里给出的指示:http://wiki.pentaho.com/display/ServerDoc2x/BI+Platform+7.0 将尝试只蚂蚁解决它。你能指导我建立pentaho平台吗?谢谢 – krisbie

+0

有指导书面。尝试构建它,然后在这里或在pentaho论坛中提出具体问题。 –

+0

但我正在尝试构建它。问题是我无法解决所有的依赖关系。我已经试过构建的大多数版本/分支,但似乎我无法解决所有问题。 – krisbie