0
我正在嘗試從源代碼構建BIRT 2.5.2來修復一些錯誤(我知道BIRT 2.6,但並非我們所有的客戶都在BIRT 2.6中)。建設BIRT與PDE
我下載了BIRT 2.5.2源ZIP文件,並在那裏找到了幾個產品文件。我解壓縮源代碼,將功能和插件複製到構建目錄。現在我運行這個build.xml文件:
<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>
但我得到這個錯誤:
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,我說:
product=/org.eclipse.birt.report.engine/ReportEngineSDK.product
,有一個文件build/plugins/org.eclipse.birt.report.engine/ReportEngineSDK.product
我的猜測是Eclipse有某種類型的搜索路徑來查找產品文件。
我必須在build.xml/.properties中指定什麼來使productBuild.xml
選取產品文件?