首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用PDE构建BIRT

用PDE构建BIRT
EN

Stack Overflow用户
提问于 2010-11-05 21:31:09
回答 1查看 407关注 0票数 0

我正在尝试从源代码构建BIRT2.5.2来修复一些bug(我知道BIRT2.6,但并不是所有的客户都在使用BIRT2.6)。

我下载了BIRT2.5.2源代码ZIP,在那里我找到了几个产品文件。我解压源代码,将特性和插件复制到一个构建目录中。现在我运行这个build.xml:

代码语言:javascript
复制
<target name="pde-build">
    <java classname="org.eclipse.equinox.launcher.Main" fork="true" failonerror="true">
        <arg value="-application" />
        <arg value="org.eclipse.ant.core.antRunner" />
        <arg value="-buildfile" />
        <arg value="${eclipseLocation}/plugins/org.eclipse.pde.build_${pdeBuildPluginVersion}/scripts/productBuild/productBuild.xml" />
        <arg value="-Dtimestamp=${timestamp}" />
        <arg value="-verbose" />
        <classpath>
            <pathelement location="${eclipseLocation}/plugins/org.eclipse.equinox.launcher_${equinoxLauncherPluginVersion}.jar" />
        </classpath>
    </java>
</target>

但是我得到了这个错误:

代码语言:javascript
复制
eclipse-3.5.2/plugins/org.eclipse.pde.build_3.5.2.R35x_20100114/scripts/productBuild/productBuild.xml:64:
Unable to find element: /org.eclipse.birt.report.engine/ReportEngineSDK.product

在我的build.properties中,我说:

代码语言:javascript
复制
product=/org.eclipse.birt.report.engine/ReportEngineSDK.product

这里有一个文件build/plugins/org.eclipse.birt.report.engine/ReportEngineSDK.product

我的猜测是Eclipse有某种类型的搜索路径来定位产品文件。

要让productBuild.xml获取产品文件,我必须在build.xml/.properties中指定什么?

EN

回答 1

Stack Overflow用户

发布于 2010-11-05 23:42:14

似乎我需要属性product.product文件的完整路径。

此外,ReportEngineSDK.product已经过时了。请改用.../features/org.eclipse.pde.build.container.feature/product/BIRT.product

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4106243

复制
相关文章

相似问题

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