Difference: CreateNewPackageSVN (26 vs. 27)

Revision 272016-04-04 - MarcoClemencic

Line: 1 to 1
 
META TOPICPARENT name="SVNUsageGuidelines"

Instructions for creating a new Package in SVN

Line: 98 to 98
 Once the package has been created and is tested, you can import the package in the project of your choice.

Another difference between data packages and code packages, is that in data packages there is no need for a CMakeLists.txt, but you must provide a file describing the environment required to use the package.

Changed:
<
<
The environment is described in an XML file with the name derived from the name of the package like Hat_PackageEnvironment.xml, for example:
  • ParamFiles needs ParamFilesEnvironment.xml
  • Det/SQLDDDB needs Det_SQLDDDBEnvironment.xml
>
>
The environment is described in an XML file with the name derived from the name of the package like Hat_Package.xenv, for example:
  • ParamFiles needs ParamFiles.xenv
  • Det/SQLDDDB needs Det_SQLDDDB.xenv
 You can find examples in LbRelease/data/DataPkgEnvs.

Important: the changes required in the CMake configuration of a project to use a data package are different to those for regular packages. For a data package, you have to update the project CMakeLists.txt to extend the DATA section of the call to gaudi_project (or add one if it was missing). For example (from LHCb):

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback