[Yanel-dev] Debugging

Michael Wechner michael.wechner at wyona.com
Mon Mar 22 11:18:11 CET 2010


Mehmet Birgi wrote:
> On Mon, Mar 22, 2010 at 10:20 AM, Michael Wechner
> <michael.wechner at wyona.com> wrote:
>   
>> Mehmet Birgi wrote:
>>     
>>> On Mon, Mar 22, 2010 at 9:46 AM, Michael Wechner
>>> <michael.wechner at wyona.com> wrote:
>>>
>>>       
>>>> Mehmet Birgi wrote:
>>>>
>>>>         
>>>>> I would like to add a parameter "debug" to the script yanel.sh that
>>>>> will start yanel in debug mode (by executing
>>>>> "local/apache-tomcat-5.5.20/bin/catalina.sh jpda start"). Any
>>>>> objections/ideas?
>>>>>
>>>>>
>>>>>           
>>>> default should be off
>>>>
>>>>         
>>> the way i thought of doing it (see below) would only do this if you
>>> entered ".../yanel.sh debug" (instead of e.g. ".../yanel.sh start")
>>>
>>>       
>> I would rather prefer something like
>>
>> ./yanel.sh --debug start
>>
>> or
>>
>> ./yanel.sh -d start
>>     
>
> afaics, this could be done either by modifying the target
> "startup-tomcat-unix" in
> ".../src/build/targets/cruise-control/continuous-integration.xml", or
> adding an additional target in "src/build/build.xml", while i would
> prefer the second option. wdyt?
>   

I am not sure I understand. Maybe it's best if you make a patch of what 
you would like to do and add it to bugzilla for review.

Thanks

Michi



More information about the Yanel-development mailing list