[sip-comm-dev] Renaming a package


#1

Hi,
I'm trying to rename a package and I'm wondering where I need to change the
name in order for it to work.

So far I have found references in:

   - build.xml
   - the manifest
   - felix.client.run.properties

Is there something I have missed?

The package is net.java.sip.communicator.impl.shutdown (I'm trying to
implement an actual shutdown bundle and this name seems misguiding)

Have a nice day!
Linus


#2

For the .impl.shutdown package, I think the files to modify are
build.xml, the shutdown bundle manifest and the java files which
import the package.

Modifying felix.client.run.properties for shutdown should be necessary
only if you're modifying the bundle name and you said you wanted to
rename a package, not a bundle.

Just a note though that there is already a shutdown bundle. So I'm not
exactly sure what you mean by "an actual shutdown bundle".

···

On Sun, Aug 9, 2009 at 9:03 PM, Linus<linus.wallgren@gmail.com> wrote:

Hi,
I'm trying to rename a package and I'm wondering where I need to change the
name in order for it to work.
So far I have found references in:

build.xml
the manifest
felix.client.run.properties

Is there something I have missed?
The package is net.java.sip.communicator.impl.shutdown (I'm trying to
implement an actual shutdown bundle and this name seems misguiding)
Have a nice day!
Linus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

I see, thanks
I am changing the bundle name aswell, so perhaps i can extend my question,
how do i change the name of a bundle?

Linus

···

2009/8/9 Lubomir Marinov <lubomir.marinov@gmail.com>

For the .impl.shutdown package, I think the files to modify are
build.xml, the shutdown bundle manifest and the java files which
import the package.

Modifying felix.client.run.properties for shutdown should be necessary
only if you're modifying the bundle name and you said you wanted to
rename a package, not a bundle.

Just a note though that there is already a shutdown bundle. So I'm not
exactly sure what you mean by "an actual shutdown bundle".

On Sun, Aug 9, 2009 at 9:03 PM, Linus<linus.wallgren@gmail.com> wrote:
> Hi,
> I'm trying to rename a package and I'm wondering where I need to change
the
> name in order for it to work.
> So far I have found references in:
>
> build.xml
> the manifest
> felix.client.run.properties
>
> Is there something I have missed?
> The package is net.java.sip.communicator.impl.shutdown (I'm trying to
> implement an actual shutdown bundle and this name seems misguiding)
> Have a nice day!
> Linus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Hi Linus,

If by "the name of the bundle" you mean the name of the jar, you need to change the name of the jar in the build.xml and in the felix.client.run.properties. I'm not sure I understand exactly what you're trying to do though. If you're still experiencing issues with this, please give us some more details on what were your exact changes in the build.xml, the manifest and the felix.client.run.properties files.

Cheers,
Yana

···

On Aug 9, 2009, at 8:50 PM, Linus wrote:

I see, thanks

I am changing the bundle name aswell, so perhaps i can extend my question, how do i change the name of a bundle?

Linus

2009/8/9 Lubomir Marinov <lubomir.marinov@gmail.com>
For the .impl.shutdown package, I think the files to modify are
build.xml, the shutdown bundle manifest and the java files which
import the package.

Modifying felix.client.run.properties for shutdown should be necessary
only if you're modifying the bundle name and you said you wanted to
rename a package, not a bundle.

Just a note though that there is already a shutdown bundle. So I'm not
exactly sure what you mean by "an actual shutdown bundle".

On Sun, Aug 9, 2009 at 9:03 PM, Linus<linus.wallgren@gmail.com> wrote:
> Hi,
> I'm trying to rename a package and I'm wondering where I need to change the
> name in order for it to work.
> So far I have found references in:
>
> build.xml
> the manifest
> felix.client.run.properties
>
> Is there something I have missed?
> The package is net.java.sip.communicator.impl.shutdown (I'm trying to
> implement an actual shutdown bundle and this name seems misguiding)
> Have a nice day!
> Linus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net