| <html><head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
| <title>8. Developing Plans</title><link rel="stylesheet" href="css/stylesheet.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"><link rel="home" href="index.html" title="Virgo Tools Guide"><link rel="up" href="index.html" title="Virgo Tools Guide"><link rel="prev" href="ch07s05.html" title="7.5 Migration actions"><link rel="next" href="ch08s02.html" title="8.2 Discovery of Plan files in the workspace"><!--Begin Google Analytics code--><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-2728886-3"); | |
| pageTracker._setDomainName("none"); | |
| pageTracker._setAllowLinker(true); | |
| pageTracker._trackPageview(); | |
| </script><!--End Google Analytics code--></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">8. Developing Plans</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch07s05.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ch08s02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="plans"></a>8. Developing Plans</h2></div></div></div><p>In Virgo, applications consisting of multiple bundles can be declared using one or more Plans. | |
| </p><p> | |
| To create a Plan project, right-click in the | |
| <span class="emphasis"><em>Package Explorer</em></span> | |
| and select | |
| <span class="guimenu">New</span> → <span class="guimenuitem">Project…</span> | |
| . In the dialog that opens select | |
| <span class="guimenu">Virgo</span> → <span class="guimenuitem">Plan Project</span> | |
| and press | |
| <span class="emphasis"><em>Next</em></span> | |
| : | |
| </p><div class="mediaobject" align="center"><img src="images/new-plan-project.png" align="middle"></div><p> | |
| </p><p> | |
| In the New Plan Project dialog, enter a suitable name for the project, set the location to a suitable directory, and press | |
| <span class="emphasis"><em>Next</em></span> | |
| </p><p> | |
| In the next wizard page, you can optionally specify a Plan name to also have a Plan file created for you by the wizard. | |
| </p><p> | |
| When creating additional Plan files, make sure you place them within the source folder. | |
| You can now add Plan files to the Virgo Runtime in Eclipse via the usual add/remove dialog or by means of drag and drop. | |
| </p><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="planBenefits"></a>8.1 Benefit of using Plan files</h2></div></div></div><p> | |
| Plan projects and plan files can be used as an alternative to adding individual bundles to the test environment integrated in Eclipse. | |
| The main benefits of using Plan files are: | |
| </p><div class="itemizedlist"><ul type="disc"><li><p> | |
| Plan files can be more easily shared with coworkers and/or committed to a source code repository | |
| </p></li><li><p> | |
| It may be more convenient to re-order the content of a Plan file using the Eclipse text editor than editing artefact ordering in the Server Editor | |
| </p></li><li><p> | |
| Plan files can be composed of other plan files | |
| </p></li><li><p> | |
| Items in Plan files will be picked either from the workspace or from the configured bundle repositories | |
| </p></li><li><p> | |
| Using Plan files in the test environment is more representative of the production deployment | |
| </p></li></ul></div><p> | |
| </p></div></div><!--Begin LoopFuse code--><script src="http://loopfuse.net/webrecorder/js/listen.js" type="text/javascript"></script><script type="text/javascript"> | |
| _lf_cid = "LF_48be82fa"; | |
| _lf_remora(); | |
| </script><!--End LoopFuse code--><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch07s05.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ch08s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">7.5 Migration actions </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 8.2 Discovery of Plan files in the workspace</td></tr></table></div></body></html> |