arron yes you are correct.  After you change the source code to reflect the new package, you will need to recompile that application.  Remember that it won't compile unless you have the other classes on the classpath.  You can use the command line to compile the application, but when programming in java, it makes much more sense to use an ide like eclipse.  I'm sorry that your not able to resolve this so easily.  I will make it a point to create a video tutorial on the process you speak of.  Just give me a couple of days and hang in there!

On 5/7/06, aaron smith <[EMAIL PROTECTED]> wrote:
Chris,

Ok, thats what I figured about updating the package stuff. Now what
about recompiling that java class also so its output as
Application.class. Do you know what I mean? Do I just use the java
compiler to compile it. will it output a .class file? Then also, when
you talk about Spring context. I don't know what you mean. Is it  just a
config file? could you elaborate a bit more.

thanks man

smith

Chris Allen wrote:
> Hi Arron,
>
> Yeah, if you move your classes to different directories, then you need
> to update their packages to reflect the change. It's pretty much the
> same as it works in ActionScript. The only additional thing is to make
> sure this is reflected in the Spring configuration too.
>
> So, if you have your Application class in
> com/ex/hf/newlocation/Application.class then you will need to set its
> package to "package com.ex.hf.newlocation;" and in the Spring context
> refer to it as com.ex.hf.newlocation.Application.
>
> I hope that helps.
>
> -Chris
>
> On 5/6/06, aaron smith < [EMAIL PROTECTED]> wrote:
>
>> hey,
>>
>> yeah I restarted. the service. I'm wondering if it's because the
>> Application.class / Application .java class definitions is different
>> becacuse I moved it into another directory. So like wouldn't I need to
>> redifine the class definition (com.ex.ht.whatever) to say
>> (com.ex.hf.newlocation ) see?  shouldn't I have to change that and
>> recompile it or something?
>>
>> thanks man
>>
>>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
>
>



_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to