Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsPDE Subversive Generates incomplete FetchScript
https://www.eclipse.org/forums/index.php/mv/msg/153100/482165/#msg_482165
appears to abruptly end and therefore cannot be executed by Ant.
I am building using the PDE Product Build method, which requires checking
out the feature containing the product manually in the postSetup target of
the customTargets.xml file which I have done as follows:
<!-- Must manually fetch the product -->
<ant antfile="${genericTargets}" target="fetchElement">
<property name="type" value="feature" />
<property name="id" value="com.redacted.redacted.feature" />
</ant>
This uses the map file for SVN to generate a fetch script for the single
feature that I need, which contains the product file. The map file
contains this line:
As you can see, the file is not complete. Is there potentially a problem
in my map file? I can switch to a local map file that uses the COPY
notation and everything works fine. The installation of Eclipse used to
run the build has the following SVN P2 Install Units (and their
dependencies) installed:
Thank you for your help!]]>Chris Eagan2009-08-25T14:57:24-00:00Re: PDE Subversive Generates incomplete FetchScript
https://www.eclipse.org/forums/index.php/mv/msg/153100/482228/#msg_482228
locally. The retrieve.xml Ant script gets the content of the temp feature
from the server, but the commands fail silently and result in empty
feature.xml and build.properties files. Maybe there is some way to verify
that the commands executed properly and producing a more helpful error
message.
Another solution is to use the Subversion version 1.6.0 option
"--trust-server-cert", but that option is not on the version 1.5.4, which
comes with the current stable release of Ubuntu.
To fix the issue for a single machine, execute the following on the
command line and press P to accept the server certificate permanently:
For those of you reading this that might be interested, I solved this
problem by checking out the SVN PDE build source code from Eclipse SVN and
built the source bundle for the SVN PDE build plug-in. I then inserted the
exported plug-ins into my running Eclipse, and set up a launcher in Debug
mode. I was able to trace through the code to find the location where the
failure occurred.]]>Chris Eagan2009-08-25T18:43:09-00:00