[jbosstools-dev] ACTION REQUIRED: Should there be 2 versions of javax.servlet in JBDS?

Rob Stryker rstryker at redhat.com
Wed Apr 15 23:45:12 EDT 2015


A fresh download of Luna SR2 shows the following files with 
'javax.servlet' in the name:

[rob at localhost wildfly-web-9.0.0.Beta2.zip.expanded]$ tar -ztvf 
/tmp/eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz | grep "javax.servlet"
-rw-rw-r-- messagebus/users  107235 2015-02-19 03:30 
eclipse/plugins/javax.servlet.jsp_2.2.0.v201112011158.jar
-rw-rw-r-- messagebus/users   201594 2015-02-19 03:30 
eclipse/plugins/javax.servlet_3.0.0.v201112011016.jar


A fresh download of Mars shows the following files with "javax.servlet" 
in the name:

[rob at localhost wildfly-web-9.0.0.Beta2.zip.expanded]$ tar -ztvf 
/tmp/eclipse-jee-mars-M6-linux-gtk-x86_64.tar.gz | grep "javax.servlet"
-rw-rw-r-- genie.packaging/technology.packaging   105235 2015-03-26 
08:15 eclipse/plugins/javax.servlet_3.1.0.v201410161800.jar
-rw-rw-r-- genie.packaging/technology.packaging   107235 2015-03-26 
08:15 eclipse/plugins/javax.servlet.jsp_2.2.0.v201112011158.jar

My guess is that we had servlet 3.0 in the Luna TP and when we simply 
'added' the mars deps, we added the new one.  I would suggest that if 
Mars does not come with a javax.servlet_3.0  then we don't need it.

I know my code specifically does not depend on it either, but I cannot 
guarantee others do not require specifics. I honestly can't imagine 
anyone on our team requiring servlet 3.0 jar specifically, but I have 
been known to suffer from a lack of imagination in the past.

- Rob Stryker


On 04/15/2015 05:56 PM, Nick Boldt wrote:
> Just wondering if anyone knows WHY we include javax.servlet 3.0.0 and
> 3.1.0 in JBDS.
>
> More importantly... SHOULD we be including both? Or can we just include
> 3.1.0 and drop 3.0.0?
>
> If we need both, then that's fine -- I'll add another exclusion rule to
> versionwatch [1]. But if we only need the newer one, that's even better.
>
> [1]
> https://github.com/jbdevstudio/jbdevstudio-qa/blob/master/vwatch/src/main/resources/multiple-version-ignore.properties
>
> Looking into our 4.50.x target platforms [2], I see we explicitly add
> javax.servlet 3.0.0 but don't add 3.1.0.
>
> [2]
> https://github.com/jbosstools/jbosstools-target-platforms/blob/4.50.x/jbdevstudio/multiple/jbdevstudio-multiple.target#L32
>
> Maybe we should remove the 3.0.0 version from the target platform for
> Alpha2, and see if anything breaks? 8-D
>
>



More information about the jbosstools-dev mailing list