[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.subversive] PDE Subversive Generates incomplete FetchScript

The problem I am having is that the FetchScript generated by Subversive 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:

feature@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx=SVN,url=https://host/svn/redacted,tag=trunk,path=features/com.redacted.redacted.feature,username=redacted,password=redacted

When the build is executed, a fetch script file named "fetch_com.redacted.redacted.feature.xml" is generated. This file contains the following:

<?xml version="1.0" encoding="UTF-8"?>

<!-- Fetch script for feature@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->

<project name="FetchScript" default="fetch">
 <property name="quiet" value="true"/>

<target name="fetch">
<antcall target="fetch.element"/>
<antcall target="fetch.plugins"/>
<antcall target="fetch.recursively"/>
</target>
<target name="fetch.element" if="featureOnly">
<available property="${buildDirectory}/features/com.redacted.redacted.feature/feature.xml" file="${buildDirectory}/features/com.redacted.redacted.feature/feature.xml"/>
<antcall target="FetchFromSVN">
<param name="revision" value="HEAD"/>
<param name="fileToCheck" value="${buildDirectory}/features/com.redacted.redacted.feature/feature.xml"/>
<param name="username" value="redacted"/>
<param name="elementName" value="com.redacted.redacted.feature"/>
<param name="tagPath" value="trunk"/>
<param name="tag" value="trunk"/>
<param name="path" value="features/com.redacted.redacted.feature"/>
<param name="destinationFolder" value="${buildDirectory}/features"/>
<param name="force" value="false"/>
<param name="peg" value="HEAD"/>
<param name="password" value="redacted"/>
<param name="url" value="https://host/svn/redacted"/>
</antcall>
</target>
<target name="fetch.plugins" if="featureAndPlugins">


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:

iu="org.eclipse.team.svn.feature.group"
repository="http://download.eclipse.org/technology/subversive/0.7/update-site/";

iu="org.eclipse.team.svn.pde.build.feature.group"
repository="http://download.eclipse.org/technology/subversive/0.7/pde-update-site/";

iu="org.polarion.eclipse.team.svn.connector.svnkit16.feature.group"
repository="http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/";

Thank you for your help!