[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-dev] PTP 5.0.1 and Photran 7.0.1 are released
|
On 08/30/2011 04:13 PM, Greg Watson wrote:
Orion,
Sorry, my fault. Please feel free to hassle me for this kind of thing if I forget.
I've tagged the feature as v201107131351, which is the same tag used for the Indigo release. I've also added the package to the build script so that it gets tagged on each build.
Let me know if this fixes your problem.
It fixed that one, thanks!
However, the Fedora build environment using eclipse's pdebuild is having
trouble with relative paths:
The following error occurred while executing this line:
/builddir/build/BUILD/org.eclipse.ptp-v201107131351/build/features/org.eclipse.ptp.utils/build.xml:119:
java.io.FileNotFoundException:
/builddir/build/BUILD/org.eclipse.ptp-v201107131351/build/features/org.eclipse.ptp.utils/../org.eclipse.ptp.license/feature.xml
(No such file or directory)
/builddir/build/BUILD/org.eclipse.ptp-v201107131351/build/features/org.eclipse.ptp.utils
is a symbolic link to
/builddir/build/BUILD/org.eclipse.ptp-v201107131351/releng/org.eclipse.ptp.utils-feature
and the resolution of the path is failing because there is no
org.eclipse.ptp.license in
/builddir/build/BUILD/org.eclipse.ptp-v201107131351/releng (although there is
in /builddir/build/BUILD/org.eclipse.ptp-v201107131351/build/features).
I'm not finding any relative paths in the ptp code so I'm guessing this is
going to be a Fedora issue. If anyone has any thoughts on the matter, I'd be
grateful.
The relevant parts of the build.xml is question looks like:
<target name="publish.bin.parts" depends="init" if="p2.publish.parts">
<mkdir
dir="${feature.temp.folder}/features/org.eclipse.ptp.utils_5.0.0.201108301
704"/>
<copy
todir="${feature.temp.folder}/features/org.eclipse.ptp.utils_5.0.0.20110830
1704" failonerror="true" overwrite="true">
<fileset dir="${basedir}">
<include name="feature.xml"/>
<include name="feature.properties"/>
</fileset>
</copy>
<eclipse.idReplacer
featureFilePath="${feature.temp.folder}/features/org.eclipse.
ptp.utils_5.0.0.201108301704/feature.xml" selfVersion="5.0.0.201108301704"
featureIds=""
pluginIds="org.eclipse.ptp.utils.core:0.0.0,3.0.0.201108301704,org.eclipse.ptp.utils.ui:0.0.0,3.0.0.2011
08301704,org.eclipse.ptp.utils.file.core:0.0.0,1.0.0.201108301704,org.eclipse.ptp.utils.extension
points.core:0.0.0,1.0.0.201108301704,"/>
<eclipse.licenseReplacer
featureFilePath="${feature.temp.folder}/features/org.eclipse.ptp.utils_5.0.0.201108301704"
licenseFilePath="${basedir}/../org.eclipse.ptp.license/"/>
<eclipse.gatherFeature
metadataRepository="${p2.build.repo}"
artifactRepository="${p2.build.repo}"
buildResultFolder="${feature.temp.folder}/features/org.eclipse.ptp.utils_5.0.0.201108301704"
baseDirectory="${basedir}"
licenseDirectory="${basedir}/../org.eclipse.ptp.license/"
/>
</target>
<target name="gather.bin.parts" depends="init" if="feature.base">
<mkdir
dir="${feature.base}/features/org.eclipse.ptp.utils_5.0.0.201108301704"/>
<antcall target="children">
<param name="target" value="gather.bin.parts"/>
<param name="destination.temp.folder"
value="${feature.base}/plugins"/>
</antcall>
<copy
todir="${feature.base}/features/org.eclipse.ptp.utils_5.0.0.201108301704"
failonerror="true" overwrite="false">
<fileset dir="${basedir}">
<include name="feature.xml"/>
<include name="feature.properties"/>
</fileset>
</copy>
<eclipse.idReplacer
featureFilePath="${feature.base}/features/org.eclipse.ptp.utils_5.0.0.201108301704/feature.xml"
selfVersion="5.0.0.201108301704" featureIds="" pluginIds="org
.eclipse.ptp.utils.core:0.0.0,3.0.0.201108301704,org.eclipse.ptp.utils.ui:0.0.0,3.0.0.20110830170
4,org.eclipse.ptp.utils.file.core:0.0.0,1.0.0.201108301704,org.eclipse.ptp.utils.extensionpoints.
core:0.0.0,1.0.0.201108301704,"/>
<copy
todir="${feature.base}/features/org.eclipse.ptp.utils_5.0.0.201108301704"
failonerror="true" overwrite="true">
<fileset dir="${basedir}/../org.eclipse.ptp.license/">
<include name="feature.xml"/>
<include name="license.html"/>
<include name="epl-v10.html"/>
<include name="feature.properties"/>
<include name="eclipse_update_120.jpg"/>
<exclude name=".project"/>
<exclude name="build.properties"/>
<exclude name="feature.xml"/>
<exclude name="feature.properties"/>
<exclude name="feature_*.properties"/>
</fileset>
</copy>
<eclipse.licenseReplacer
featureFilePath="${feature.base}/features/org.eclipse.pt
p.utils_5.0.0.201108301704"
licenseFilePath="${basedir}/../org.eclipse.ptp.license/"/>
<antcall target="rootFiles">
<param name="rootTarget"
value="rootFiles${os}_${ws}_${arch}"/>
</antcall>
</target>
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion@xxxxxxxxxxxxx
Boulder, CO 80301 http://www.cora.nwra.com