Good Evening Adam

 

that is exactly what i do for the tomcat startup

 

//expand the classes to a temp folder

cd /tmp

jar -xvf JarWhichContainsAllClasses

//now find the main class

grep -S -l main *

 

whichever jar comes back *is* the  class which contains the main method which 
is eiligble for java -jar e.g.


java -jar eligible.jar

 

Nota Bene: Make sure the jar (and any dependent classes) are on the classpath 
BEFORE 

you launch java at shell or in ant task

 

Greetings from The State Of Unemployment!
Martin Gainty 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité


 
Ez az üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy 
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése 
nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi 
alkalmazhatósága sincs.  Mivel az electronikus üzenetek könnyen 
megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet 
tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 

> Subject: Re: http request handling
> From: adam.legg...@upco.co.uk
> To: rob...@eridan.net
> CC: user@ant.apache.org
> Date: Wed, 24 Mar 2010 13:17:17 +0000
> 
> Use the <java> task maybe?
> 
> <java jar="${jetty.home}/start.jar" fork="true" dir="${jetty.home}">
> [...]
> </java>
> 
> On Wed, 2010-03-24 at 14:06 +0100, Robert Kirkpatrick wrote:
> > Is there a task supporting the handling of *http requests *with *ant*, 
> > using an embedded http server like *jetty*?
> > Seen the good work of Jakub Pawlowicz on the ant jetty plugin, but no 
> > answer to my basic question...
> > Has anyone tried that?
> > Tx,
> > Robert
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> > For additional commands, e-mail: user-h...@ant.apache.org
> > 
> -- 
> Adam Leggett
> Chief Architect
> Mike CI - Hosted Continuous Integration
> http://mikeci.com
> 
> https://twitter.com/builtbyadam
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
> 
                                          
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_1

Reply via email to