List Info

Thread: Re: Applet patch




Re: Applet patch
user name
2008-03-26 16:39:37
Hi,
It's a great news !! 
Create signed jar it's a good idea.
But I've some problem with the build.xml and signjar option.
I've changed the sign-copy-jars target :

<!-- sign all the created jars -->
<target name="sign-copy-jars">
   <delete file="$"/>
   <genkey alias="${keystore.alias}"
		keystore="$"
storepass="${keystore.password}" >
	   <dname>
		<param name="CN" value="SIP-Communicator
Group"/>
		<param name="OU" value="SIP-Communicator
Division"/>
		 <param name="O" 
value="sip-communicator.org"/>
		<param name="C"  value="FR"/>
	  </dname>
	 </genkey>
   <signjar alias="${keystore.alias}"
	   keystore="$"
storepass="${keystore.password}"
	   lazy="true"
destDir="${bundles.signed.dest}">
		<path>
			   <fileset dir="${bundles.dest}"
includes="**/*.jar">
					   <!--exclude the windows media jar as it fails to
sign it-->
						<exclude name="**/windows/*.jar"/>
					   <exclude name="**/linux/*.jar"/>
					   <exclude name="**/macosx/*.jar"/>
				</fileset>
	   </path>
   </signjar>
  <signjar alias="${keystore.alias}"
	   keystore="$"
storepass="${keystore.password}"
		lazy="true"
destDir="${bundles.signed.dest}/lib">
	   <path>
		<fileset dir="$"
includes="*.jar"/>
	   </path>
	</signjar>
</target>

I've the SIP-Comm's main interface with many Felix errors
with Firefox
(2.0.0.13)
and Internet Explorer7, but it's not "usable" 
(any chat-plugin was
loaded correctly)
Have you done something special?
I've forgotten something?
(I've a server if you want test)

Regards,
Julien

2008/3/26, Emil Ivov <emchosip-communicator.org>:
> Hey Seb,
>
>  Great news indeed! As JD already mentioned, there have
been many people
>  asking for such a thing so it could be a very popular
feature. I'll try
>  to review your patch as soon as possible but keep in
mind that we are
>  all quite busy with GSoC right now and it might take
some time before I
>  get there so please bear with me.
>
>  Cheers
>  Emil
>
>  Sebastian Heib ΞΑΠΙΣΑ:
>
> > Hi,
>  >
>  > I have written a patch, that allows it to start
SC as an applet within a
>  > web page.
>  >
>  > The patch has two files: one that's for the
sources, and another one
>  > that is for the build file.
>  >
>  > I have extended the build file with an
"applet" task, that will build SC
>  > with an additional applet bundle and signs all
the jars afterwards. For
>  > that purpose, it is necessary that you have a
keystore with a key in it.
>  >
>  > The applet starter starts Felix embedded in the
applet. At the moment it
>  > will only load the protocols and wizards for sip
and jabber, but the
>  > others only need to be uncommented in the source.
>  > This applet starter is still very basic (to be
improved), but it works.
>  >
>  > To run it as an applet, I have attached an
example html file. On the
>  > server, the folder structure has to be in the
same way as the normal SC
>  > folder structure. In the "sc-bundles"
directory, the media.jar that you
>  > want to use must be present.
>  >
>  > I have tested the applet on my Ubuntu system with
Firefox. It should run
>  > on other systems/ browsers as well, as long as a
java plugin is installed.
>  >
>  > Regards,
>  > Sebastian
>  >
>  >
>  >
>  >
>
> >
------------------------------------------------------------
------------
>
> >
>  >
------------------------------------------------------------
---------
>  > To unsubscribe, e-mail: dev-unsubscribesip-communicator.dev.java.net
>  > For additional commands, e-mail: 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]

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