is gwt-codeserver.jar artifact useless ?

121 views
Skip to first unread message

Cristiano

unread,
Oct 8, 2015, 3:48:15 AM10/8/15
to GWT Contributors
Hello all,

I was asking myself when I should use the gwt-codeserver.jar
I'm not including it into my project but I can run Super Dev Mode anyway, so I've checked the content of the gwt-codeserver.jar to see what it does provide that is not provided by gwt-dev:

Handwritten:gwt-0.0.0 cristcost$ pwd

/Users/cristcost/dev/Open-Source/gwt-trunk/build/staging/gwt-0.0.0
Handwritten:gwt-0.0.0 cristcost$ unzip -l gwt-codeserver.jar
Archive:  gwt-codeserver.jar
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  10-05-15 10:39   META-INF/
      157  10-05-15 10:39   META-INF/MANIFEST.MF
        0  10-05-15 10:39   com/
        0  10-05-15 10:39   com/google/
        0  10-05-15 10:39   com/google/gwt/
        0  10-05-15 10:39   com/google/gwt/dev/
        0  10-05-15 10:39   com/google/gwt/dev/codeserver/
     8425  10-05-15 10:39   com/google/gwt/dev/codeserver/CodeServer.class
[...omissis...]
     2492  06-30-15 09:52   com/google/gwt/dev/codeserver/stub.nocache.js
      122  10-05-15 10:39   META-INF/INDEX.LIST
 --------                   -------
   509150                   122 files
Handwritten:gwt-0.0.0 cristcost$ 

everything is inside the folder com/google/gwt/dev/codeserver , ok, let's compare with dev:

Handwritten:gwt-0.0.0 cristcost$ unzip -l gwt-dev.jar com/google/gwt/dev/codeserver/*
Archive:  gwt-dev.jar
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  10-05-15 10:39   com/google/gwt/dev/codeserver/
     8425  10-05-15 10:39   com/google/gwt/dev/codeserver/CodeServer.class
[...omissis...]
     2492  06-30-15 09:52   com/google/gwt/dev/codeserver/stub.nocache.js
 --------                   -------
   508871                   115 files
Handwritten:gwt-0.0.0 cristcost$ 


and now let's filter more with more precision gwt-codeserver.jar to compare the differences:

Handwritten:gwt-0.0.0 cristcost$ unzip -l gwt-codeserver.jar com/google/gwt/dev/codeserver/*
Archive:  gwt-codeserver.jar
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  10-05-15 10:39   com/google/gwt/dev/codeserver/
     8425  10-05-15 10:39   com/google/gwt/dev/codeserver/CodeServer.class
[...omissis...]
     2492  06-30-15 09:52   com/google/gwt/dev/codeserver/stub.nocache.js
 --------                   -------
   508871                   115 files
Handwritten:gwt-0.0.0 cristcost$ 


same number of files, same size, so gwt-codeserver.jar I think this is not coincidence and then codeserver is completely included in gwt-dev.
So, is useless?
What is the purpose of it?

thanks,
Cristiano

Thomas Broyer

unread,
Oct 8, 2015, 4:31:50 AM10/8/15
to GWT Contributors
Oh my, I totally missed this: https://gwt-review.googlesource.com/#/q/Iaef14e17716e0f4784a466361db13930f887c996 (forgot actually, as I apparently commented on it)
So yes, gwt-codeserver is actually useless starting with GWT 2.7.0-rc1.

Cristiano

unread,
Oct 8, 2015, 2:35:33 PM10/8/15
to GWT Contributors
Ok,
thank you for the feedback!
Reply all
Reply to author
Forward
0 new messages