<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Run</title><link>https://sourceforge.net/p/priming/wiki/Run/</link><description>Recent changes to Run</description><atom:link href="https://sourceforge.net/p/priming/wiki/Run/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 19 May 2012 16:01:49 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/priming/wiki/Run/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Run modified by Alon Mishne</title><link>https://sourceforge.net/p/priming/wiki/Run/</link><description>&lt;pre&gt;--- v5 
+++ v6 
@@ -8,6 +8,7 @@
 Prime is implemented as an Eclipse plugin. Using a PDE-enabled version of Eclipse, it can be invoked inside a new Eclipse instance, in which there will be a new Prime menu item and a new Prime preference page. The preferences should be changes to control the output folder. Prime should then be ran from the menu.
 
 The two options are
+
 * Local mode - in which source or class files are analyzed, or alternatively all the contents of a local .cached file(s) is displayed. If no .cached files are used in local mode, Prime will save a new .cached file to the output folder.
 * Search mode - in which the selected code becomes the query, and the user should choose the .cached files to compare against.
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alon Mishne</dc:creator><pubDate>Sat, 19 May 2012 16:01:49 -0000</pubDate><guid>https://sourceforge.nete44247573a81097459f28852981874440b63b4bc</guid></item><item><title>WikiPage Run modified by Alon Mishne</title><link>https://sourceforge.net/p/priming/wiki/Run/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -8,20 +8,8 @@
 Prime is implemented as an Eclipse plugin. Using a PDE-enabled version of Eclipse, it can be invoked inside a new Eclipse instance, in which there will be a new Prime menu item and a new Prime preference page. The preferences should be changes to control the output folder. Prime should then be ran from the menu.
 
 The two options are
-* Local mode - in which source or class files are analyzed, or alternatively all the contents of a local .cached file(s) is displayed.
+* Local mode - in which source or class files are analyzed, or alternatively all the contents of a local .cached file(s) is displayed. If no .cached files are used in local mode, Prime will save a new .cached file to the output folder.
 * Search mode - in which the selected code becomes the query, and the user should choose the .cached files to compare against.
-
-Example Invocation
-------------------
-1. Create a new Eclipse Application run configuration, activating the product `org.eclipse.sdk.ide` with the arguments `-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl "en_US" -consoleLog` and the VM arguments `-Xmx2500m -XX:MaxPermSize=256m -Xss4m`.
-2. Run the created Eclipse Application. The top menu should contain the Prime menu item:
- ![](http://i.imgur.com/p3xGQ.png)
-3. Select the code you want to use as a query, then select "Code Search on Prime" from the menu (or just click the pickaxe icon on the menu):
- ![](http://i.imgur.com/rATzp.png)
-    * The code segment selected should be a complete class called `$Search`.
-    * Remember to use fully-qualified type names in the query, as shown in the screenshot.
-    * The syntax is 100% Java; to simulate unknown sequences, simply call some made-up unknown method on the object you're interested in.
-    * The object chosen as the query is automatically selected from the code.
 
 Command-line mode
 -----------------
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alon Mishne</dc:creator><pubDate>Sat, 19 May 2012 16:01:08 -0000</pubDate><guid>https://sourceforge.neteebdc5478cfb018ff8be8aceee8827be9862e925</guid></item><item><title>WikiPage Run modified by Alon Mishne</title><link>https://sourceforge.net/p/priming/wiki/Run/</link><description>&lt;pre&gt;--- v3 
+++ v4 
@@ -18,11 +18,10 @@
  ![](http://i.imgur.com/p3xGQ.png)
 3. Select the code you want to use as a query, then select "Code Search on Prime" from the menu (or just click the pickaxe icon on the menu):
  ![](http://i.imgur.com/rATzp.png)
- * The code segment selected should be a complete class called `$Search`.
- * Remember to use fully-qualified type names in the query, as shown in the screenshot.
- * The syntax is 100% Java; to simulate unknown sequences, simply call some made-up unknown method on the object you're interested in.
- * The object chosen as the query is automatically selected from the code.
-
+    * The code segment selected should be a complete class called `$Search`.
+    * Remember to use fully-qualified type names in the query, as shown in the screenshot.
+    * The syntax is 100% Java; to simulate unknown sequences, simply call some made-up unknown method on the object you're interested in.
+    * The object chosen as the query is automatically selected from the code.
 
 Command-line mode
 -----------------
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alon Mishne</dc:creator><pubDate>Sat, 19 May 2012 15:50:56 -0000</pubDate><guid>https://sourceforge.net5c95337d4074f9159ee8f467bde143e803c2231a</guid></item><item><title>WikiPage Run modified by Alon Mishne</title><link>https://sourceforge.net/p/priming/wiki/Run/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -15,8 +15,13 @@
 ------------------
 1. Create a new Eclipse Application run configuration, activating the product `org.eclipse.sdk.ide` with the arguments `-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl "en_US" -consoleLog` and the VM arguments `-Xmx2500m -XX:MaxPermSize=256m -Xss4m`.
 2. Run the created Eclipse Application. The top menu should contain the Prime menu item:
-
-![](http://i.imgur.com/p3xGQ.png)
+ ![](http://i.imgur.com/p3xGQ.png)
+3. Select the code you want to use as a query, then select "Code Search on Prime" from the menu (or just click the pickaxe icon on the menu):
+ ![](http://i.imgur.com/rATzp.png)
+ * The code segment selected should be a complete class called `$Search`.
+ * Remember to use fully-qualified type names in the query, as shown in the screenshot.
+ * The syntax is 100% Java; to simulate unknown sequences, simply call some made-up unknown method on the object you're interested in.
+ * The object chosen as the query is automatically selected from the code.
 
 
 Command-line mode
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alon Mishne</dc:creator><pubDate>Sat, 19 May 2012 15:49:10 -0000</pubDate><guid>https://sourceforge.net6355cc3bb4d4b7a023e214975f963ec079f575bf</guid></item><item><title>WikiPage Run modified by Alon Mishne</title><link>https://sourceforge.net/p/priming/wiki/Run/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -4,12 +4,20 @@
 Prime can be ran in two modes; GUI and command-line. In both modes you should supply, as a regex, the predicate Prime should use to mark types as API types.
 
 GUI mode
---------
+========
 Prime is implemented as an Eclipse plugin. Using a PDE-enabled version of Eclipse, it can be invoked inside a new Eclipse instance, in which there will be a new Prime menu item and a new Prime preference page. The preferences should be changes to control the output folder. Prime should then be ran from the menu.
 
 The two options are
 * Local mode - in which source or class files are analyzed, or alternatively all the contents of a local .cached file(s) is displayed.
 * Search mode - in which the selected code becomes the query, and the user should choose the .cached files to compare against.
+
+Example Invocation
+------------------
+1. Create a new Eclipse Application run configuration, activating the product `org.eclipse.sdk.ide` with the arguments `-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl "en_US" -consoleLog` and the VM arguments `-Xmx2500m -XX:MaxPermSize=256m -Xss4m`.
+2. Run the created Eclipse Application. The top menu should contain the Prime menu item:
+
+![](http://i.imgur.com/p3xGQ.png)
+
 
 Command-line mode
 -----------------
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alon Mishne</dc:creator><pubDate>Sat, 19 May 2012 15:40:38 -0000</pubDate><guid>https://sourceforge.net0dd92836b780ce005bde2e1822fc34fcc496a9bf</guid></item><item><title>WikiPage Run modified by Alon Mishne</title><link>https://sourceforge.net/p/priming/wiki/Run/</link><description>How to Run Prime
================

Prime can be ran in two modes; GUI and command-line. In both modes you should supply, as a regex, the predicate Prime should use to mark types as API types.

GUI mode
--------
Prime is implemented as an Eclipse plugin. Using a PDE-enabled version of Eclipse, it can be invoked inside a new Eclipse instance, in which there will be a new Prime menu item and a new Prime preference page. The preferences should be changes to control the output folder. Prime should then be ran from the menu.

The two options are
* Local mode - in which source or class files are analyzed, or alternatively all the contents of a local .cached file(s) is displayed.
* Search mode - in which the selected code becomes the query, and the user should choose the .cached files to compare against.

Command-line mode
-----------------
The command-line mode can do everything the GUI version can do, except for compiling partial snippets - which also means that it cannot handle queries submitted as text, but it can run a pre-made hard-coded query.

All the command-line arguments could be seen by running the command-line tool (technion.prime.PrimeMain) with no arguments.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alon Mishne</dc:creator><pubDate>Mon, 16 Apr 2012 06:57:46 -0000</pubDate><guid>https://sourceforge.net484360cccdc8a8da27a152c6054e8e6c5c6caafc</guid></item></channel></rss>