Problems with PDE build using FetchFromSVN [message #815974] |
Thu, 08 March 2012 09:20 |
Thorsten Schlathölter Messages: 312 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
|
|
|
|
|
|
Re: Problems with PDE build using FetchFromSVN [message #1403681 is a reply to message #816143] |
Fri, 25 July 2014 09:39 |
Priya B Messages: 2 Registered: July 2014 |
Junior Member |
|
|
Hi,
I too am unable to fetch the features and plug-ins from SVN and I'm in the same situation as mentioned in the first post. I'm using Eclipse 4.2 and I downloaded http://download.eclipse.org/technology/subversive/1.0/pde-update-site/ .
A part of my map file:
plugin@project1=SVN,url=svn://url,tag=folders,path=project1,username=abc,password=abc
plugin@project2=SVN,url=svn://url,tag=folders,path=project2,username=abc,password=abc
feature@project3=SVN,url=svn://url,tag=folders,path=project3,username=abc,password=abc
Is the above right? The url+tag+path will give me the exact SVN URL of the corresponding plugin/feature e.g. svn://url/folders/ is the path under which all the plugins/features exist, and svn://url/folders/project1 is the path to the first plugin.
Thorsten said "SVN binaries must be available in your PATH" worked for him. What exactly must I do for this? Because I did the following and it didn't help:
To the Path Environment Variable and also to pluginPath (build.properties) I added - D:\baseLocation\eclipse\plugins\org.eclipse.team.svn.pde.build_1.0.0.I20120601-1700.jar
Please help!
|
|
|
Powered by
FUDForum. Page generated in 0.04263 seconds