<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Create Package</title><link>https://forge.codesys.com/tol/cforge/home/Create%2520Package/</link><description>Recent changes to Create Package</description><language>en</language><lastBuildDate>Tue, 21 Aug 2018 21:40:23 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/tol/cforge/home/Create%20Package/feed" rel="self" type="application/rss+xml"></atom:link><item><title>Create Package modified by Ingo</title><link>https://forge.codesys.com/tol/cforge/home/Create%2520Package/</link><description>&lt;div class="markdown_content"&gt;&lt;div&gt;
  
    &lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class="" href="/tol/cforge/home/Home/"&gt;Home&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Actions&lt;ul&gt;
&lt;li&gt;&lt;a class="" href="/tol/cforge/home/SVN%20Checkout/"&gt;checkout&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="" href="/tol/cforge/home/SVN%20Update/"&gt;update&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="" href="/tol/cforge/home/SVN%20Commit/"&gt;commit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="" href="../Build"&gt;build&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="" href="/tol/cforge/home/Create%20Package/"&gt;create package&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  
&lt;/div&gt;


&lt;p&gt;CODESYS packages can contain libraries, device descriptions and external files. It provides a package, which can be easily installed with CODESYS.&lt;/p&gt;
&lt;p&gt;To create such a package, you need to create a, so called, package manifest. This is an XML file, which contains the description of the package installer and the references to all files, which will be installed.&lt;/p&gt;
&lt;p&gt;cforge provides a mechanism to generate a good template for such a package, based on the files, which are found in a specific folder. You can initiate this creation with the command "cforge &amp;gt; create package" in the context menu of the folder, in which the package will be created.&lt;/p&gt;
&lt;p&gt;It is recommended to place all files in a folder before, which is named after the package. This makes sense, as the &lt;a class="" href="../Build"&gt;build&lt;/a&gt; command creates a package outside of this directory with the base name of the package directory, that contains the package.manifest.&lt;/p&gt;
&lt;p&gt;For example, the file "trunk/cforge/package.manifest" will result in a package named "trunk/cforge.package" .&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ingo</dc:creator><pubDate>Tue, 21 Aug 2018 21:40:23 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com0ccf38ba1cb5c122ecb871640e8749657c1e7a1a</guid></item></channel></rss>