List Info

Thread: exporting project --> .jar




exporting project --> .jar
user name
2007-05-29 11:37:03
Hi all,

have a little question.. from my Eclipse I tried to export the sip-communicator project into a .jar but since there's no main class the export failed... I also saw the recommandation for building a sip-communicator installer but I think that's not what I'm needing.. maybe I say wrong... Actually I want to have a jar file of my project and to be able to run it from another pc so how can I do that?

Thanks a lot for helping me.
Re: exporting project --> .jar
user name
2007-05-30 05:17:35
Hello asmouta,

It would be quite delicate to run SIP Communicator from one
single jar 
file. This would require a lot of modifications to the
existing 
structure, so you'd better keep all bundles separated as
they currently are.

Once you execute the "ant build" target all SC
jar-s are created in the 
sc-bundles directory of your project. You'd need to get all
of them, 
together with some of the libs (those _directly_ underneath
the lib 
directory and possibly some of the natives) in order to run
the 
application.

The installer tutorial that you are referring to

http://www.sip-communicator.org/ind
ex.php/Documentation/HowToBuildAnInstaller

describes in a very detailed way the environment
(dependencies and 
directory structure) that SIP Communicator needs in order to
execute 
properly, so in case you cannot use any of the installers
that the 
build.xml allows you to build (i.e. exe, deb, dmg, rpm, and
jar), you'd 
need to go over the tutorial and get acquainted with it so
that you 
could customize the environment in a way that suits you.

Cheers
Emil



asmouta wrote:
> Hi all,
> 
> have a little question.. from my Eclipse I tried to
export the 
> sip-communicator project into a .jar but since there's
no main class the 
> export failed... I also saw the recommandation for
building a 
> sip-communicator installer but I think that's not what
I'm needing.. 
> maybe I say wrong... Actually I want to have a jar file
of my project 
> and to be able to run it from another pc so how can I
do that?
> 
> Thanks a lot for helping me.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net


Re: exporting project --> .jar
user name
2007-05-30 09:26:14
Hi Emil,

thanks for replying. I still have a little question, do you mean by HowToBuildAnInstaller how to build the .bin executable?? Such as the binary available for download in sip-communicator website?? Because that's all I need, a .bin file, but I thought that the tutorial is focusing on another matter... :-D

Best regards.

On 5/30/07, Emil Ivov < emchoemcho.com">emchoemcho.com> wrote:
Hello asmouta,

It would be quite delicate to run SIP Communicator from one single jar
file. This would require a lot of modifications to the existing
structure, so you'd better keep all bundles separated as they currently are.

Once you execute the "ant build"; target all SC jar-s are created in the
sc-bundles directory of your project. You'd need to get all of them,
together with some of the libs (those _directly_ underneath the lib
directory and possibly some of the natives) in order to run the
application.

The installer tutorial that you are referring to

http://www.sip-communicator.org/index.php/Documentation/HowToBuildAnInstaller

describes in a very detailed way the environment (dependencies and
directory structure) that SIP Communicator needs in order to execute
properly, so in case you cannot use any of the installers that the
build.xml allows you to build (i.e. exe, deb, dmg, rpm, and jar), you'd
need to go over the tutorial and get acquainted with it so that you
could customize the environment in a way that suits you.

Cheers
Emil



asmouta wrote:
>; Hi all,
>
> have a little question.. from my Eclipse I tried to export the
> sip-communicator project into a .jar but since there's no main class the
> export failed... I also saw the recommandation for building a
> sip-communicator installer but I think that's not what I'm needing..
> maybe I say wrong... Actually I want to have a jar file of my project
> and to be able to run it from another pc so how can I do that?
>
> Thanks a lot for helping me.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net">dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net">dev-helpsip-communicator.dev.java.net


Re: exporting project --> .jar
user name
2007-05-30 10:34:10
Hello asmouta,

asmouta wrote:
> Hi Emil,
> 
> thanks for replying. I still have a little question, do
you mean by 
> HowToBuildAnInstaller how to build the .bin
executable?? Such as the 
> binary available for download in sip-communicator
website?? Because 
> that's all I need, a .bin file, but I thought that the
tutorial is 
> focusing on another matter... :-D

The installer tutorial describes the environment that SIP
Communicator 
needs in order to run so that people building installers
would know how 
to deploy the application.

Emil
> 
> Best regards.
> 
> On 5/30/07, *Emil Ivov* <emchoemcho.com
<mailto:emchoemcho.com>> wrote:
> 
>     Hello asmouta,
> 
>     It would be quite delicate to run SIP Communicator
from one single jar
>     file. This would require a lot of modifications to
the existing
>     structure, so you'd better keep all bundles
separated as they
>     currently are.
> 
>     Once you execute the "ant build" target
all SC jar-s are created in the
>     sc-bundles directory of your project. You'd need to
get all of them,
>     together with some of the libs (those _directly_
underneath the lib
>     directory and possibly some of the natives) in
order to run the
>     application.
> 
>     The installer tutorial that you are referring to
> 
>     http://www.sip-communicator.org/ind
ex.php/Documentation/HowToBuildAnInstaller
> 
>     describes in a very detailed way the environment
(dependencies and
>     directory structure) that SIP Communicator needs in
order to execute
>     properly, so in case you cannot use any of the
installers that the
>     build.xml allows you to build (i.e. exe, deb, dmg,
rpm, and jar), you'd
>     need to go over the tutorial and get acquainted
with it so that you
>     could customize the environment in a way that suits
you.
> 
>     Cheers
>     Emil
> 
> 
> 
>     asmouta wrote:
>      > Hi all,
>      >
>      > have a little question.. from my Eclipse I
tried to export the
>      > sip-communicator project into a .jar but
since there's no main
>     class the
>      > export failed... I also saw the
recommandation for building a
>      > sip-communicator installer but I think that's
not what I'm needing..
>      > maybe I say wrong... Actually I want to have
a jar file of my
>     project
>      > and to be able to run it from another pc so
how can I do that?
>      >
>      > Thanks a lot for helping me.
> 
>    
------------------------------------------------------------
---------
>     To unsubscribe, e-mail:
>     dev-unsubscribesip-communicator.dev.java.net
>     <mailto:dev-unsubscribesip-communicator.dev.java.net>
>     For additional commands, e-mail:
>     dev-helpsip-communicator.dev.java.net
>     <mailto:dev-helpsip-communicator.dev.java.net>
> 
> 

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
For additional commands, e-mail: dev-helpsip-communicator.dev.java.net


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )