We are about to migrate our sources from CVS to SVN. I tried the SVN build plug-in, and it works perfectly with all of our plug-ins. However, when using this plug-in to checkout a feature, then an error appears.
Is another syntax required for features in the map file? Currently we use the following map file:
The plugin entries are working as expected, the feature only works with CVS. The following error appears when SVN is activated for the feature and plugins:
[exec] BUILD FAILED
[exec] /home/adt/build/com.avaloq.adt.releng.adtbuilder/buildAll.xml:131: The following error occurred while executing this line:
[exec] /home/adt/build/com.avaloq.adt.releng.adtbuilder/buildAll.xml:147: The following error occurred while executing this line:
[exec] /home/adt/build/com.avaloq.adt.releng.adtbuilder/build.xml:25: The following error occurred while executing this line:
[exec] /home/adt/build/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build/scripts/build.xml:23: The following error occurred while executing this line:
[exec] /home/adt/build/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build/scripts/build.xml:51: The following error occurred while executing this line:
[exec] /home/adt/build/com.avaloq.adt.releng.adtbuilder/sdk/customTargets.xml:7: The following error occurred while executing this line:
[exec] /home/adt/build/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build/scripts/genericTargets.xml:41: Feature com.avaloq.adt.sdk may have not been fetched correctly, check your map files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In version 1.0.0 of svn-pde-build this causes a problem as it resolves this parameter to the string "/null".
The workaround for this is to move the last segment of the repository path to the preTagPath.
so your map entry would be:
feature@com.avaloq.adt.sdk=SVN,trunk,svn://tux18.sys.net,adt,com.avaloq.adt-feature/com.avaloq.adt.sdk
This problem has been fixed in version 1.0.1 which will be released in the next couple of days.
Regards
Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We are about to migrate our sources from CVS to SVN. I tried the SVN build plug-in, and it works perfectly with all of our plug-ins. However, when using this plug-in to checkout a feature, then an error appears.
Is another syntax required for features in the map file? Currently we use the following map file:
feature@com.avaloq.adt=HEAD,:pserver:adt@tux18.sys.net:/cvs/cvspdt/adt,,com.avaloq.adt-feature/com.avaloq.adt
#feature@com.avaloq.adt.sdk=HEAD,:pserver:adt@tux18.sys.net:/cvs/cvspdt/adt,,com.avaloq.adt-feature/com.avaloq.adt.sdk
feature@com.avaloq.adt.sdk=SVN,trunk,svn://tux18.sys.net/adt,,com.avaloq.adt-feature/com.avaloq.adt.sdk
plugin@com.avaloq.adt.core=SVN,trunk,svn://tux18.sys.net/adt,,
The plugin entries are working as expected, the feature only works with CVS. The following error appears when SVN is activated for the feature and plugins:
[exec] BUILD FAILED
[exec] /home/adt/build/com.avaloq.adt.releng.adtbuilder/buildAll.xml:131: The following error occurred while executing this line:
[exec] /home/adt/build/com.avaloq.adt.releng.adtbuilder/buildAll.xml:147: The following error occurred while executing this line:
[exec] /home/adt/build/com.avaloq.adt.releng.adtbuilder/build.xml:25: The following error occurred while executing this line:
[exec] /home/adt/build/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build/scripts/build.xml:23: The following error occurred while executing this line:
[exec] /home/adt/build/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build/scripts/build.xml:51: The following error occurred while executing this line:
[exec] /home/adt/build/com.avaloq.adt.releng.adtbuilder/sdk/customTargets.xml:7: The following error occurred while executing this line:
[exec] /home/adt/build/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build/scripts/genericTargets.xml:41: Feature com.avaloq.adt.sdk may have not been fetched correctly, check your map files.
Hi,
From looking at your map file entries for subversion it looks like you have left the <preTagPath> parameter empty.
<feature|plugin>@<id>=SVN,<tag>[:revision],<svnRepositoryURL>,<preTagPath>,<postTagPath>
In version 1.0.0 of svn-pde-build this causes a problem as it resolves this parameter to the string "/null".
The workaround for this is to move the last segment of the repository path to the preTagPath.
so your map entry would be:
feature@com.avaloq.adt.sdk=SVN,trunk,svn://tux18.sys.net,adt,com.avaloq.adt-feature/com.avaloq.adt.sdk
This problem has been fixed in version 1.0.1 which will be released in the next couple of days.
Regards
Chris
Hi Chris,
thanks for the help. This was actually the problem, now everything works!
Best regards, Ulli