incubator-imperius-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jnee...@apache.org
Subject svn commit: r612032 - in /incubator/imperius/site: build/site/en/ build/site/en/community/ build/site/en/docs/ build/tmp/ build/tmp/cocoon-work/cache-dir/ src/documentation/content/xdocs/ src/documentation/content/xdocs/community/ src/documentation/con...
Date Tue, 15 Jan 2008 07:06:09 GMT
Author: jneeraj
Date: Mon Jan 14 23:05:56 2008
New Revision: 612032

URL: http://svn.apache.org/viewvc?rev=612032&view=rev
Log:
Added the SPL Editor guide

Added:
    incubator/imperius/site/build/site/en/docs/javaspl_user_guide.html   (with props)
    incubator/imperius/site/build/site/en/docs/spl_editor_guide.html   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/docs/javaspl_user_guide.xml   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/docs/spl_editor_guide.xml   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/addcustom.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/apachimp.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/customizeeditor.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/finishfeatureinstall.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/importpolicy1.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/importpolicy2.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/installupdate.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/newfeaturetoinstall.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/newlocalsite.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/newpolicy.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/newpolicyproject.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/removecustom.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/selectfeature.PNG   (with props)
    incubator/imperius/site/src/documentation/content/xdocs/images/spleditor.PNG   (with props)
Modified:
    incubator/imperius/site/build/site/en/community/bugs.html
    incubator/imperius/site/build/site/en/community/contribute.html
    incubator/imperius/site/build/site/en/community/mail-lists.html
    incubator/imperius/site/build/site/en/docs/getting_started.html
    incubator/imperius/site/build/site/en/index.html
    incubator/imperius/site/build/site/en/license.html
    incubator/imperius/site/build/site/en/linkmap.html
    incubator/imperius/site/build/tmp/cocoon-work/cache-dir/cocoon-ehcache-1.data
    incubator/imperius/site/build/tmp/cocoon-work/cache-dir/cocoon-ehcache-1.index
    incubator/imperius/site/build/tmp/projfilters.properties
    incubator/imperius/site/src/documentation/content/xdocs/community/contribute.xml
    incubator/imperius/site/src/documentation/content/xdocs/docs/getting_started.xml
    incubator/imperius/site/src/documentation/content/xdocs/images/Thumbs.db
    incubator/imperius/site/src/documentation/content/xdocs/site.xml

Modified: incubator/imperius/site/build/site/en/community/bugs.html
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/site/en/community/bugs.html?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
--- incubator/imperius/site/build/site/en/community/bugs.html (original)
+++ incubator/imperius/site/build/site/en/community/bugs.html Mon Jan 14 23:05:56 2008
@@ -162,7 +162,7 @@
 </div>
 <div class="copyright">
         Copyright &copy;
-         2007 <a href="http://www.apache.org/">Apache Software Foundation.</a>
+         2007-2008 <a href="http://www.apache.org/">Apache Software Foundation.</a>
 </div>
 <!--+
     |end bottomstrip

Modified: incubator/imperius/site/build/site/en/community/contribute.html
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/site/en/community/contribute.html?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
--- incubator/imperius/site/build/site/en/community/contribute.html (original)
+++ incubator/imperius/site/build/site/en/community/contribute.html Mon Jan 14 23:05:56 2008
@@ -138,6 +138,9 @@
 <li>
 <a href="#bulidjavaspl">Building Imperius with Java binding (JavaSPL)</a>
 </li>
+<li>
+<a href="#buildeditor"> Build the SPL Editor </a>
+</li>
 </ul>
 </li>
 <li>
@@ -196,12 +199,27 @@
 				     <a href="http://svn.apache.org/viewvc/incubator/imperius/trunk/build.xml?view=co">build </a> file to a directory where you'd like to create the 
 				     Imperius distribution and run ant from that directory. The build will use the Subversion client to pull down the latest files from the 
 				     Imperius repository (subsequent runs of the build will use your local copy of the files). When the build is complete, you can find the distribution
-				     archives in /dist.
-				        
-				</p>
+				     archives in /dist. 
+	  			  </p>
+<a name="N1005F"></a><a name="buildeditor"></a>
+<h3 class="boxed"> Build the SPL Editor </h3>
+<p>	To build the SPL Editor: </p>
+<ol>
+		  		
+<li> First configure the maven repository with	eclipse plugins. 
+		  		To do this on a command prompt run 		  	
+		  		<strong> mvn eclipse:make-artifacts -DeclipseDir= &lt; ECLIPSE_HOME &gt; </strong>
+		  		
+</li>
+		  		
+<li> Make sure ANTLR_HOME is set </li>
+		  		
+<li> Run <strong> ant all </strong> to build both the runtime and the site </li>
+		  	
+</ol>
 </div>
     
-<a name="N10060"></a><a name="eclipsedev"></a>
+<a name="N1007C"></a><a name="eclipsedev"></a>
 <h2 class="boxed">Developing with Eclipse</h2>
 <div class="section">
 <p>
@@ -214,7 +232,7 @@
 <p>
 	 Next, follow the steps below to configure eclipse for the specific Imperius binding you need.
 	</p>
-<a name="N10077"></a><a name="eclipsejavaspl"></a>
+<a name="N10093"></a><a name="eclipsejavaspl"></a>
 <h3 class="boxed"> Set up Eclipse for Imperius with Java binding (JavaSPL) </h3>
 <ol>
 	     	     
@@ -257,7 +275,7 @@
 </div>
 <div class="copyright">
         Copyright &copy;
-         2007 <a href="http://www.apache.org/">Apache Software Foundation.</a>
+         2007-2008 <a href="http://www.apache.org/">Apache Software Foundation.</a>
 </div>
 <!--+
     |end bottomstrip

Modified: incubator/imperius/site/build/site/en/community/mail-lists.html
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/site/en/community/mail-lists.html?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
--- incubator/imperius/site/build/site/en/community/mail-lists.html (original)
+++ incubator/imperius/site/build/site/en/community/mail-lists.html Mon Jan 14 23:05:56 2008
@@ -209,7 +209,7 @@
 </div>
 <div class="copyright">
         Copyright &copy;
-         2007 <a href="http://www.apache.org/">Apache Software Foundation.</a>
+         2007-2008 <a href="http://www.apache.org/">Apache Software Foundation.</a>
 </div>
 <!--+
     |end bottomstrip

Modified: incubator/imperius/site/build/site/en/docs/getting_started.html
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/site/en/docs/getting_started.html?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
--- incubator/imperius/site/build/site/en/docs/getting_started.html (original)
+++ incubator/imperius/site/build/site/en/docs/getting_started.html Mon Jan 14 23:05:56 2008
@@ -105,7 +105,10 @@
 <div class="menupagetitle">Getting Started</div>
 </div>
 <div class="menuitem">
-<a href="../docs/docs.html#user_guide" title="User Guide">User Guide</a>
+<a href="../docs/javaspl_user_guide.html" title="User Guide">JavaSPL User Guide</a>
+</div>
+<div class="menuitem">
+<a href="../docs/spl_editor_guide.html" title="Editor Guide">SPL Editor Guide</a>
 </div>
 </div>
 <div id="credit"></div>
@@ -309,7 +312,7 @@
 </div>
 <div class="copyright">
         Copyright &copy;
-         2007 <a href="http://www.apache.org/">Apache Software Foundation.</a>
+         2007-2008 <a href="http://www.apache.org/">Apache Software Foundation.</a>
 </div>
 <!--+
     |end bottomstrip

Added: incubator/imperius/site/build/site/en/docs/javaspl_user_guide.html
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/site/en/docs/javaspl_user_guide.html?rev=612032&view=auto
==============================================================================
--- incubator/imperius/site/build/site/en/docs/javaspl_user_guide.html (added)
+++ incubator/imperius/site/build/site/en/docs/javaspl_user_guide.html Mon Jan 14 23:05:56 2008
@@ -0,0 +1,170 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.8">
+<meta name="Forrest-skin-name" content="pelt">
+<title>User Guide</title>
+<link type="text/css" href="../skin/basic.css" rel="stylesheet">
+<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet">
+<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet">
+<link type="text/css" href="../skin/profile.css" rel="stylesheet">
+<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script>
+<link rel="shortcut icon" href="../">
+</head>
+<body onload="init()">
+<script type="text/javascript">ndeSetTextSize();</script>
+<div id="top">
+<!--+
+    |breadtrail
+    +-->
+<div class="breadtrail">
+<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://incubator.apache.org/">Incubators</a> &gt; <a href="http://incubator.apache.org/imperius/">Imperius</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
+</div>
+<!--+
+    |header
+    +-->
+<div class="header">
+<!--+
+    |start group logo
+    +-->
+<div class="grouplogo">
+<a href="http://incubator.apache.org/"><img class="logoImage" alt="Apache Incubator" src="../images/apache-incubator-logo.png" title="Apache Incubator"></a>
+</div>
+<!--+
+    |end group logo
+    +-->
+<!--+
+    |start Project Logo
+    +-->
+<div class="projectlogo">
+<a href="http://incubator.apache.org/imperius"><img class="logoImage" alt="Imperius" src="../images/project-logo.png" title="Imperius Simple Policy Language"></a>
+</div>
+<!--+
+    |end Project Logo
+    +-->
+<!--+
+    |start Search
+    +-->
+<div class="searchbox">
+<form action="http://www.google.com/search" method="get" class="roundtopsmall">
+<input value="apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">&nbsp; 
+                    <input name="Search" value="Search" type="submit">
+</form>
+</div>
+<!--+
+    |end search
+    +-->
+<!--+
+    |start Tabs
+    +-->
+<ul id="tabs">
+<li>
+<a class="unselected" href="../index.html">Home</a>
+</li>
+<li>
+<a class="unselected" href="../download/download.html">Download</a>
+</li>
+</ul>
+<!--+
+    |end Tabs
+    +-->
+</div>
+</div>
+<div id="main">
+<div id="publishedStrip">
+<!--+
+    |start Subtabs
+    +-->
+<div id="level2tabs"></div>
+<!--+
+    |end Endtabs
+    +-->
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+//  --></script>
+</div>
+<!--+
+    |breadtrail
+    +-->
+<div class="breadtrail">
+
+             &nbsp;
+           </div>
+<!--+
+    |start Menu, mainarea
+    +-->
+<!--+
+    |start Menu
+    +-->
+<div id="menu">
+<div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Documentation</div>
+<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;">
+<div class="menuitem">
+<a href="../docs/getting_started.html" title="Get Started">Getting Started</a>
+</div>
+<div class="menupage">
+<div class="menupagetitle">JavaSPL User Guide</div>
+</div>
+<div class="menuitem">
+<a href="../docs/spl_editor_guide.html" title="Editor Guide">SPL Editor Guide</a>
+</div>
+</div>
+<div id="credit"></div>
+<div id="roundbottom">
+<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
+<!--+
+  |alternative credits
+  +-->
+<div id="credit2"></div>
+</div>
+<!--+
+    |end Menu
+    +-->
+<!--+
+    |start content
+    +-->
+<div id="content">
+<h1>User Guide</h1>
+<div id="minitoc-area">
+<ul class="minitoc">
+<li>
+<a href="#Introduction">Introduction</a>
+</li>
+</ul>
+</div>
+    
+<a name="N1000D"></a><a name="Introduction"></a>
+<h2 class="boxed">Introduction</h2>
+<div class="section">
+<p>
+        Coming Soon!
+      </p>
+</div>
+     
+</div>
+<!--+
+    |end content
+    +-->
+<div class="clearboth">&nbsp;</div>
+</div>
+<div id="footer">
+<!--+
+    |start bottomstrip
+    +-->
+<div class="lastmodified">
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+//  --></script>
+</div>
+<div class="copyright">
+        Copyright &copy;
+         2007-2008 <a href="http://www.apache.org/">Apache Software Foundation.</a>
+</div>
+<!--+
+    |end bottomstrip
+    +-->
+</div>
+</body>
+</html>

Propchange: incubator/imperius/site/build/site/en/docs/javaspl_user_guide.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/site/build/site/en/docs/spl_editor_guide.html
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/site/en/docs/spl_editor_guide.html?rev=612032&view=auto
==============================================================================
--- incubator/imperius/site/build/site/en/docs/spl_editor_guide.html (added)
+++ incubator/imperius/site/build/site/en/docs/spl_editor_guide.html Mon Jan 14 23:05:56 2008
@@ -0,0 +1,441 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta content="Apache Forrest" name="Generator">
+<meta name="Forrest-version" content="0.8">
+<meta name="Forrest-skin-name" content="pelt">
+<title>SPL Editor Guide</title>
+<link type="text/css" href="../skin/basic.css" rel="stylesheet">
+<link media="screen" type="text/css" href="../skin/screen.css" rel="stylesheet">
+<link media="print" type="text/css" href="../skin/print.css" rel="stylesheet">
+<link type="text/css" href="../skin/profile.css" rel="stylesheet">
+<script src="../skin/getBlank.js" language="javascript" type="text/javascript"></script><script src="../skin/getMenu.js" language="javascript" type="text/javascript"></script><script src="../skin/fontsize.js" language="javascript" type="text/javascript"></script>
+<link rel="shortcut icon" href="../">
+</head>
+<body onload="init()">
+<script type="text/javascript">ndeSetTextSize();</script>
+<div id="top">
+<!--+
+    |breadtrail
+    +-->
+<div class="breadtrail">
+<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://incubator.apache.org/">Incubators</a> &gt; <a href="http://incubator.apache.org/imperius/">Imperius</a><script src="../skin/breadcrumbs.js" language="JavaScript" type="text/javascript"></script>
+</div>
+<!--+
+    |header
+    +-->
+<div class="header">
+<!--+
+    |start group logo
+    +-->
+<div class="grouplogo">
+<a href="http://incubator.apache.org/"><img class="logoImage" alt="Apache Incubator" src="../images/apache-incubator-logo.png" title="Apache Incubator"></a>
+</div>
+<!--+
+    |end group logo
+    +-->
+<!--+
+    |start Project Logo
+    +-->
+<div class="projectlogo">
+<a href="http://incubator.apache.org/imperius"><img class="logoImage" alt="Imperius" src="../images/project-logo.png" title="Imperius Simple Policy Language"></a>
+</div>
+<!--+
+    |end Project Logo
+    +-->
+<!--+
+    |start Search
+    +-->
+<div class="searchbox">
+<form action="http://www.google.com/search" method="get" class="roundtopsmall">
+<input value="apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">&nbsp; 
+                    <input name="Search" value="Search" type="submit">
+</form>
+</div>
+<!--+
+    |end search
+    +-->
+<!--+
+    |start Tabs
+    +-->
+<ul id="tabs">
+<li>
+<a class="unselected" href="../index.html">Home</a>
+</li>
+<li>
+<a class="unselected" href="../download/download.html">Download</a>
+</li>
+</ul>
+<!--+
+    |end Tabs
+    +-->
+</div>
+</div>
+<div id="main">
+<div id="publishedStrip">
+<!--+
+    |start Subtabs
+    +-->
+<div id="level2tabs"></div>
+<!--+
+    |end Endtabs
+    +-->
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+//  --></script>
+</div>
+<!--+
+    |breadtrail
+    +-->
+<div class="breadtrail">
+
+             &nbsp;
+           </div>
+<!--+
+    |start Menu, mainarea
+    +-->
+<!--+
+    |start Menu
+    +-->
+<div id="menu">
+<div onclick="SwitchMenu('menu_selected_1.1', '../skin/')" id="menu_selected_1.1Title" class="menutitle" style="background-image: url('../skin/images/chapter_open.gif');">Documentation</div>
+<div id="menu_selected_1.1" class="selectedmenuitemgroup" style="display: block;">
+<div class="menuitem">
+<a href="../docs/getting_started.html" title="Get Started">Getting Started</a>
+</div>
+<div class="menuitem">
+<a href="../docs/javaspl_user_guide.html" title="User Guide">JavaSPL User Guide</a>
+</div>
+<div class="menupage">
+<div class="menupagetitle">SPL Editor Guide</div>
+</div>
+</div>
+<div id="credit"></div>
+<div id="roundbottom">
+<img style="display: none" class="corner" height="15" width="15" alt="" src="../skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
+<!--+
+  |alternative credits
+  +-->
+<div id="credit2"></div>
+</div>
+<!--+
+    |end Menu
+    +-->
+<!--+
+    |start content
+    +-->
+<div id="content">
+<h1>SPL Editor Guide</h1>
+<div id="minitoc-area">
+<ul class="minitoc">
+<li>
+<a href="#Introduction">Introduction</a>
+</li>
+<li>
+<a href="#getting_started"> Getting Started </a>
+<ul class="minitoc">
+<li>
+<a href="#prereqs"> Prerequisites </a>
+</li>
+<li>
+<a href="#download_editor"> Download or build the SPL Editor </a>
+</li>
+<li>
+<a href="#installation"> Install the Editor </a>
+</li>
+</ul>
+</li>
+<li>
+<a href="#use_editor"> Using the Editor </a>
+<ul class="minitoc">
+<li>
+<a href="#create_spl_project"> Create SPL Project </a>
+</li>
+<li>
+<a href="#create_spl_policy"> Create a SPL Policy </a>
+</li>
+<li>
+<a href="#import_spl_policy"> Import a SPL Policy </a>
+</li>
+<li>
+<a href="#editing_spl_policy"> Editing a SPL Policy </a>
+</li>
+<li>
+<a href="#using_customexpressions"> User-Defined Expressions </a>
+</li>
+<li>
+<a href="#customizing_editor"> Customizing the SPL Editor </a>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+    
+<a name="N1000D"></a><a name="Introduction"></a>
+<h2 class="boxed">Introduction</h2>
+<div class="section">
+<p>
+        The SPL Policy editor is an Eclipse based text editor that expedites authoring and validation of SPL policies.
+        The SPL editor greatly simplifies the process of creating policies with the help of policy templates, 
+        auto-completion and expression list prompting. SPL editor also allows easy import and export of policies.
+        
+      </p>
+<p>
+      	Some of the salient features of the SPL Editor include:
+      </p>
+<ul>
+			
+<li> Policy authoring </li>
+			
+<li> Policy Import/Export </li> 
+		    
+<li> Customizable syntax highlighting.</li>
+			
+<li> Policy outline view for quick policy navigation </li>
+			
+<li> Error location indication </li>
+			
+<li> Automatic syntax and semantic validation </li>
+			
+<li> Statement auto-completion. </li>
+			
+<li> Policy Execution.</li>
+			
+<li> Policy execution simulation </li>
+		
+</ul>
+</div>
+    
+<a name="N10038"></a><a name="getting_started"></a>
+<h2 class="boxed"> Getting Started </h2>
+<div class="section">
+<a name="N1003E"></a><a name="prereqs"></a>
+<h3 class="boxed"> Prerequisites </h3>
+<p>
+    		To use the JavaSPL editor you will first need to download and install 
+    		<a href="http://www.eclipse.org/downloads">eclipse platform 3.3 or later </a> 
+    		and <a href="http://www.eclipse.org/downloads"> EMF 2.3 or later </a>
+    	
+</p>
+<a name="N10050"></a><a name="download_editor"></a>
+<h3 class="boxed"> Download or build the SPL Editor </h3>
+<p>
+    		Download and extract <a href="http://incubator.apache.org/imperius/downloads.html"> JavaSPLEditor.zip </a>
+    		to a temporary location. You can also <a href="http://incubator.apache.org/imperius/community/contribute.html"> Build the editor from source </a>
+    	
+</p>
+<a name="N10062"></a><a name="installation"></a>
+<h3 class="boxed"> Install the Editor </h3>
+<ol>
+    			
+<li> Start Eclipse. Choose the menu option: <strong> Help / Software Update / Find and Install </strong>. 
+    			    <img alt="Icon" src="../images/installupdate.png">
+    			</li>
+    			
+<li> Select the checkbox: <strong> Search for new features to install </strong> and press the 
+    				<strong> Next </strong> button.
+    				<img alt="Icon" src="../images/newfeaturetoinstall.png">
+    			</li>
+    			 
+    			 
+<li> From the dialog <strong> Update sites to visit </strong> press the button 
+    			 	<strong> New Local Site </strong>. 
+    			 </li>
+    			 
+<li>	
+    			 	Select the folder where the <a href="http://incubator.apache.org/imperius/downloads.html"> SPLEditor.zip </a>
+    			 	has been extracted and Enter <strong> Policy Editor </strong> in the <strong> Name </strong>  field. 
+    			 	Press the  <strong> OK </strong> button.
+    			 	<img alt="Icon" src="../images/newlocalsite.png">
+    			 </li>
+    			 
+<li> Select the checkbox <strong> SPL Editor </strong> and click the <strong> Next </strong> for the
+    			 following pages. You may need to restart eclipse
+    			 <img alt="Icon" src="../images/selectfeature.png">
+    			 </li>
+    			  
+<li> Verify that the SPL Editor has been installed by clicking on 
+    			 <strong> File / Project / New / SPL Project.</strong>
+    			 
+</li>
+    		
+    		
+</ol>
+</div>
+    
+<a name="N100B4"></a><a name="use_editor"></a>
+<h2 class="boxed"> Using the Editor </h2>
+<div class="section">
+<a name="N100BA"></a><a name="create_spl_project"></a>
+<h3 class="boxed"> Create SPL Project </h3>
+<ol>
+    				
+<li> Launch Eclipse and Select <strong> File / New / Project </strong> from the Eclipse main menu and
+    					expand the <strong> Policy </strong> folder.
+					<img alt="Icon" src="../images/newpolicyproject.png">
+					</li>
+					
+<li> Select the <strong> SPL Project </strong> and click <strong> Next </strong>. </li>
+					
+<li> Enter a Name for your project </li>
+					
+<li> Your new SPL Editor is now ready for use </li> 
+    			
+    			
+</ol>
+<a name="N100E0"></a><a name="create_spl_policy"></a>
+<h3 class="boxed"> Create a SPL Policy </h3>
+<ol>
+    				
+<li> Right-click on the project in the <strong> Navigator </strong> view </li>
+    				
+<li> Select <strong> New -&gt; File </strong> to display the <strong> New File </strong> dialog box, 
+    				expand the <strong> Policy </strong> folder and Select <strong> SPL Policy </strong> option and 
+    				click <strong> Next </strong>.
+    				<img alt="Icon" src="../images/newpolicy.png"> 
+    				</li>
+    				
+<li> Enter a name for the source file in the File name field and click <strong> Next </strong> 
+</li>
+					
+<li> Choose from one of the built-in policy templates and click <strong> Finish </strong> 
+					
+</li> 
+					
+<li> Replace the &lt; &gt; template sections of the generated policy appropriately </li>
+					
+<li> Save the policy (Ctrl+s) </li>
+					
+    			
+</ol>
+<a name="N10118"></a><a name="import_spl_policy"></a>
+<h3 class="boxed"> Import a SPL Policy </h3>
+<ol>
+    			
+<li> Right click on the SPL project where the policy is to be imported and click on 
+    			<strong> Import </strong>. Optionally, you could do <strong> File -&gt; Import </strong>
+    			<img alt="Icon" src="../images/importpolicy1.png">   
+    			</li>
+    			
+<li> Select <strong> Policy -&gt; SPL Policy </strong> and click <strong> Next </strong> 
+</li>
+    			
+<li> Make sure the <strong> Policy Binding </strong> is set to <strong> Java </strong> 
+    			and browse the local file system for the directory where the policy file resides
+    			<img alt="Icon" src="../images/importpolicy2.png">  
+    			</li>
+    			
+<li> A list of polices will be displayed in the text box below. Select the ones you 
+    			would like to import </li>
+    			
+<li> Set the <strong> Destination </strong> to project where the policy needs to be imported </li>
+    			
+<li> Finally, click on <strong> Finish </strong> 
+</li>
+    			
+<li> Double-click on the policy to open it into the editor </li>
+    			    			
+    		
+</ol>
+<a name="N10157"></a><a name="editing_spl_policy"></a>
+<h3 class="boxed"> Editing a SPL Policy </h3>
+<p> 
+<img alt="Icon" src="../images/spleditor.png"> </p>
+<ul> 
+    		
+<li> To access anchor object members, after the instance name, simply 
+    			type &lsquo;.&rsquo; and a drop down list with the properties and methods will appear.
+    			   
+    		</li>	
+			
+<li> To access built-in and custom operators and actions list type Ctrl + space. 
+				 A drop down list with all supported operators and actions will appear.
+				    
+			</li>
+			
+<li> An outline view on the right enables users to quickly navigate the policy file.
+				  
+			</li>
+			
+<li> If syntax or semantic errors exist then they will be displayed in the problems pane 
+			at the bottom.  </li>
+    	
+</ul>
+<a name="N10174"></a><a name="using_customexpressions"></a>
+<h3 class="boxed"> User-Defined Expressions </h3>
+<p> SPL allows users to add custom actions or expressions to the runtime. 
+    		The Editor needs to be configured to recognize these custom expressions. 
+    		</p>
+<ol>
+    			
+<li> Right click on the project and select <strong> Properties </strong>. 
+    				This opens a dialog box.
+    			</li>
+    			
+<li> Expand the <strong> policy </strong> option and either select 
+    				add custom jar or delete the custom jar to the project 
+    			</li>
+    			
+<li> Browse the local filesystem and select the jar file that contains the
+    				custom expressions classes and the customexpressions.properties.(Refer the
+    				User Guide).
+    				<img alt="Icon" src="../images/addcustom.png"> 
+    			</li>
+    			
+<li> The list of classes inside the jar will get displayed. Click <strong> Apply </strong>
+    				to add the jars to the classpath and register the custom expressions.
+    			</li>	
+    			
+<li> Clicking Ctrl + space in the policy section should display the newly added custom
+    				expressions in the drop-down list 
+    			</li>	
+    			
+<li> To delete the custom expressions from the runtime use the 
+    			<strong> Delete Custom Jar </strong> option in the <strong> Properties </strong>
+    			panel. 
+    			<img alt="Icon" src="../images/removecustom.png">  
+    			</li>
+    			
+    	
+    		
+</ol>
+<a name="N101AA"></a><a name="customizing_editor"></a>
+<h3 class="boxed"> Customizing the SPL Editor </h3>
+<p> 
+<img alt="Icon" src="../images/customizeeditor.png"> </p>
+<p>
+    		The SPL Policy editor allows users to customize the syntax highlighting. 
+    		From the main menu select <strong> Window-&gt;Preferences </strong> to show preferences 
+    		dialog box. Expand the <strong> Policy </strong> node on left and click on 
+    		<strong> Policy Editor </strong>. 
+    	</p>
+</div>	
+    
+    
+   
+</div>
+<!--+
+    |end content
+    +-->
+<div class="clearboth">&nbsp;</div>
+</div>
+<div id="footer">
+<!--+
+    |start bottomstrip
+    +-->
+<div class="lastmodified">
+<script type="text/javascript"><!--
+document.write("Last Published: " + document.lastModified);
+//  --></script>
+</div>
+<div class="copyright">
+        Copyright &copy;
+         2007-2008 <a href="http://www.apache.org/">Apache Software Foundation.</a>
+</div>
+<!--+
+    |end bottomstrip
+    +-->
+</div>
+</body>
+</html>

Propchange: incubator/imperius/site/build/site/en/docs/spl_editor_guide.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/site/build/site/en/index.html
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/site/en/index.html?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
--- incubator/imperius/site/build/site/en/index.html (original)
+++ incubator/imperius/site/build/site/en/index.html Mon Jan 14 23:05:56 2008
@@ -123,7 +123,10 @@
 <a href="docs/getting_started.html" title="Get Started">Getting Started</a>
 </div>
 <div class="menuitem">
-<a href="docs/docs.html#user_guide" title="User Guide">User Guide</a>
+<a href="docs/javaspl_user_guide.html" title="User Guide">JavaSPL User Guide</a>
+</div>
+<div class="menuitem">
+<a href="docs/spl_editor_guide.html" title="Editor Guide">SPL Editor Guide</a>
 </div>
 </div>
 <div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Community</div>

Modified: incubator/imperius/site/build/site/en/license.html
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/site/en/license.html?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
--- incubator/imperius/site/build/site/en/license.html (original)
+++ incubator/imperius/site/build/site/en/license.html Mon Jan 14 23:05:56 2008
@@ -123,7 +123,10 @@
 <a href="docs/getting_started.html" title="Get Started">Getting Started</a>
 </div>
 <div class="menuitem">
-<a href="docs/docs.html#user_guide" title="User Guide">User Guide</a>
+<a href="docs/javaspl_user_guide.html" title="User Guide">JavaSPL User Guide</a>
+</div>
+<div class="menuitem">
+<a href="docs/spl_editor_guide.html" title="Editor Guide">SPL Editor Guide</a>
 </div>
 </div>
 <div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Community</div>
@@ -376,7 +379,7 @@
 </div>
 <div class="copyright">
         Copyright &copy;
-         2007 <a href="http://www.apache.org/">Apache Software Foundation.</a>
+         2007-2008 <a href="http://www.apache.org/">Apache Software Foundation.</a>
 </div>
 <!--+
     |end bottomstrip

Modified: incubator/imperius/site/build/site/en/linkmap.html
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/site/en/linkmap.html?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
--- incubator/imperius/site/build/site/en/linkmap.html (original)
+++ incubator/imperius/site/build/site/en/linkmap.html Mon Jan 14 23:05:56 2008
@@ -123,7 +123,10 @@
 <a href="docs/getting_started.html" title="Get Started">Getting Started</a>
 </div>
 <div class="menuitem">
-<a href="docs/docs.html#user_guide" title="User Guide">User Guide</a>
+<a href="docs/javaspl_user_guide.html" title="User Guide">JavaSPL User Guide</a>
+</div>
+<div class="menuitem">
+<a href="docs/spl_editor_guide.html" title="Editor Guide">SPL Editor Guide</a>
 </div>
 </div>
 <div onclick="SwitchMenu('menu_1.4', 'skin/')" id="menu_1.4Title" class="menutitle">Community</div>
@@ -216,7 +219,12 @@
       
 <ul>
 <li>
-<a href="docs/docs.html#user_guide">User Guide</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>usersguide</em>&nbsp;: User Guide</li>
+<a href="docs/javaspl_user_guide.html">JavaSPL User Guide</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>usersguide</em>&nbsp;: User Guide</li>
+</ul>
+      
+<ul>
+<li>
+<a href="docs/spl_editor_guide.html">SPL Editor Guide</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>editorguide</em>&nbsp;: Editor Guide</li>
 </ul>
   
 </ul>
@@ -276,7 +284,7 @@
 </div>
 <div class="copyright">
         Copyright &copy;
-         2007 <a href="http://www.apache.org/">Apache Software Foundation.</a>
+         2007-2008 <a href="http://www.apache.org/">Apache Software Foundation.</a>
 </div>
 <!--+
     |end bottomstrip

Modified: incubator/imperius/site/build/tmp/cocoon-work/cache-dir/cocoon-ehcache-1.data
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/tmp/cocoon-work/cache-dir/cocoon-ehcache-1.data?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/imperius/site/build/tmp/cocoon-work/cache-dir/cocoon-ehcache-1.index
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/tmp/cocoon-work/cache-dir/cocoon-ehcache-1.index?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
Binary files - no diff available.

Modified: incubator/imperius/site/build/tmp/projfilters.properties
URL: http://svn.apache.org/viewvc/incubator/imperius/site/build/tmp/projfilters.properties?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
--- incubator/imperius/site/build/tmp/projfilters.properties (original)
+++ incubator/imperius/site/build/tmp/projfilters.properties Mon Jan 14 23:05:56 2008
@@ -1,22 +1,22 @@
 #Ant properties
-#Sat Dec 22 17:25:33 EST 2007
+#Tue Jan 15 02:03:41 EST 2008
 project.sitemap=src/documentation/sitemap.xmap
-project.war=C\:\\neeraj\\spl\\website\\build\\my-project.war
+project.war=C\:\\neeraj\\spl\\workspace\\imperius-final\\site\\build\\my-project.war
 project.name=my-project
-project.brokenlinkfile=C\:\\neeraj\\spl\\website\\build\\tmp\\brokenlinks.xml
+project.brokenlinkfile=C\:\\neeraj\\spl\\workspace\\imperius-final\\site\\build\\tmp\\brokenlinks.xml
 project.stylesheets-dir=src/documentation/resources/stylesheets
-project.webapp=C\:\\neeraj\\spl\\website\\build\\webapp
+project.webapp=C\:\\neeraj\\spl\\workspace\\imperius-final\\site\\build\\webapp
 project.skinconf=src/documentation/skinconf.xml
 project.debuglevel=ERROR
 project.skin=pelt
 project.configfile=C\:\\neeraj\\downloads\\apacheprojects\\apache-forrest-0.8\\main\\webapp/WEB-INF/cli.xconf
 project.images-dir=src/documentation/resources/images
 project.conf-dir=src/documentation/conf
-project.temp-dir=C\:\\neeraj\\spl\\website/build/tmp
+project.temp-dir=C\:\\neeraj\\spl\\workspace\\imperius-final\\site/build/tmp
 project.translations-dir=src/documentation/translations
 project.menu-scheme=tab_attributes
 project.lib-dir=src/documentation/lib
-project.build-dir=C\:\\neeraj\\spl\\website/build
+project.build-dir=C\:\\neeraj\\spl\\workspace\\imperius-final\\site/build
 project.classes-dir=src/documentation/classes
 project.resources-dir=src/documentation/resources
 project.grammars-dir=src/documentation/resources/grammars
@@ -24,7 +24,7 @@
 project.sitemap-dir=src/documentation
 project.required.plugins.src=C\:\\neeraj\\downloads\\apacheprojects\\apache-forrest-0.8/plugins,C\:\\neeraj\\downloads\\apacheprojects\\apache-forrest-0.8/whiteboard/plugins
 project.logger=debug
-project.cocoon-work-dir=C\:\\neeraj\\spl\\website\\build\\tmp\\cocoon-work
+project.cocoon-work-dir=C\:\\neeraj\\spl\\workspace\\imperius-final\\site\\build\\tmp\\cocoon-work
 project.schema-dir=src/documentation/resources/schema
 project.status=status.xml
 project.xdocs-dir=src/documentation/content/xdocs
@@ -33,9 +33,9 @@
 project.skins-dir=src/documentation/skins
 project.i18n=true
 project.catalog=src/documentation/resources/schema/catalog.xcat
-project.site-dir=C\:\\neeraj\\spl\\website\\build\\site\\en
+project.site-dir=C\:\\neeraj\\spl\\workspace\\imperius-final\\site\\build\\site\\en
 project.site=site
 project.raw-content-dir=src/documentation/content
 project.content-dir=src/documentation
 project.logkitfile=C\:\\neeraj\\downloads\\apacheprojects\\apache-forrest-0.8\\main\\webapp/WEB-INF/logkit.xconf
-project.home=C\:\\neeraj\\spl\\website
+project.home=C\:\\neeraj\\spl\\workspace\\imperius-final\\site

Modified: incubator/imperius/site/src/documentation/content/xdocs/community/contribute.xml
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/community/contribute.xml?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
--- incubator/imperius/site/src/documentation/content/xdocs/community/contribute.xml (original)
+++ incubator/imperius/site/src/documentation/content/xdocs/community/contribute.xml Mon Jan 14 23:05:56 2008
@@ -48,16 +48,28 @@
       After the installation make sure that the mvn, ant, java and svn executables are in the search path (e.g. %PATH%). 
       Then follow the steps below to build the particular SPL binding you need.
       </p>
-	      <section id="bulidjavaspl">
-		      <title>Building Imperius with Java binding (JavaSPL)</title>
+	   <section id="bulidjavaspl">
+	   <title>Building Imperius with Java binding (JavaSPL)</title>
 			      <p>
 				     Once you have installed these three applications, simply download the 
 				     <a href="http://svn.apache.org/viewvc/incubator/imperius/trunk/build.xml?view=co">build </a> file to a directory where you'd like to create the 
 				     Imperius distribution and run ant from that directory. The build will use the Subversion client to pull down the latest files from the 
 				     Imperius repository (subsequent runs of the build will use your local copy of the files). When the build is complete, you can find the distribution
-				     archives in /dist.
-				        
-				</p>
+				     archives in /dist. 
+	  			  </p>
+
+		</section>
+		<section id="buildeditor">
+		<title> Build the SPL Editor </title>
+			<p>	To build the SPL Editor: </p>
+		  	<ol>
+		  		<li> First configure the maven repository with	eclipse plugins. 
+		  		To do this on a command prompt run 		  	
+		  		<strong> mvn eclipse:make-artifacts -DeclipseDir= &lt; ECLIPSE_HOME &gt; </strong>
+		  		</li>
+		  		<li> Make sure ANTLR_HOME is set </li>
+		  		<li> Run <strong> ant all </strong> to build both the runtime and the site </li>
+		  	</ol>
 		</section>
     </section>
     <section id="eclipsedev">

Modified: incubator/imperius/site/src/documentation/content/xdocs/docs/getting_started.xml
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/docs/getting_started.xml?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
--- incubator/imperius/site/src/documentation/content/xdocs/docs/getting_started.xml (original)
+++ incubator/imperius/site/src/documentation/content/xdocs/docs/getting_started.xml Mon Jan 14 23:05:56 2008
@@ -57,7 +57,6 @@
 	</section>
 	<section id="createpolicy_javaspl">
 		<title>My First SPL Policy</title>
-		
 		<section id="anchorclass_javaspl">
 			<title>Anchor Class</title>
 			<p> Every SPL policy needs to import atleast one anchor class. The anchor class encapsulates the state of system being managed using SPL policies.

Added: incubator/imperius/site/src/documentation/content/xdocs/docs/javaspl_user_guide.xml
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/docs/javaspl_user_guide.xml?rev=612032&view=auto
==============================================================================
--- incubator/imperius/site/src/documentation/content/xdocs/docs/javaspl_user_guide.xml (added)
+++ incubator/imperius/site/src/documentation/content/xdocs/docs/javaspl_user_guide.xml Mon Jan 14 23:05:56 2008
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document>
+  <header>
+    <title>User Guide</title>
+  </header>
+  <body>
+    <section id="Introduction">
+      <title>Introduction</title>
+      <p>
+        Coming Soon!
+      </p>
+    </section>
+     </body>
+</document>

Propchange: incubator/imperius/site/src/documentation/content/xdocs/docs/javaspl_user_guide.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/imperius/site/src/documentation/content/xdocs/docs/spl_editor_guide.xml
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/docs/spl_editor_guide.xml?rev=612032&view=auto
==============================================================================
--- incubator/imperius/site/src/documentation/content/xdocs/docs/spl_editor_guide.xml (added)
+++ incubator/imperius/site/src/documentation/content/xdocs/docs/spl_editor_guide.xml Mon Jan 14 23:05:56 2008
@@ -0,0 +1,231 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document>
+  <header>
+    <title>SPL Editor Guide</title>
+  </header>
+  <body>
+    <section id="Introduction">
+      <title>Introduction</title>
+      <p>
+        The SPL Policy editor is an Eclipse based text editor that expedites authoring and validation of SPL policies.
+        The SPL editor greatly simplifies the process of creating policies with the help of policy templates, 
+        auto-completion and expression list prompting. SPL editor also allows easy import and export of policies.
+        
+      </p>
+      
+      <p>
+      	Some of the salient features of the SPL Editor include:
+      </p>	
+	  	<ul>
+			<li> Policy authoring </li>
+			<li> Policy Import/Export </li> 
+		    <li> Customizable syntax highlighting.</li>
+			<li> Policy outline view for quick policy navigation </li>
+			<li> Error location indication </li>
+			<li> Automatic syntax and semantic validation </li>
+			<li> Statement auto-completion. </li>
+			<li> Policy Execution.</li>
+			<li> Policy execution simulation </li>
+		</ul>	
+      	
+      
+    </section>
+    <section id="getting_started">
+    <title> Getting Started </title>
+    	<section id="prereqs">
+    	<title> Prerequisites </title>
+    	<p>
+    		To use the JavaSPL editor you will first need to download and install 
+    		<a href="http://www.eclipse.org/downloads">eclipse platform 3.3 or later </a> 
+    		and <a href="http://www.eclipse.org/downloads"> EMF 2.3 or later </a>
+    	</p>
+    	</section>
+    	
+    	<section id="download_editor">
+    	<title> Download or build the SPL Editor </title>
+    	<p>
+    		Download and extract <a href="http://incubator.apache.org/imperius/downloads.html"> JavaSPLEditor.zip </a>
+    		to a temporary location. You can also <a href="http://incubator.apache.org/imperius/community/contribute.html"> Build the editor from source </a>
+    	</p>
+    
+    	</section>
+    	<section id="installation">
+    	<title> Install the Editor </title>
+    	
+    	
+    		<ol>
+    			<li> Start Eclipse. Choose the menu option: <strong> Help / Software Update / Find and Install </strong>. 
+    			    <img src="../images/installupdate.png" alt="Icon"/>
+    			</li>
+    			<li> Select the checkbox: <strong> Search for new features to install </strong> and press the 
+    				<strong> Next </strong> button.
+    				<img src="../images/newfeaturetoinstall.png" alt="Icon"/>
+    			</li>
+    			 
+    			 <li> From the dialog <strong> Update sites to visit </strong> press the button 
+    			 	<strong> New Local Site </strong>. 
+    			 </li>
+    			 <li>	
+    			 	Select the folder where the <a href="http://incubator.apache.org/imperius/downloads.html"> SPLEditor.zip </a>
+    			 	has been extracted and Enter <strong> Policy Editor </strong> in the <strong> Name </strong>  field. 
+    			 	Press the  <strong> OK </strong> button.
+    			 	<img src="../images/newlocalsite.png" alt="Icon"/>
+    			 </li>
+    			 <li> Select the checkbox <strong> SPL Editor </strong> and click the <strong> Next </strong> for the
+    			 following pages. You may need to restart eclipse
+    			 <img src="../images/selectfeature.png" alt="Icon"/>
+    			 </li>
+    			  <li> Verify that the SPL Editor has been installed by clicking on 
+    			 <strong> File / Project / New / SPL Project.</strong>
+    			 </li>
+    		
+    		</ol>
+    	
+    	
+    	
+    	</section>
+    </section>
+    <section id="use_editor">
+    <title> Using the Editor </title>
+    	<section id="create_spl_project">
+    	<title> Create SPL Project </title>
+    		
+    		
+    			<ol>
+    				<li> Launch Eclipse and Select <strong> File / New / Project </strong> from the Eclipse main menu and
+    					expand the <strong> Policy </strong> folder.
+					<img src="../images/newpolicyproject.png" alt="Icon"/>
+					</li>
+					<li> Select the <strong> SPL Project </strong> and click <strong> Next </strong>. </li>
+					<li> Enter a Name for your project </li>
+					<li> Your new SPL Editor is now ready for use </li> 
+    			
+    			</ol>	
+    	
+    		
+    	</section>
+    	<section id="create_spl_policy">
+    	<title> Create a SPL Policy </title>
+    		
+    		
+    			<ol>
+    				<li> Right-click on the project in the <strong> Navigator </strong> view </li>
+    				<li> Select <strong> New -> File </strong> to display the <strong> New File </strong> dialog box, 
+    				expand the <strong> Policy </strong> folder and Select <strong> SPL Policy </strong> option and 
+    				click <strong> Next </strong>.
+    				<img src="../images/newpolicy.png" alt="Icon"/> 
+    				</li>
+    				<li> Enter a name for the source file in the File name field and click <strong> Next </strong> </li>
+					<li> Choose from one of the built-in policy templates and click <strong> Finish </strong> 
+					</li> 
+					<li> Replace the &lt; &gt; template sections of the generated policy appropriately </li>
+					<li> Save the policy (Ctrl+s) </li>
+					
+    			</ol>
+    		
+    	
+    	</section>
+    	<section id="import_spl_policy">
+    	<title> Import a SPL Policy </title>
+    		
+    		<ol>
+    			<li> Right click on the SPL project where the policy is to be imported and click on 
+    			<strong> Import </strong>. Optionally, you could do <strong> File -> Import </strong>
+    			<img src="../images/importpolicy1.png" alt="Icon"/>   
+    			</li>
+    			<li> Select <strong> Policy -> SPL Policy </strong> and click <strong> Next </strong> </li>
+    			<li> Make sure the <strong> Policy Binding </strong> is set to <strong> Java </strong> 
+    			and browse the local file system for the directory where the policy file resides
+    			<img src="../images/importpolicy2.png" alt="Icon"/>  
+    			</li>
+    			<li> A list of polices will be displayed in the text box below. Select the ones you 
+    			would like to import </li>
+    			<li> Set the <strong> Destination </strong> to project where the policy needs to be imported </li>
+    			<li> Finally, click on <strong> Finish </strong> </li>
+    			<li> Double-click on the policy to open it into the editor </li>
+    			    			
+    		</ol>
+    	</section>
+    	<section id="editing_spl_policy">
+    	<title> Editing a SPL Policy </title>
+    	<p> <img src="../images/spleditor.png" alt="Icon"/> </p>
+    	<ul> 
+    		<li> To access anchor object members, after the instance name, simply 
+    			type ‘.’ and a drop down list with the properties and methods will appear.
+    			   
+    		</li>	
+			<li> To access built-in and custom operators and actions list type Ctrl + space. 
+				 A drop down list with all supported operators and actions will appear.
+				    
+			</li>
+			<li> An outline view on the right enables users to quickly navigate the policy file.
+				  
+			</li>
+			<li> If syntax or semantic errors exist then they will be displayed in the problems pane 
+			at the bottom.  </li>
+    	</ul>			
+    	</section>
+    	<section id="using_customexpressions">
+    	<title> User-Defined Expressions </title>
+    		<p> SPL allows users to add custom actions or expressions to the runtime. 
+    		The Editor needs to be configured to recognize these custom expressions. 
+    		</p>
+    		<ol>
+    			<li> Right click on the project and select <strong> Properties </strong>. 
+    				This opens a dialog box.
+    			</li>
+    			<li> Expand the <strong> policy </strong> option and either select 
+    				add custom jar or delete the custom jar to the project 
+    			</li>
+    			<li> Browse the local filesystem and select the jar file that contains the
+    				custom expressions classes and the customexpressions.properties.(Refer the
+    				User Guide).
+    				<img src="../images/addcustom.png" alt="Icon"/> 
+    			</li>
+    			<li> The list of classes inside the jar will get displayed. Click <strong> Apply </strong>
+    				to add the jars to the classpath and register the custom expressions.
+    			</li>	
+    			<li> Clicking Ctrl + space in the policy section should display the newly added custom
+    				expressions in the drop-down list 
+    			</li>	
+    			<li> To delete the custom expressions from the runtime use the 
+    			<strong> Delete Custom Jar </strong> option in the <strong> Properties </strong>
+    			panel. 
+    			<img src="../images/removecustom.png" alt="Icon"/>  
+    			</li>
+    			
+    	
+    		</ol>
+    	</section> 
+    	<section id="customizing_editor">
+    	<title> Customizing the SPL Editor </title>
+    	<p> <img src="../images/customizeeditor.png" alt="Icon"/> </p>
+    	<p>
+    		The SPL Policy editor allows users to customize the syntax highlighting. 
+    		From the main menu select <strong> Window->Preferences </strong> to show preferences 
+    		dialog box. Expand the <strong> Policy </strong> node on left and click on 
+    		<strong> Policy Editor </strong>. 
+    	</p>
+    	</section>
+    </section>	
+    
+    
+   </body>
+</document>

Propchange: incubator/imperius/site/src/documentation/content/xdocs/docs/spl_editor_guide.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/imperius/site/src/documentation/content/xdocs/images/Thumbs.db
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/Thumbs.db?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
Binary files - no diff available.

Added: incubator/imperius/site/src/documentation/content/xdocs/images/addcustom.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/addcustom.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/addcustom.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/apachimp.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/apachimp.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/apachimp.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/customizeeditor.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/customizeeditor.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/customizeeditor.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/finishfeatureinstall.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/finishfeatureinstall.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/finishfeatureinstall.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/importpolicy1.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/importpolicy1.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/importpolicy1.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/importpolicy2.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/importpolicy2.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/importpolicy2.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/installupdate.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/installupdate.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/installupdate.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/newfeaturetoinstall.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/newfeaturetoinstall.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/newfeaturetoinstall.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/newlocalsite.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/newlocalsite.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/newlocalsite.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/newpolicy.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/newpolicy.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/newpolicy.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/newpolicyproject.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/newpolicyproject.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/newpolicyproject.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/removecustom.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/removecustom.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/removecustom.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/selectfeature.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/selectfeature.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/selectfeature.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/imperius/site/src/documentation/content/xdocs/images/spleditor.PNG
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/images/spleditor.PNG?rev=612032&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/imperius/site/src/documentation/content/xdocs/images/spleditor.PNG
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: incubator/imperius/site/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/incubator/imperius/site/src/documentation/content/xdocs/site.xml?rev=612032&r1=612031&r2=612032&view=diff
==============================================================================
--- incubator/imperius/site/src/documentation/content/xdocs/site.xml (original)
+++ incubator/imperius/site/src/documentation/content/xdocs/site.xml Mon Jan 14 23:05:56 2008
@@ -50,7 +50,8 @@
 </download>
   <documentation label="Documentation" href="docs/" tab="documentation">
       <gettingstarted label="Getting Started" href="getting_started.html" description="Get Started"/>
-      <usersguide label="User Guide" href="docs.html#user_guide" description="User Guide"/>
+      <usersguide label="JavaSPL User Guide" href="javaspl_user_guide.html" description="User Guide"/>
+      <editorguide label="SPL Editor Guide" href="spl_editor_guide.html" description="Editor Guide"/>
   </documentation>
   <community label="Community" href="community/" tab="community">
       <contact label="Mailing-Lists" href="mail-lists.html" description="Mailing Lists"/>



Mime
View raw message