<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: &#9873; Console DOM for Eclipse Monkey script</title>
	<atom:link href="http://jmesnil.net/weblog/2006/03/21/console-dom-for-eclipse-monkey-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://jmesnil.net/weblog/2006/03/21/console-dom-for-eclipse-monkey-script/</link>
	<description>Thoughts about Java, Web and Software Development</description>
	<lastBuildDate>Wed, 11 May 2011 05:38:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: jmesnil</title>
		<link>http://jmesnil.net/weblog/2006/03/21/console-dom-for-eclipse-monkey-script/comment-page-1/#comment-33145</link>
		<dc:creator>jmesnil</dc:creator>
		<pubDate>Thu, 24 May 2007 07:03:25 +0000</pubDate>
		<guid isPermaLink="false">http://jmesnil.net/weblog/2006/03/21/console-dom-for-eclipse-monkey-script/#comment-33145</guid>
		<description>&lt;p&gt;The only place I saw this DOM was in the script examples generated by Eclipse Monkey.&lt;/p&gt;

&lt;p&gt;As an aside, this DOM directive is really misleading: it is not the real URL of a plug-in.
It is composed in fact of 2 things:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DOM: &lt;update site url&gt;/&lt;plug-in id&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;In the case of  &lt;code&gt;http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript&lt;/code&gt;, that means that Eclipse Monkey will connect to the update site &lt;code&gt;http://download.eclipse.org/technology/dash/update/&lt;/code&gt; and asks the user to choose among the features listed by the update site (in the &lt;a href=&quot;http://download.eclipse.org/technology/dash/update/site.xml&quot;&gt;&lt;code&gt;site.xml&lt;/code&gt;&lt;/a&gt; file) the one which contains the &lt;code&gt;org.eclipse.eclipsemonkey.lang.javascript&lt;/code&gt; plug-in (in that case, the &lt;code&gt;org.eclipse.eclipsemonkey&lt;/code&gt; feature).&lt;/p&gt;

&lt;p&gt;--
jeff&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The only place I saw this DOM was in the script examples generated by Eclipse Monkey.</p>

<p>As an aside, this DOM directive is really misleading: it is not the real URL of a plug-in.
It is composed in fact of 2 things:</p>

<pre><code>DOM: &lt;update site url&gt;/&lt;plug-in id&gt;
</code></pre>

<p>In the case of  <code><a href="http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript" rel="nofollow">http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript</a></code>, that means that Eclipse Monkey will connect to the update site <code><a href="http://download.eclipse.org/technology/dash/update/" rel="nofollow">http://download.eclipse.org/technology/dash/update/</a></code> and asks the user to choose among the features listed by the update site (in the <a href="http://download.eclipse.org/technology/dash/update/site.xml"><code>site.xml</code></a> file) the one which contains the <code>org.eclipse.eclipsemonkey.lang.javascript</code> plug-in (in that case, the <code>org.eclipse.eclipsemonkey</code> feature).</p>

<p>&#8211;
jeff</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Crater</title>
		<link>http://jmesnil.net/weblog/2006/03/21/console-dom-for-eclipse-monkey-script/comment-page-1/#comment-33090</link>
		<dc:creator>Jon Crater</dc:creator>
		<pubDate>Wed, 23 May 2007 18:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://jmesnil.net/weblog/2006/03/21/console-dom-for-eclipse-monkey-script/#comment-33090</guid>
		<description>&lt;p&gt;Beautiful!  Thanks a ton.  I&#039;m not sure why I couldn&#039;t find this documented anywhere.  Is it?&lt;/p&gt;

&lt;p&gt;Jon&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Beautiful!  Thanks a ton.  I&#8217;m not sure why I couldn&#8217;t find this documented anywhere.  Is it?</p>

<p>Jon</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jmesnil</title>
		<link>http://jmesnil.net/weblog/2006/03/21/console-dom-for-eclipse-monkey-script/comment-page-1/#comment-33008</link>
		<dc:creator>jmesnil</dc:creator>
		<pubDate>Wed, 23 May 2007 08:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://jmesnil.net/weblog/2006/03/21/console-dom-for-eclipse-monkey-script/#comment-33008</guid>
		<description>&lt;p&gt;Hi Jon,&lt;/p&gt;

&lt;p&gt;since the time I wrote this script, the DOM URL has changed.
In your script, I replaced:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;* DOM: http://download.eclipse.org/technology/dash/update/org.eclipse.dash.doms
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;by&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;* DOM: http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and it worked as expected.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Jon,</p>

<p>since the time I wrote this script, the DOM URL has changed.
In your script, I replaced:</p>

<pre><code>* DOM: <a href="http://download.eclipse.org/technology/dash/update/org.eclipse.dash.doms" rel="nofollow">http://download.eclipse.org/technology/dash/update/org.eclipse.dash.doms</a>
</code></pre>

<p>by</p>

<pre><code>* DOM: <a href="http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript" rel="nofollow">http://download.eclipse.org/technology/dash/update/org.eclipse.eclipsemonkey.lang.javascript</a>
</code></pre>

<p>and it worked as expected.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Crater</title>
		<link>http://jmesnil.net/weblog/2006/03/21/console-dom-for-eclipse-monkey-script/comment-page-1/#comment-32901</link>
		<dc:creator>Jon Crater</dc:creator>
		<pubDate>Tue, 22 May 2007 14:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://jmesnil.net/weblog/2006/03/21/console-dom-for-eclipse-monkey-script/#comment-32901</guid>
		<description>&lt;p&gt;Jeff,&lt;/p&gt;

&lt;p&gt;I ran across your site while digging around for monkey scripts.  I downloaded the plugins from the update site, but when I run the sample, it throws the error &quot;The script test.em requires this missing DOM plugin: org.eclipse.dash.doms&quot;&lt;/p&gt;

&lt;p&gt;I&#039;ve scoured the internet and I can&#039;t find this anywhere.  I know this is off-topic, but I thought you may know.  Here&#039;s the script I&#039;m running,&lt;/p&gt;

&lt;p&gt;Thanks in advance,&lt;/p&gt;

&lt;p&gt;Jon&lt;/p&gt;

&lt;p&gt;/*
 * Menu: Maven &gt; Make Maven Targets Derived
 * Kudos: Donnchadh
 * License: EPL 1.0
 * DOM: http://download.eclipse.org/technology/dash/update/org.eclipse.dash.doms
 */&lt;/p&gt;

&lt;p&gt;function main() {
  var files = resources.filesMatching(&quot;.*/pom&#092;.xml&quot;);
  var targetFolder;&lt;/p&gt;

&lt;p&gt;for each( file in files ) {
    if (targetFolder = file.eclipseObject.parent.findMember(&quot;target&quot;)) {
        targetFolder.setDerived(true);
    }
  }
}&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Jeff,</p>

<p>I ran across your site while digging around for monkey scripts.  I downloaded the plugins from the update site, but when I run the sample, it throws the error &#8220;The script test.em requires this missing DOM plugin: org.eclipse.dash.doms&#8221;</p>

<p>I&#8217;ve scoured the internet and I can&#8217;t find this anywhere.  I know this is off-topic, but I thought you may know.  Here&#8217;s the script I&#8217;m running,</p>

<p>Thanks in advance,</p>

<p>Jon</p>

<p>/*
 * Menu: Maven &gt; Make Maven Targets Derived
 * Kudos: Donnchadh
 * License: EPL 1.0
 * DOM: <a href="http://download.eclipse.org/technology/dash/update/org.eclipse.dash.doms" rel="nofollow">http://download.eclipse.org/technology/dash/update/org.eclipse.dash.doms</a>
 */</p>

<p>function main() {
  var files = resources.filesMatching(&#8220;.*/pom&#92;.xml&#8221;);
  var targetFolder;</p>

<p>for each( file in files ) {
    if (targetFolder = file.eclipseObject.parent.findMember(&#8220;target&#8221;)) {
        targetFolder.setDerived(true);
    }
  }
}</p>]]></content:encoded>
	</item>
</channel>
</rss>

