added some code, not perfect and i think you'll need to tweak it a bit but the logic should be here
- Romain 2012/6/6 Thiago Veronezi <[email protected]> > Hi Romain, > > I created the skeleton of the new gui deployment feature. > > When you upload a file from the new "Apps" tab, the system calls this > servlet: > > http://svn.apache.org/viewvc/openejb/trunk/openejb/tomee/tomee-webapp/src/main/java/org/apache/tomee/webapp/servlet/DeployServlet.java?view=markup&pathrev=1346948 > > > Note that the "path" attribute is the full file path. From there you can > deploy your application. Can you complete that class? I will continue with > the client side this evening. I still have a lot to do, but I think it is > going pretty well. > > []s, > Thiago. > > > On Tue, Jun 5, 2012 at 6:48 PM, Romain Manni-Bucau <[email protected] > >wrote: > > > Thanks! > > > > - Romain > > > > > > 2012/6/6 Thiago Veronezi <[email protected]> > > > > > Sure... > > > I will do it right away. > > > > > > []s, > > > Thiago. > > > > > > On Tue, Jun 5, 2012 at 6:25 PM, Romain Manni-Bucau < > > [email protected] > > > >wrote: > > > > > > > @Thiago: i know you are busy with the tree but could you add a > "deploy" > > > tab > > > > where we can deploy either from an upload or from a string > > > > (mvn:gId/aId/version/war for instance)? > > > > > > > > - Romain > > > > > > > > > > > > 2012/5/29 Thiago Veronezi <[email protected]> > > > > > > > > > Probably is better to keep the simple again. Simple html and with > > > > > javascript is straightforward for me... and it may be simpler for > > > getting > > > > > help from the community. > > > > > Thanks, > > > > > Thiago. > > > > > > > > > > > > > > > On Tue, May 29, 2012 at 8:40 AM, dsh < > [email protected]> > > > > > wrote: > > > > > > > > > > > Concerning long-polling (Comet, WebSockets etc. pp), depending on > > the > > > > > > framework you use the actual polling implementation is getting > > > > > > abstracted. So the user would get the impl depending on the > > > > > > capabilities provided by the browser and you on the other hand > > would > > > > > > not need to worrie about such technical details. I know Dojo does > > > such > > > > > > abstraction... not sure about jQuery... > > > > > > > > > > > > PS: The Mockup reminds me very much about the Eclipse > > > perspective/view > > > > > > concept. Probably using Eclipse RAP for the UI would be an > > > > > > overkill/unsuitable but there you would get such UI > > > > > > lay-outing/structuring mechanisms for free :) > > > > > > > > > > > > Cheers > > > > > > Daniel > > > > > > > > > > > > On Tue, May 29, 2012 at 2:27 PM, Thiago Veronezi < > > > [email protected]> > > > > > > wrote: > > > > > > > Yes, It makes more sense, otherwise it would be very hard to > read > > > the > > > > > > > log... which doesn't make sense. :O) > > > > > > > > > > > > > >>> Will it be a live log viewer where new log entries are > floating > > > in > > > > > > > similar to digg.com? > > > > > > > Yes. For that I plan to use long-polling (something I have > > > experience > > > > > > > with), but websockets are the perfect alternative if we have > this > > > > > feature > > > > > > > available at the server side. > > > > > > > > > > > > > > I created another mockup with a new position for the log panel > > and > > > > two > > > > > > > extra panels (MDB and Webservices): > > > > > > > http://dl.dropbox.com/u/1459144/tomee_v2.png > > > > > > > > > > > > > > What you guys think? > > > > > > > > > > > > > > Thanks for the feedback! > > > > > > > []s, > > > > > > > Thiago. > > > > > > > > > > > > > > On Tue, May 29, 2012 at 5:27 AM, dsh < > > > [email protected]> > > > > > > wrote: > > > > > > > > > > > > > >> One thought concerning the log view - maybe it would make > sense > > to > > > > > > >> have it at the bottom where it could span the entire screen so > > log > > > > > > >> messages can be digested easier. Will it be a live log viewer > > > where > > > > > > >> new log entries are floating in similar to digg.com? > > > > > > >> > > > > > > >> Cheers > > > > > > >> Daniel > > > > > > >> > > > > > > >> On Tue, May 29, 2012 at 1:19 AM, Thiago Veronezi < > > > > [email protected] > > > > > > > > > > > > >> wrote: > > > > > > >> > Guys, > > > > > > >> > I need your feedback about what I have in mind for the new > > > webapp. > > > > > > >> > Basically I want to replace all the pages we have by a new > one > > > > which > > > > > > will > > > > > > >> > give the user the access to a script console, the jndi tree > > and > > > > the > > > > > > tomee > > > > > > >> > log file. > > > > > > >> > Please check the mockup I created for it: > > > > > > >> > http://dl.dropbox.com/u/1459144/tomee_webapp.png > > > > > > >> > > > > > > > >> > What do you think? > > > > > > >> > > > > > > > >> > Thanks, > > > > > > >> > Thiago. > > > > > > >> > > > > > > > > > > > > > > > > > > > > >
