You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by anderson1lee <an...@gmail.com> on 2013/05/09 08:00:34 UTC

Is there a way to see the result immediately after a modification has been made?

I am new to openmeetings and please forgive me for having to ask this elementary question.
After I have modified a lzx or a java file, is there a way to see the result in the browser immediately like 
other j2ee developing with a pre-defined server in eclipse? Or I have to run ant build every time?
thanks a lot for any help.




anderson1lee

Re: Is there a way to see the result immediately after a modification has been made?

Posted by Maxim Solodovnik <so...@gmail.com>.
Some changes in Java files can be hotswapped in debug mode.
Also you can use jrebel for this.

I know no way to see changes in lzx files immediately.
On May 9, 2013 1:01 PM, "anderson1lee" <an...@gmail.com> wrote:

> I am new to openmeetings and please forgive me for having to ask this
> elementary question.
> After I have modified a lzx or a java file, is there a way to see the
> result in the browser immediately like
> other j2ee developing with a pre-defined server in eclipse? Or I have to
> run ant build every time?
> thanks a lot for any help.
>
>
>
>
> anderson1lee

Re: Re: Is there a way to see the result immediately after a modification has been made?

Posted by Maxim Solodovnik <so...@gmail.com>.
OK, I'll try to be more detailed

1) I know no way to see changes in lzx files immediately. In other words
from my point of view it is impossible to see changes in lzx files
immediately

2) Things are better with JAVA files
If you will attach java debugger to running OM you will be able to change
JAVA files and immediately see the changes. (only some changes due to JAVA
hot swapping limitations)
You can install JRebel plugin to your IDE and it will allow you to make
more _immediate_ changes

To avoid files being dropped after recompiling and to not perform install
you need to:
1) run "ant client.only" to recompile lzx files only (NO OM restart is
required in this case)
2) run "ant jar.only" to recompile java files only (OM restart is
_required_)

hope this help
Some changes in Java files can be hotswapped in debug mode.

Also you can use jrebel for this.

I know no way to see changes in lzx files immediately.


On Fri, May 10, 2013 at 11:00 AM, anderson1lee <an...@gmail.com>wrote:

> Thanks.
> I'm not good at English and I didn't ask my question clearly.
> I will try to describe it clearly.
> If I have modified some code, I run ant to build openmeeting which
> takes about three mimutes. The dist directory will be cleard
> and a new distribution will be put under it.
> I enter the dist directory and start red5. Then I visit
> http://localhost:5080/openmeetings/install to do the installation.
> After that I can do some test.
> Do I have to do things above every time I modify some code? Since the
> dist directory will be deleted and a brand new distribution will be
> put there, it seems I have to do the installation again. It would be
> difficult for me.
> thanks for any help.
>
>
>
>
> anderson1lee
>
> From: Alexei Fedotov
> Date: 2013-05-09 15:58
> To: dev; anderson1lee
> Subject: Re: Is there a way to see the result immediately after a
> modification has been made?
> I think you should run ant every time
> On May 9, 2013 10:01 AM, "anderson1lee" <an...@gmail.com> wrote:
>
> I am new to openmeetings and please forgive me for having to ask this
> elementary question.
> After I have modified a lzx or a java file, is there a way to see the
> result in the browser immediately like
> other j2ee developing with a pre-defined server in eclipse? Or I have to
> run ant build every time?
> thanks a lot for any help.
>
>
>
>
> anderson1lee




-- 
WBR
Maxim aka solomax

Re: Re: Is there a way to see the result immediately after a modification has been made?

Posted by anderson1lee <an...@gmail.com>.
Thanks. 
I'm not good at English and I didn't ask my question clearly.
I will try to describe it clearly.
If I have modified some code, I run ant to build openmeeting which
takes about three mimutes. The dist directory will be cleard 
and a new distribution will be put under it.
I enter the dist directory and start red5. Then I visit
http://localhost:5080/openmeetings/install to do the installation.
After that I can do some test.
Do I have to do things above every time I modify some code? Since the
dist directory will be deleted and a brand new distribution will be
put there, it seems I have to do the installation again. It would be
difficult for me.
thanks for any help.




anderson1lee

From: Alexei Fedotov
Date: 2013-05-09 15:58
To: dev; anderson1lee
Subject: Re: Is there a way to see the result immediately after a modification has been made?
I think you should run ant every time
On May 9, 2013 10:01 AM, "anderson1lee" <an...@gmail.com> wrote:

I am new to openmeetings and please forgive me for having to ask this elementary question.
After I have modified a lzx or a java file, is there a way to see the result in the browser immediately like
other j2ee developing with a pre-defined server in eclipse? Or I have to run ant build every time?
thanks a lot for any help.




anderson1lee

Re: Is there a way to see the result immediately after a modification has been made?

Posted by Alexei Fedotov <al...@gmail.com>.
I think you should run ant every time
On May 9, 2013 10:01 AM, "anderson1lee" <an...@gmail.com> wrote:

> I am new to openmeetings and please forgive me for having to ask this
> elementary question.
> After I have modified a lzx or a java file, is there a way to see the
> result in the browser immediately like
> other j2ee developing with a pre-defined server in eclipse? Or I have to
> run ant build every time?
> thanks a lot for any help.
>
>
>
>
> anderson1lee