[Yanel-dev] Debugging
Michael Wechner
michael.wechner at wyona.com
Mon Mar 22 10:20:57 CET 2010
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
Thanks
Michi
>
>> Also you might want to think about making it configurable within
>> src/build/local.build.properties,
>> whereas you need to make sure that yanel.sh can be run from various
>> locations.
>>
>
> my idea was to make yanel.sh call ant with target "debug-yanel" which
> would be added to src/build/build.xml
>
> wdyt?
>
More information about the Yanel-development
mailing list