Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Problems with PDE build using FetchFromSVN (Fetch fails due to broken fetch_xxx.xml)
Problems with PDE build using FetchFromSVN [message #815974] Thu, 08 March 2012 04:20 Go to previous message
Thorsten Schlathölter is currently offline Thorsten Schlathölter
Messages: 179
Registered: February 2012
Location: Düsseldorf
Senior Member
Hi,
I have a problem fetching my feature from SVN. According to documentation I have installed the following feature in my Eclipse 3.7 Release 1:

download.eclipse.org/technology/subversive/0.7/pde-update-site/

I have a maps directory in my build directory that contains a .map file with some test entries:

feature@testFeature=SVN,url=svn://dusu9077/svn_ca,tag=C-SAR/Appli/branches/private/pdeBuildTest,path=testFeature
plugin@testA=SVN,url=svn://dusu9077/svn_ca,tag=C-SAR/Appli/branches/private/pdeBuildTest, path=testA
plugin@testB=SVN,url=svn://dusu9077/svn_ca,tag=C-SAR/Appli/branches/private/pdeBuildTest,path=testB
plugin@testC=SVN,url=svn://dusu9077/svn_ca,tag=C-SAR/Appli/branches/private/pdeBuildTest,path=testC
plugin@testBuild=SVN,url=svn://dusu9077/svn_ca,tag=C-SAR/Appli/branches/private/pdeBuildTest,path=testBuild


From the beginning that is all what resides in my build directory. When I now start the build it performs a couple of tasks and fails. Further investigation reveals that a fragment and a plugin directory have been created in my build directory. In addition I have a a directory.txt which mainly contains the maps information and two other scripts:

retrieve.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="RetrieveFeature" default="main" basedir=".">
	<target name="main">
		<svn command="cat" url="svn://dusu9077/svn_ca/C-SAR/Appli/branches/private/pdeBuildTest/testFeature/feature.xml" dest="C:/Documents and Settings/d706154/eclipse.build/tempFeature//feature.xml" force="false"		/>
		<svn command="cat" url="svn://dusu9077/svn_ca/C-SAR/Appli/branches/private/pdeBuildTest/testFeature/build.properties" dest="C:/Documents and Settings/d706154/eclipse.build/tempFeature//build.properties" force="false"		/>
	</target>
	<target name="FetchFromSVN" unless="${fileToCheck}">
		<svn command="export" url="${url}/${tagPath}/${path}" pegRev="${peg}" rev="${revision}" dest="${destinationFolder}/${elementName}" username="${username}" password="${password}" force="${force}"		/>
	</target>
</project>



and

fetch_testFeature.xml which seems to be broken since the last fetch.plugins target is not closed (and yes the posted content is all which is in that script).
<?xml version="1.0" encoding="UTF-8"?>

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

<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/testFeature/feature.xml" file="${buildDirectory}/features/testFeature/feature.xml"		/>
		<antcall target="FetchFromSVN">
			<param name="revision" value="HEAD"/>
			<param name="fileToCheck" value="${buildDirectory}/features/testFeature/feature.xml"/>
			<param name="username" value=""/>
			<param name="elementName" value="testFeature"/>
			<param name="tagPath" value="C-SAR/Appli/branches/private/pdeBuildTest"/>
			<param name="tag" value=""/>
			<param name="path" value="testFeature"/>
			<param name="destinationFolder" value="${buildDirectory}/features"/>
			<param name="force" value="false"/>
			<param name="peg" value="HEAD"/>
			<param name="password" value=""/>
			<param name="url" value="svn://dusu9077/svn_ca"/>
		</antcall>
	</target>
	<target name="fetch.plugins" if="featureAndPlugins">


Needles to say that nothing is fetched at all.

Any ideas out there?

Thanks in advance
Thorsten
 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Trying to understand subversive merging
Next Topic:Change sets (Helios, Subversive)
Goto Forum:
  


Current Time: Tue May 21 11:53:29 EDT 2013

Powered by FUDForum. Page generated in 0.02298 seconds