Skip to main content

Source code file content

Revision: 67

Updated for version 2.0.1
» Project Revision History

» Checkout URL

svn / trunk / www / install.html

Size: 15007 bytes, 1 line
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- InstanceBegin template="/Templates/portalpack.dwt" codeOutsideHTMLIsLocked="false" -->


  
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->


  



  
  <title>Installation of Plugins</title>
<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" -->
  <link href="style.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->


  
  <style type="text/css">
<!--
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
}
.oneColLiqCtrHdr #container {
width: 100%; /* this will create a container 80% of the browser width */
background: #FFFFFF; /* the auto margins (in conjunction with a width) center the page */
border: 1px solid #000000;
text-align: left; /* this overrides the text-align: center on the body element. */
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
}
.oneColLiqCtrHdr #header {
padding: 0 10px 0 20px;
}
.oneColLiqCtrHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.oneColLiqCtrHdr #mainContent {
padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
background: #FFFFFF;
}
.oneColLiqCtrHdr #footer {
padding: 0 10px;
} .oneColLiqCtrHdr #footer p {
margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.oneColLiqCtrHdr #container #header td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 26px;
font-weight: bold;
color: #024C9C;
}
.style1 {
font-size: 22px;
color: #024C9C;
}
#spotlights a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
text-decoration: none;
}
#spotlights a:visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
text-decoration: none;
}
#spotlights a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
text-decoration: none;
color: #FF0000;
}
-->
  </style>
</head>


<body class="oneColLiqCtrHdr">


<div id="container">
<div id="header">
<table border="0" cellpadding="5" cellspacing="5" width="100%">


  <tbody>


    <tr>


      <td width="19%"><a href="download.html"><img style="border: 0px solid ; width: 185px; height: 118px;" src="eclipse-portalpack-medium.png" alt="Eclipse Portal Pack" longdesc="https://eclipse-portalpack.dev.java.net" /></a></td>


      <td align="right" valign="middle" width="81%">
      
      <div align="left"><span class="style1">Creating
JSR-286/168 Portlets With Ease</span></div>


      </td>


    </tr>


  
  </tbody>
</table>


</div>


<div id="mainContent">
<p>&nbsp;</p>


<table border="0" cellpadding="5" cellspacing="5" width="100%">


  <tbody>


    <tr>


      <td width="70%"><!-- InstanceBeginEditable name="MainContent" -->
      <span class="mainContentHeader">Installation Of the
Plugins</span>
      
      <ol>


        <li class="mainListItem">Requirements</li>


        
        <ol>


          <li class="mainListItem">Eclipse Europa with
latest updates or Eclipse Ganymede or later</li>


          <li class="mainListItem"><a href="download.html">Eclipse Portal Pack 2.0.1</a><br />


            <br />


          </li>


        
        </ol>


        <li class="mainListItem">Installation</li>


        
        <blockquote>
          
          <p>Unzip the Eclipse Portal pack and copy the jar files
to &lt;ECLIPSE_HOME&gt;\plugins folder, and then restart
Eclipse
(if it was running when you copied the JARS).<br />


          </p>


        </blockquote>


      
      </ol>


      
      <p>&nbsp;</p>


      <span class="mainContentHeader">&nbsp;</span><span class="mainContentHeader">Using Portal Pack</span>
      
      <blockquote>
        
        <p>This section explains creating the runtime and server
and creating and deploying the portlets.<br />


        </p>


      </blockquote>


      
      <ol>


        
        <ol>


          <li class="mainListItem"><a href="#Creating_a_runtime_and_server">Creating a runtime and
server</a></li>


          
          <ol>


            <li class="mainListItem"><a href="#Creating_WebSynergy_Runtime_and_Server">WebSpace
Runtime and Server</a></li>


            <li class="mainListItem"><a href="#Creating_OpenPortal_PortletContainer">OpenPortal
PortletContainer
Runtime and Server</a></li>


          
          </ol>


          <li class="mainListItem"><a href="#Creating_and_Deploying_the_Portlet">Creating and
Deploying
the Portlet</a></li>


        
        </ol>


      
      </ol>


      
      <ol>


        <li class="mainListItem"><a name="Creating_a_runtime_and_server"></a>Creating a
runtime and server<br />


        </li>


        
        <ol>


          <li class="mainListItem"><a name="Creating_WebSynergy_Runtime_and_Server"></a>Creating
WebSpace
Runtime and Server</li>


          
          <blockquote>
            
            <p>In order to deploy on WebSpace first you need to
create the runtime and server for it.</p>


          </blockquote>


          
          <ol>


            <li class="mainListItem">do
Window-&gt;Preferences and click on "Installed Runtimes" &nbsp;<br />


              <br />


              <img style="width: 575px; height: 431px;" alt="Preferences" title="Preferences" src="images/preferences.jpg" /><br />


              <br />


            </li>


            <li class="mainListItem">Click on "Add" and
select "WebSpace" under "Sun Microsystems". <br />


Check the box for
"Also create new local server"<br />


              <br />


              <img style="width: 419px; height: 356px;" alt="WebSpace Server Runtime" title="WebSpace Server Runtime" src="images/webspace-server-runtime.jpg" /><br />
&nbsp;<br />


            </li>


            <li class="mainListItem">Click Next and enter
the location for GlassFish Home, if WebSpace is
installed in a different domain, enter the domain name, else accept the
default. Also enter the location for the WebSpace deploy directory.
Typically it will be "&lt;WebSpace-Install-Dir&gt;/var/webspace/deploy"
. This will create the WebSpace Runtime.<br />


              <br />


              <img style="width: 419px; height: 359px;" alt="WebSpace Runtime" title="WebSpace Runtime" src="images/webspace-runtime.jpg" /><br />


              <br />


            </li>


            <li class="mainListItem">Click Next
to&nbsp;enter the server address, port and debug port.&nbsp; Click on
Finish to create the WebSpace Server.<br />


              <br />


              <img style="width: 419px; height: 355px;" alt="WebSpace Server" title="WebSpace Server" src="images/webspace-server.jpg" /><br />


              <br />


              <br />


            </li>


          
          </ol>


          <li class="mainListItem"><a name="Creating_OpenPortal_PortletContainer"></a>Creating
OpenPortal
PortletContainer
Runtime and Server<br />


          </li>


          
          <blockquote>
            
            <p>In order to deploy on OpenPortal PortletContainer 2.x first you need to create the runtime and server for it.<br />


            </p>


          </blockquote>


          
          <ol>


            <li class="mainListItem">do
Window-&gt;Preferences and click on "Installed Runtimes"<br />


              <br />


              <img style="width: 575px; height: 431px;" alt="Preferences" title="Preferences" src="images/preferences.jpg" /><br />


              <br />


            </li>


            <li class="mainListItem">Click on "Add" and
select "OpenPortal Portlet Container 2.x" under "Sun Microsystems".
Check the box for "Also create new local server"<br />


              <br />


              <img style="width: 419px; height: 356px;" alt="PortletContainer Server Runtime" title="PortletContainer Server Runtime" src="images/ospc-server-runtime.jpg" /><br />


              <br />


            </li>


            <li class="mainListItem">Click Next and
enter
the location for GlassFish Home, if OpenPortal Portlet Container 2.x is
installed in a different domain, enter the domain name, else accept the
default. This will create the&nbsp;OpenPortal Portlet Container 2.x
Runtime.<br />


              <br />


              <img style="width: 419px; height: 356px;" alt="PortletContainer Runtime" title="PortletContainer Runtime" src="images/ospc-runtime.jpg" /><br />


              <br />


            </li>


            <li class="mainListItem">Click Next
to&nbsp;enter the server address, port and debug port.&nbsp; Click on
Finish to create the&nbsp;OpenPortal Portlet Container 2.x Server.<br />


              <br />


              <img style="width: 419px; height: 356px;" alt="PortletContainer Server" title="PortletContainer Server" src="images/ospc-server.jpg" /><br />


              <br />


              <br />


            </li>


          
          </ol>


          
          <ol>


          
          </ol>


        
        </ol>


        
        <ol>


          
          <ol>


          
          </ol>


          
          <ol>


          
          </ol>


        
        </ol>


        <li class="mainListItem"><a name="Creating_and_Deploying_the_Portlet"></a>Creating
and Deploying
the Portlet<br />


          <br />


        </li>


        
        <ol>


          <li class="mainListItem">do
File&gt;New&gt;Dynamic Web Project.&nbsp; You can fill-in
the name for your project.<br />


Set the Target Runtime as "WebSpace" or OpenPortal Portlet Container
2.x and the configuration as
"Portlet 2.0 Support" or "Portlet 1.0 Support".&nbsp;<br />


            <br />


Note: If you don't see Portlet 2.0 Support Click on "Modify" and Select
"Portal Pack" &nbsp;and save the configuration.<br />


            <br />


            <img style="width: 644px; height: 427px;" alt="New Portlet Project" title="New Portlet Project" src="images/new-portlet-project-webspace.jpg" /><br />


            <br />


And click on
Finish to create the web project. Now we need to add a portlet ino it.<br />


            <br />


          </li>


          <li class="mainListItem">Choose
File&gt;New&gt;Other,&nbsp; then select Portlet-&gt;
Java Portlet wizard.<br />


            <br />


            <img style="width: 422px; height: 400px;" alt="Java Portlet Wizard" src="images/new-portlet.png" /><br />


            <br />


            <br />


          </li>


          <li class="mainListItem">On this screen you can
enter the details of the portlet to be created.<br />


            <br />


            <br />


            <img style="width: 448px; height: 400px;" alt="New Portlet Class" src="images/new-portlet-class.png" /><br />


            <br />


            <br />


          </li>


          <li class="mainListItem">After clicking on
Finish, the portlet class will be created and an entry will be made in
portlet.xml<br />


            <br />


            <br />


            <img style="width: 297px; height: 400px;" alt="Created Portlet" src="images/created-portlet.png" /><br />


            <br />


            <br />


          </li>


          <li class="mainListItem">Now right click on the
project and do Run As&gt;Run On Server and
accept the default. It will deploy the portlet web application and
starts the target server(i.e either WebSpace or OpenPortal Portlet
Container)</li>


        
        </ol>


        <br />


        <span class="mainContentHeader"></span>
      
      </ol>


      </td>


      <td bgcolor="#ededff" valign="top" width="30%">
      
      <table id="spotlights" border="0" cellpadding="0" cellspacing="0" width="100%">


        <tbody>


          <tr>


            <td>
            
            <h5 align="center"><u>Project Highlights</u></h5>


            </td>


          </tr>


          <tr>


            <td align="left"><!-- InstanceBeginEditable name="newsEditable" --><strong>Latest
News</strong>
            
            <ul>


              <li><a href="download.html">Portal
Pack 2.0.1&nbsp; available for download</a></li>


            
            </ul>


<!-- InstanceEndEditable --></td>


          </tr>


          <tr>


            <td align="left"><!-- InstanceBeginEditable name="blogsEditable" --><strong>Blogs</strong>
            
            <ul>


              <li><a href="http://blogs.sun.com/portal/">The
Portal Post</a></li>


              <li><a href="http://blogs.sun.com/insidemyhead/">Sandeep
Soni's Blog</a></li>


              <li><a href="http://blogs.sun.com/deepakg">Deepak
Gothe's Blog</a></li>


            
            </ul>


<!-- InstanceEndEditable --></td>


          </tr>


          <tr>


            <td align="left"><!-- InstanceBeginEditable name="howtosEditable" --><strong>How
To's</strong>
            
            <ul>


              <li><a href="./install.html">Install
Instructions</a></li>


              <li><a href="./issues.html">Issues And
Important Notes</a></li>


            
            </ul>


<!-- InstanceEndEditable --></td>


          </tr>


          <tr>


            <td align="left"><!-- InstanceBeginEditable name="screencastEditable" --><strong>Screencasts</strong>
            
            <ul>


              <li>TBD</li>


            
            </ul>


<!-- InstanceEndEditable --></td>


          </tr>


        
        </tbody>
      
      </table>


      </td>


    </tr>


  
  </tbody>
</table>


<h1><!-- end #mainContent --> </h1>


</div>


</div>


<!-- Google Analytics Begin -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));</script>

<script type="text/javascript">var pageTracker = _gat._getTracker("UA-1068371-9");
pageTracker._trackPageview();
</script><!-- Google Analytics End -->
</body>
</html>
 
 
Close
loading
Please Confirm
Close