<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
Re: Thoughts on filesystem action driven hot deployment
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/ssilvert">Stan Silvert</a> in <i>JBoss AS7 Development</i> - <a href="http://community.jboss.org/message/593521#593521">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Guys, I'm sorry if I sounded overly-critical yesterday.  I realize that I've only been working on AS7 a few weeks while some of you have been putting in long hours on it for months and months.  There's a lot of really great stuff in AS7 but I don't think we want the user's first impression to be a turn-off.  I've seen this sort of thing kill great software in the past and we really, really need to get it right.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>So I ask you to take advantage of my perspective here, which is as one who is coming to the product with little knowlege of how or why certain decisions were made.  I just want to deploy something.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>So this morning I downloaded the beta and tried to do just that.  I tried to deploy something.  I see the README file that talks about "dodeploy" files.  So my earlier criticism about how I would know about it is somewhat alleviated.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>But here is how it turned out:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>1) Download AS</p><p>2) Drop my WAR in standalone/deployments  </p><p>3) Start AS</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Nothing happens.  Decide it's time to look at the README.  (BTW, the README says "/deployment" but the dir name is plural "/deployments")</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>1) Create a "dodeploy" file.</p><p>2) Start AS</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Nothing happens.  I notice that my dodeploy file name is misspelled.  The WAR name is a little long and complicated, so that's not surprising.  But I'm annoyed at the fact that I had to type it and now I have to fix it.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>1) Fix the file name</p><p>2) Start AS</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Nothing happens except that I get this warning:</p><pre class="jive-pre"><code class="jive-code">09:08:26,174 WARN  [org.jboss.as.deployment] (pool-6-thread-1) Deployment of 'C:
\jboss-7.0.0.Beta1\standalone\deployments\mojarra2.0-notbundled.war.dodeploy' re
quested, but the deployment is not present
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>But I know the deployment is there!  Maybe I should touch the dodeploy.  I can't do that from Explorer so I have to open a command prompt.  There is no "touch" command on Windows, but luckily I have Cygwin in my path for just such occasions.  Woops!  I can't touch what isn't there.  My dodeploy file is gone!!  Where did it go?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Let's take the README a more literally.  Instead of creating a dodeploy file and starting the server, let's try starting the server and actually issuing the touch command from the command prompt.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>1) Start AS</p><p>2) cd to standalone/deployments</p><p>3) touch my-long-funky-war-name.war.dodeploy</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>It finally deploys!!</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Pretending that I'm a developer seeing AS7 for the first time, what's my impression?  Love the quick boot time.  Hate the deployment mechanism.  Fix the latter and I'm very, very happy.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Stan</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/593521#593521">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss AS7 Development at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>