Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>It appears there was a bug (though I was unable to search up a Bugzilla citation) in the PDE Build ant-script generation process as of 3.2 that produced an ant <code>build.xml</code> script fragment like this from the <code>bin.includes</code>:</p> <pre><code>&lt;copy todir="${destination.temp.folder}/my_plugin" failonerror="true" overwrite="false"&gt; &lt;fileset dir="${basedir}" includes="META-INF/,Database Elements/" /&gt; &lt;/copy&gt; </code></pre> <p>The relevant <a href="http://ant.apache.org/manual/Types/fileset.html" rel="nofollow noreferrer">Ant documentation</a> says that <code>includes</code> contains a "comma- or space-separated list of patterns". Thus (since my directory name contains a space and was copied literally into the <code>includes</code> attribute value) I think the <code>copy</code> task was trying to include a file named <code>Database</code> and a directory named <code>Elements/</code>. Neither existed, so they were quietly ignored. I suspect the same problem would have bitten if I had a comma in my directory name, but I did not test this.</p> <p>Since I use Eclipse 3.5 interactively, I decided to finally decouple my headless build's Eclipse instance from my target platform (which remains at 3.2 for the moment) and to update my headless PDE Build to 3.5 (by attempting to <a href="https://stackoverflow.com/questions/2347535/eclipse-what-is-the-minimum-eclipse-installation-needed-for-a-headless-pde-build">produce a minimal PDE Build configuration</a> from my interactive instance's plug-ins). Now, the generated <code>build.xml</code> contains this instead:</p> <pre><code>&lt;copy todir="${destination.temp.folder}/my_plugin" failonerror="true" overwrite="true"&gt; &lt;fileset dir="${basedir}"&gt; &lt;include name="META-INF/"/&gt; &lt;include name="Database Elements/"/&gt; &lt;/fileset&gt; &lt;/copy&gt; </code></pre> <p>The relevant <a href="http://ant.apache.org/manual/Types/patternset.html" rel="nofollow noreferrer">Ant documentation</a> this time indicates that the only special characters in an individual <code>include</code> are <code>*</code> and <code>?</code>. Indeed, the bug seems to have been fixed sometime between 3.2 and 3.5: my 3.5-based headless PDE Build now produces a plugin that contains <code>Database Elements</code>; my tests are happy; my code is happy; I'm happy.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload