Ant 用PDE构建BIRT
我正试图从源代码构建BIRT 2.5.2,以修复一些bug(我知道BIRT 2.6,但并非所有客户都支持BIRT 2.6) 我下载了BIRT 2.5.2源代码ZIP,并在其中找到了几个产品文件。我解压了源代码,将特性和插件复制到构建目录中。现在我运行build.xml:Ant 用PDE构建BIRT,ant,build,eclipse-rcp,product,headless,Ant,Build,Eclipse Rcp,Product,Headless,我正试图从源代码构建BIRT 2.5.2,以修复一些bug(我知道BIRT 2.6,但并非所有客户都支持BIRT 2.6) 我下载了BIRT 2.5.2源代码ZIP,并在其中找到了几个产品文件。我解压了源代码,将特性和插件复制到构建目录中。现在我运行build.xml: <target name="pde-build"> <java classname="org.eclipse.equinox.launcher.Main" fork="true" failonerror
<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>
在我的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
拾取产品文件?似乎我需要属性产品中.product
文件的完整路径
此外,ReportEngineSDK.product
已过时。改用../features/org.eclipse.pde.build.container.feature/product/BIRT.product
product=/org.eclipse.birt.report.engine/ReportEngineSDK.product