openmeetings-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andun Sameera <andun...@gmail.com>
Subject Re: Need some instructions to work with the code-base
Date Tue, 02 Apr 2013 07:38:31 GMT
That what I wanted. Thank You Very Much Maxim.



On Tue, Apr 2, 2013 at 1:06 PM, Maxim Solodovnik <solomax666@gmail.com> wrote:
> sure, same here:
>
> 1) build using ant (all components)
> 2) run from dist/red5
> 3) make changes
> 4) rebuild debug client only
> 5) reload browser
>
> in case of java changes:
> 1) build using ant (all components)
> 2) run from dist/red5
> 3) make changes
> 4) rebuild "ant jar.only"
> 5) restart from dist/red5
> 6) reload browser
>
>
>
> On Tue, Apr 2, 2013 at 2:33 PM, Andun Sameera <andunslg@gmail.com> wrote:
>
>> The background for my question was this. I have worked with products
>> are built on top of OSGi. There are lot of java packages loaded to run
>> the product. When we do a change in one of those packages what we did
>> was building the particular package and replacing the jar file in the
>> distribution. Not building the all product. I thought there will be
>> mechanism like that.
>>
>> Thnaks
>> AndunSLH
>>
>> On Tue, Apr 2, 2013 at 1:00 PM, Andun Sameera <andunslg@gmail.com> wrote:
>> > So that means I have to run the ant build script to bring this change
>> > to distribution. Will try it.
>> >
>> > Thanks
>> > AndunSLG
>> >
>> > On Tue, Apr 2, 2013 at 12:57 PM, Maxim Solodovnik <solomax666@gmail.com>
>> wrote:
>> >> after building updated OM is available in ..../singlewebapp/dist/red5
>> (you
>> >> can run it)
>> >> in case of flash changes you can leave red5 running and just reload the
>> >> browser
>> >>
>> >>
>> >> On Tue, Apr 2, 2013 at 2:15 PM, Andun Sameera <andunslg@gmail.com>
>> wrote:
>> >>
>> >>> Hi Maxim,
>> >>>
>> >>> I think there is small problem in userAdminValueForm, So I am changing
>> >>>
>> /singlewebapp/WebContent/src/modules/admin/useradmin/userAdminValueForm.lzx
>> >>> So how can I put that change to the OM distribution? I can create a
>> >>> new distribution by building uisng ant script. Is there a a short cut
>> >>> way?
>> >>>
>> >>> Thanks!
>> >>>
>> >>> On Tue, Apr 2, 2013 at 12:42 PM, Maxim Solodovnik <
>> solomax666@gmail.com>
>> >>> wrote:
>> >>> > to rebuild only debug client you can use
>> >>> > ant client.debug.only
>> >>> > or SWF8 debug
>> >>> > ant compile.laszlo.main.debug
>> >>> > of SWF11 debug
>> >>> > ant compile.laszlo.main.debug.as3
>> >>> >
>> >>> >
>> >>> >
>> >>> >
>> >>> > On Tue, Apr 2, 2013 at 2:07 PM, Andun Sameera <andunslg@gmail.com>
>> >>> wrote:
>> >>> >
>> >>> >> Hi Devs,
>> >>> >>
>> >>> >> On Mon, Apr 1, 2013 at 10:12 PM, Andun Sameera <andunslg@gmail.com>
>> >>> wrote:
>> >>> >> > Hi Devs,
>> >>> >> >
>> >>> >> > Currently I am looking at the
>> >>> >> > https://issues.apache.org/jira/browse/OPENMEETINGS-507.
I have
>> gone
>> >>> >> > through the code and found some suspicious place where
this bug
>> lies.
>> >>> >> > To work further more I need some help,
>> >>> >> >
>> >>> >> > -The normal way of building OM is via the ant script.
Say I have
>> done
>> >>> >> > a little change to a file(In this case
>> >>> >> >
>> >>> >>
>> >>>
>> /singlewebapp/WebContent/src/modules/admin/useradmin/userAdminValueForm.lzx)
>> >>> >> > how can I put that change to the distribution of OM. I
have a
>> local
>> >>> >> > red5 server setup with OM. Can I put this change to that
one
>> directly
>> >>> >> > without building via ant script?
>> >>> >> >
>> >>> >> > -If I want to debug a Openlaszlo page of OM, What is the
way to
>> get
>> >>> >> > the debugger window ? In maindebug.swf8.swf the debugger
is
>> enabled
>> >>> >> > default. In the main.lzx it has this kind of logic,
>> >>> >> >
>> >>> >> > <switch>
>> >>> >> >         <when property="$debug">
>> >>> >> >                 <method name="doDebugInit">
>> >>> >> >                         canvas.setAttribute('debug', true);
>> >>> >> >                 </method>
>> >>> >> >                 <debug fontsize="11"
>> >>> >> oninit="Debug.showInternalProperties = true"
>> >>> >> > width="40%" y="50%" x="0" height="50%" />
>> >>> >> >         </when>
>> >>> >> >         <otherwise>
>> >>> >> >                 <method name="doDebugInit">
>> >>> >> >                 </method>
>> >>> >> >         </otherwise>
>> >>> >> > </switch>
>> >>> >> >
>> >>> >> > So that means if we send a query parameter debug=true,
then the
>> >>> >> > debugger should come. It want work. So what is the correct
way?
>> >>> >>
>> >>> >> After going in to mail archives, I foudn the solution for this
>> >>> >> particular problem. By visiting
>> >>> >> http://localhost:5080/openmeetings/?swf=maindebug.as3.swf11.swf
we
>> can
>> >>> >> get the debugger.
>> >>> >>
>> >>> >> >
>> >>> >> > Thanks!
>> >>> >> >
>> >>> >> > --
>> >>> >> > Regards
>> >>> >> > Andun S.L. Gunawardana
>> >>> >> > Undergraduate
>> >>> >> > Department of Computer Science And Engineering
>> >>> >> > University of Moratuwa
>> >>> >> > Sri Lanka
>> >>> >> >
>> >>> >> > Blog - http://www.insightforfuture.blogspot.com/
>> >>> >> > LinkedIn -
>> >>> http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703
>> >>> >> > Twitter -http://twitter.com/AndunSLG
>> >>> >>
>> >>> >> Please help me for the first question.
>> >>> >>
>> >>> >> Thanks!
>> >>> >>
>> >>> >> --
>> >>> >> Regards
>> >>> >> Andun S.L. Gunawardana
>> >>> >> Undergraduate
>> >>> >> Department of Computer Science And Engineering
>> >>> >> University of Moratuwa
>> >>> >> Sri Lanka
>> >>> >>
>> >>> >> Blog - http://www.insightforfuture.blogspot.com/
>> >>> >> LinkedIn -
>> http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703
>> >>> >> Twitter -http://twitter.com/AndunSLG
>> >>> >>
>> >>> >
>> >>> >
>> >>> >
>> >>> > --
>> >>> > WBR
>> >>> > Maxim aka solomax
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> Regards
>> >>> Andun S.L. Gunawardana
>> >>> Undergraduate
>> >>> Department of Computer Science And Engineering
>> >>> University of Moratuwa
>> >>> Sri Lanka
>> >>>
>> >>> Blog - http://www.insightforfuture.blogspot.com/
>> >>> LinkedIn -
>> http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703
>> >>> Twitter -http://twitter.com/AndunSLG
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> WBR
>> >> Maxim aka solomax
>> >
>> >
>> >
>> > --
>> > Regards
>> > Andun S.L. Gunawardana
>> > Undergraduate
>> > Department of Computer Science And Engineering
>> > University of Moratuwa
>> > Sri Lanka
>> >
>> > Blog - http://www.insightforfuture.blogspot.com/
>> > LinkedIn - http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703
>> > Twitter -http://twitter.com/AndunSLG
>>
>>
>>
>> --
>> Regards
>> Andun S.L. Gunawardana
>> Undergraduate
>> Department of Computer Science And Engineering
>> University of Moratuwa
>> Sri Lanka
>>
>> Blog - http://www.insightforfuture.blogspot.com/
>> LinkedIn - http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703
>> Twitter -http://twitter.com/AndunSLG
>>
>
>
>
> --
> WBR
> Maxim aka solomax



-- 
Regards
Andun S.L. Gunawardana
Undergraduate
Department of Computer Science And Engineering
University of Moratuwa
Sri Lanka

Blog - http://www.insightforfuture.blogspot.com/
LinkedIn - http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703
Twitter -http://twitter.com/AndunSLG

Mime
View raw message