Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: SlimDown
    • Fix Version/s: None
    • Component/s: ALL COMPONENTS
    • Labels:
      None

      Description

      This include these "subtasks"

      1. make sure all jar files are marked as binary
      2. make sure they are listed properly in LICENSE (and if required NOTICE) file
      3. make sure we are running stable versions and not snapshots (whenever possible)
      4. upgrade jars to use latest versions (whenever possible)
      5. remove jars no more needed
      6. rename old jars to add release numbers in the file name

      See this thread for more

      What's remain today:

      • jython-nooro.jar : it's only used by SeleniumXml and we should get rid of it when SeleniumXml will be also thrown out
      • httpunit.jar updated at r1328918, see comment there
      • mail.jar renamed at r1329565, see comment there
      • nekohtml.jar renamed at r1343038 see comment there
      • Tidy.jar have been moved to Attic (duplicated in Birt. I think we can get rid of it: maybe it was used when we showed the W3 complianec button. Birt will be in Extra)
      • flute.jar is related to Birt so will be also moved to Extra: don't rename
      • jaxrpc.jar is related to Birt so will be also moved to Extra: don't rename
      • js.jar is related to Birt so will be also moved to Extra: don't rename
      • saaj.jar is related to Birt so will be also moved to Extra: don't rename
      • viewservlets.jar is related to Birt so will be also moved to Extra: don't rename
      • ofbiz-minerva.jar Moved to Attic with XAPool at r1356471
      • axis-1.4.jar Still used by, and only by, the specialpurpose crowd component. Looks like all that should be moved to Extra...
      • selenium-java-client-driver.jar: it's only used by SeleniumXml and we got rid of it when SeleniumXml was thrown out
      • javacc.jar is needed by the building process. Also found a note from Marco: Upgrade javacc to 5.0 version, the javacc.jar must having only this name: http://svn.apache.org/viewvc?rev=1076756&view=rev)
      • jcl.jar version is hard to trace (part of a jars bundle jcl2.3.0-RC3.zip, we use also jpos18-controls.jar and IIRW should better stay with it so don't rename jcl.jar unless sure.
      • \specialpurpose\ebaystore\lib attributes.jar ebaycalls.jar ebaysdkcore.jar helper.jar: they will go in Extra, one worry less
      • ofbiz-tools.jar must stay as is
      • derbytools*.jar and ij.sh have been moved to Attic
      1. jar.pdf
        21 kB
        Jacques Le Roux

        Activity

        Hide
        Jacques Le Roux added a comment -

        I think the task 1 has been performed (please Jacopo confirm and then strike from the description)
        I believe task 2 is not needed but can't guarantee
        I'm working on subsequent tasks (ie 3 to 6), see the thread in description

        Show
        Jacques Le Roux added a comment - I think the task 1 has been performed (please Jacopo confirm and then strike from the description) I believe task 2 is not needed but can't guarantee I'm working on subsequent tasks (ie 3 to 6), see the thread in description
        Hide
        Jacopo Cappellato added a comment -

        Jacques,

        as regards the point:

        1) make sure all jar files are marked as binary

        I actually didn't check all the jar files consistently.

        Show
        Jacopo Cappellato added a comment - Jacques, as regards the point: 1) make sure all jar files are marked as binary I actually didn't check all the jar files consistently.
        Hide
        Jacopo Cappellato added a comment -

        As regards ofbiz-minerva.jar I am wondering too if it is time to exclude it (and the related MinervaConnectionFactory plus some other resources like the screen in webtools and the log settings) from the project (attic or Extras, maybe Extras it is better, especially if we can get the original source files for of biz-minerva.jar).

        Show
        Jacopo Cappellato added a comment - As regards ofbiz-minerva.jar I am wondering too if it is time to exclude it (and the related MinervaConnectionFactory plus some other resources like the screen in webtools and the log settings) from the project (attic or Extras, maybe Extras it is better, especially if we can get the original source files for of biz-minerva.jar).
        Hide
        Jacopo Cappellato added a comment -

        As regards Jacques' comment:

        • axis-1.4.jar (not sure it's still used, we use now Axis2; but could be still used by "legacy code")

        I wouldn't worry about "legacy" (aka custom) code: it will be easier for the author to add the jar to the classpath after the upgrade; but we will have to double check if there are other dependencies.

        Show
        Jacopo Cappellato added a comment - As regards Jacques' comment: axis-1.4.jar (not sure it's still used, we use now Axis2; but could be still used by "legacy code") I wouldn't worry about "legacy" (aka custom) code: it will be easier for the author to add the jar to the classpath after the upgrade; but we will have to double check if there are other dependencies.
        Hide
        Jacopo Cappellato added a comment -

        We should also remove derbytools-*.jar together with the ij.sh script that uses it (but it is not working now because it is not updated): the script doesn't do much apart from running the derbytool jar... in my opinion this can be safely left out of the project because there is no integration and a developer willing to use it can just setup it in his/her local box.

        Show
        Jacopo Cappellato added a comment - We should also remove derbytools-*.jar together with the ij.sh script that uses it (but it is not working now because it is not updated): the script doesn't do much apart from running the derbytool jar... in my opinion this can be safely left out of the project because there is no integration and a developer willing to use it can just setup it in his/her local box.
        Hide
        Jacques Le Roux added a comment -

        I will try to do one by day (tedious task else)...

        Show
        Jacques Le Roux added a comment - I will try to do one by day (tedious task else)...
        Hide
        Jacques Le Roux added a comment -

        I makes all remaining jar marked as svn binary

        Note: I could not apply it to ofbiz-tools.jar (still there after an ant clean, normal?) and cobertura-1.9.3.jar (not sure why)

        Show
        Jacques Le Roux added a comment - I makes all remaining jar marked as svn binary Note: I could not apply it to ofbiz-tools.jar (still there after an ant clean, normal?) and cobertura-1.9.3.jar (not sure why)
        Hide
        Jacques Le Roux added a comment -

        cobertura-1.9.3.jar is not an issue. It's downloaded by ant tasks and can stay as is (not part of the repo)

        Not sure we should clean ofbiz-tools.jar, else I think it can stay as is.

        Show
        Jacques Le Roux added a comment - cobertura-1.9.3.jar is not an issue. It's downloaded by ant tasks and can stay as is (not part of the repo) Not sure we should clean ofbiz-tools.jar, else I think it can stay as is.
        Hide
        Jacques Le Roux added a comment -

        Remove note, now useless, see comment

        Show
        Jacques Le Roux added a comment - Remove note, now useless, see comment
        Hide
        Jacopo Cappellato added a comment -

        Jacques,

        chances are that the following files (and a folder) can be removed:

        framework/base/lib/ant/ant-nodeps-1.8.1.jar
        framework/base/lib/javacc
        framework/base/lib/Tidy.jar
        framework/base/lib/ant-trax-1.8.0.jar
        framework/base/lib/commons/commons-vfs-20070730.jar

        I have removed them from my local copy since a couple of weeks ago and I couldn't see any issue so far (but of course there could be part of the system that use it like Birt that I am not testing).
        By the way I am sharing this with you in case you want to try to do more tests by removing them in your box as well.

        Show
        Jacopo Cappellato added a comment - Jacques, chances are that the following files (and a folder) can be removed: framework/base/lib/ant/ant-nodeps-1.8.1.jar framework/base/lib/javacc framework/base/lib/Tidy.jar framework/base/lib/ant-trax-1.8.0.jar framework/base/lib/commons/commons-vfs-20070730.jar I have removed them from my local copy since a couple of weeks ago and I couldn't see any issue so far (but of course there could be part of the system that use it like Birt that I am not testing). By the way I am sharing this with you in case you want to try to do more tests by removing them in your box as well.
        Hide
        Jacques Le Roux added a comment -

        Jacopo,

        After some research, here are my conclusions:

        • framework/base/lib/ant/ant-nodeps-1.8.1.jar => can be removed IMO. It was added with ant 1.8 by Hans, not sure why (no comment about need), seems to contains no needed stuff
        • framework/base/lib/javacc can be removed IMO. The Java Compiler Compiler tm (JavaCC tm) - The Java Parser Generator, not used OOTB, was added by Marco, not sure why (no comment about need)
        • framework/base/lib/Tidy.jar was used at bottom of eCommerce pages before, no longer needed
        • framework/base/lib/ant-trax-1.8.0.jar can be removed IMO. It was added with ant 1.8 by Hans, not sure why (no comment about need), contains XSLT task
        • framework/base/lib/commons/commons-vfs-20070730.jar certainly added with Webslinger can be removed now

        I will a little time for concerned persons to review before moving to Attic...

        Show
        Jacques Le Roux added a comment - Jacopo, After some research, here are my conclusions: framework/base/lib/ant/ant-nodeps-1.8.1.jar => can be removed IMO . It was added with ant 1.8 by Hans, not sure why (no comment about need), seems to contains no needed stuff framework/base/lib/javacc can be removed IMO . The Java Compiler Compiler tm (JavaCC tm) - The Java Parser Generator, not used OOTB, was added by Marco, not sure why (no comment about need) framework/base/lib/Tidy.jar was used at bottom of eCommerce pages before, no longer needed framework/base/lib/ant-trax-1.8.0.jar can be removed IMO . It was added with ant 1.8 by Hans, not sure why (no comment about need), contains XSLT task framework/base/lib/commons/commons-vfs-20070730.jar certainly added with Webslinger can be removed now I will a little time for concerned persons to review before moving to Attic...
        Hide
        Jacques Le Roux added a comment -

        Above libs habe been removed at r1340414. I there hastily removed

        • framework/base/lib/ant/ant-nodeps-1.8.1.jar which is still used by javacc in build process
        • lib\build\javacc which was an error

        I restored them respectively at r1340638 and r1340485

        Show
        Jacques Le Roux added a comment - Above libs habe been removed at r1340414. I there hastily removed framework/base/lib/ant/ant-nodeps-1.8.1.jar which is still used by javacc in build process lib\build\javacc which was an error I restored them respectively at r1340638 and r1340485
        Hide
        Jacques Le Roux added a comment -

        Adrian remarked that framework/base/lib/Tidy.jar is maybe used by httpunit I guess itself used by Selenium. Since Selemnium should go also into Attic, it should not be a problem to have removed it at r1340414.

        Show
        Jacques Le Roux added a comment - Adrian remarked that framework/base/lib/Tidy.jar is maybe used by httpunit I guess itself used by Selenium . Since Selemnium should go also into Attic, it should not be a problem to have removed it at r1340414.
        Hide
        Jacques Le Roux added a comment -

        flute.jar is related to Birt. We should simply wait Birt move

        Show
        Jacques Le Roux added a comment - flute.jar is related to Birt . We should simply wait Birt move
        Hide
        Jacques Le Roux added a comment -

        jaxrpc version is 1.1. It's related to Birt so will be also moved to Extra

        Show
        Jacques Le Roux added a comment - jaxrpc version is 1.1. It's related to Birt so will be also moved to Extra
        Hide
        Jacques Le Roux added a comment -

        Moved one of my comment in description to let other people edit it

        Show
        Jacques Le Roux added a comment - Moved one of my comment in description to let other people edit it
        Hide
        Jacques Le Roux added a comment -

        Update on axis1.4 and crowd

        Show
        Jacques Le Roux added a comment - Update on axis1.4 and crowd
        Hide
        Jacques Le Roux added a comment - - edited

        == TYPO ==
        I Moved Minerva to Attic with XAPool at r1356471. While doing so I noticed that appserver/templates/weblogic81 still refers to it but it's not an issue. People who want weblogic81 can get Minerva from Attic.

        I did not care about the sources which have been patched by the OFBiz project, nobody knows where they are.

        I also marked as done most of "subtasks", please check and reopen if you think it's needed.

        So only remains Axis1.4 because of Crowd, both could be moved to Extras in my opinion

        Show
        Jacques Le Roux added a comment - - edited == TYPO == I Moved Minerva to Attic with XAPool at r1356471. While doing so I noticed that appserver/templates/weblogic81 still refers to it but it's not an issue. People who want weblogic81 can get Minerva from Attic. I did not care about the sources which have been patched by the OFBiz project, nobody knows where they are. I also marked as done most of "subtasks", please check and reopen if you think it's needed. So only remains Axis1.4 because of Crowd, both could be moved to Extras in my opinion
        Hide
        Jacques Le Roux added a comment -

        It seems there are still some snapshots libs, like:

        • com.sun.el-2.2.0.v201108011116.jar
        • freemarker-2.3.19-null-wildcards.jar
        • javax.servlet.jsp.jstl-1.2.0.v201105211821.jar
        • jdbm-1.0-SNAPSHOT.jar
        • jetty-*.v20120308.jar
        • org.apache.jasper.glassfish-2.2.2.v201112011158.jar
        • org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar
        • poi-*-3.8-20120326.jar

        Maybe:

        • geronimo-*spec-1.0.jar

        There are a lot of snapshoot libs under framework/birt/lib, but this will be moved to Extra, not sure we should care bout those...

        bsh-engine-modified.jar is not in this case, IIRW it's a version David patched but his pacth was never integrated

        I did my best but I could have missed some...

        Show
        Jacques Le Roux added a comment - It seems there are still some snapshots libs, like: com.sun.el-2.2.0.v201108011116.jar freemarker-2.3.19-null-wildcards.jar javax.servlet.jsp.jstl-1.2.0.v201105211821.jar jdbm-1.0-SNAPSHOT.jar jetty-*.v20120308.jar org.apache.jasper.glassfish-2.2.2.v201112011158.jar org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar poi-*-3.8-20120326.jar Maybe: geronimo-*spec-1.0.jar There are a lot of snapshoot libs under framework/birt/lib, but this will be moved to Extra, not sure we should care bout those... bsh-engine-modified.jar is not in this case, IIRW it's a version David patched but his pacth was never integrated I did my best but I could have missed some...
        Hide
        Jacques Le Roux added a comment -

        Alsot I'm 99% sure for the point.6 ("rename old jars to add release numbers in the file name").
        I think that those which remains are OK, but I could have missed one or 2...

        Show
        Jacques Le Roux added a comment - Alsot I'm 99% sure for the point.6 ("rename old jars to add release numbers in the file name"). I think that those which remains are OK, but I could have missed one or 2...
        Hide
        Jacques Le Roux added a comment -

        Thanks to a smal APL program I wrote yesterday morning, here is the list of jars which are not in LICENSE

        lucene-analyzers-3.0.0.jar
        lucene-core-3.0.0.jar
        saxon65.jar
        tagsoup-1.2.1.jar
        webhelpindexer.jar
        xalan27.jar
        jcip-annotations-1.0.jar
        log4j-1.2.16.jar
        slf4j-log4j12-1.6.4.jar
        xml-apis-ext-1.3.04.jar
        yuicompressor-2.4.6.jar
        org.springframework.core-3.1.0.M2.jar
        org.springframework.test-3.1.0.M2.jar
        org.springframework.web-3.1.0.M2.jar

        Here is the list of all external jars

        dom4j-1.6.1.jar
        fontbox-1.7.1.jar
        jempbox-1.7.1.jar
        lucene-analyzers-common-4.0.0.jar
        lucene-core-4.0.0.jar
        lucene-queryparser-4.0.0.jar
        pdfbox-1.7.1.jar
        poi-3.8-20120326.jar
        poi-ooxml-3.8-20120326.jar
        poi-ooxml-schemas-3.8-20120326.jar
        poi-scratchpad-3.8-20120326.jar
        tika-core-1.0.jar
        tika-parsers-1.0.jar
        lucene-analyzers-3.0.0.jar
        lucene-core-3.0.0.jar
        saxon65.jar
        tagsoup-1.2.1.jar
        webhelpindexer.jar
        xalan27.jar
        dozer-4.2.1.jar
        watermarker-0.0.4.jar
        ant-1.8.4.jar
        ant-junit-1.8.4.jar
        ant-launcher-1.8.4.jar
        antisamy-bin.1.2.jar
        avalon-framework-4.2.0.jar
        avalon-util-exception-1.0.0.jar
        barcode4j-fop-ext-complete-2.0.jar
        batik-all-1.7.jar
        bsh-engine-modified.jar
        clhm-release-1.0-lru.jar
        fop-1.0.jar
        freemarker-2.3.19-null-wildcards.jar
        hamcrest-all-1.2.jar
        httpclient-4.2.1.jar
        httpclient-cache-4.2.1.jar
        httpcore-4.2.1.jar
        httpmime-4.2.1.jar
        httpunit-1.7.jar
        ical4j-1.0-rc2.jar
        icu4j-49_1.jar
        ivy-2.2.0.jar
        javolution-5.4.3.jar
        jcip-annotations-1.0.jar
        jdbm-1.0-SNAPSHOT.jar
        jdom-1.1.jar
        jpim-0.1.jar
        juel-2.2.1.jar
        junit-dep-4.10.jar
        log4j-1.2.16.jar
        mail-1.4.jar
        mx4j-3.0.1.jar
        mx4j-remote-3.0.1.jar
        nekohtml-1.9.16.jar
        owasp-esapi-full-java-1.4.jar
        resolver-2.9.1.jar
        serializer-2.9.1.jar
        slf4j-api-1.6.4.jar
        slf4j-log4j12-1.6.4.jar
        ws-commons-java5-1.0.1.jar
        ws-commons-util-1.0.2.jar
        xalan-2.7.1.jar
        xercesImpl-2.9.1.jar
        xml-apis-2.9.1.jar
        xml-apis-ext-1.3.04.jar
        xmlgraphics-commons-1.4.jar
        xmlrpc-client-3.1.2.jar
        xmlrpc-common-3.1.2.jar
        xmlrpc-server-3.1.2.jar
        xpp3_min-1.1.4c.jar
        xstream-1.3.1.jar
        yuicompressor-2.4.6.jar
        ant-apache-bsf-1.8.4.jar
        ant-contrib-1.0b3.jar
        ant-nodeps-1.8.1.jar
        commons-beanutils-1.8.3.jar
        commons-cli-1.2.jar
        commons-codec-1.6.jar
        commons-collections-3.2.1.jar
        commons-compress-1.4.1.jar
        commons-digester3-3.2.jar
        commons-discovery-0.4.jar
        commons-el-1.0.jar
        commons-fileupload-1.2.2.jar
        commons-io-2.4.jar
        commons-lang-2.6.jar
        commons-logging-1.1.1.jar
        commons-modeler-2.0.1.jar
        commons-net-3.1.jar
        commons-pool-1.3.jar
        commons-primitives-1.0.jar
        commons-validator-1.4.0.jar
        annotations-api-3.0.jar
        el-api-2.2.jar
        geronimo-activation_1.0.2_spec-1.0.jar
        geronimo-j2ee-connector_1.5_spec-1.0.jar
        geronimo-jaxrpc_1.1_spec-1.0.jar
        geronimo-jaxr_1.0_spec-1.0.jar
        geronimo-jms_1.1_spec-1.0.jar
        geronimo-jta_1.1_spec-1.1.1.jar
        geronimo-qname_1.1_spec-1.0.jar
        geronimo-saaj_1.1_spec-1.0.jar
        jsp-api-2.2.jar
        servlet-api-3.0.jar
        antlr-2.7.6.jar
        asm-3.2.jar
        asm-analysis-3.2.jar
        asm-tree-3.2.jar
        asm-util-3.2.jar
        bsf-2.4.0.jar
        bsh-2.0b4.jar
        groovy-all-1.8.6.jar
        jakarta-oro-2.0.8.jar
        janino-2.5.15.jar
        jansi-1.2.1.jar
        jline-0.9.94.jar
        jython-nooro.jar
        ecj-3.7.2.jar
        tomcat-7.0.32-catalina-ha.jar
        tomcat-7.0.32-catalina-tribes.jar
        tomcat-7.0.32-tomcat-embed-core.jar
        tomcat-7.0.32-tomcat-embed-jasper.jar
        tomcat-7.0.32-tomcat-embed-logging-log4j.jar
        commons-dbcp-1.4.jar
        derby-10.8.2.2.jar
        geronimo-connector-2.1.1.jar
        geronimo-transaction-2.1.1.jar
        com.sun.el-2.2.0.v201108011116.jar
        javax.servlet.jsp.jstl-1.2.0.v201105211821.jar
        jetty-ajp-8.1.2.v20120308.jar
        jetty-continuation-8.1.2.v20120308.jar
        jetty-http-8.1.2.v20120308.jar
        jetty-io-8.1.2.v20120308.jar
        jetty-security-8.1.2.v20120308.jar
        jetty-server-8.1.2.v20120308.jar
        jetty-servlet-8.1.2.v20120308.jar
        jetty-util-8.1.2.v20120308.jar
        jetty-webapp-8.1.2.v20120308.jar
        jetty-xml-8.1.2.v20120308.jar
        org.apache.jasper.glassfish-2.2.2.v201112011158.jar
        org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar
        org.eclipse.jdt.core-3.7.1.jar
        axiom-api-1.2.9.jar
        axiom-impl-1.2.9.jar
        axis-1.4.jar
        axis-ant-1.4.jar
        axis2-kernel-1.5.2.jar
        axis2-transport-http-1.5.2.jar
        axis2-transport-local-1.5.2.jar
        commons-httpclient-3.1.jar
        neethi-2.0.4.jar
        wsdl4j-1.6.2.jar
        XmlSchema-1.4.3.jar
        org.springframework.core-3.1.0.M2.jar
        org.springframework.test-3.1.0.M2.jar
        org.springframework.web-3.1.0.M2.jar
        DataVision-1.0.0.jar
        ezmorph-0.9.1.jar
        iText-2.1.7.jar
        json-lib-2.2.3-jdk15.jar
        rome-0.9.jar
        velocity-1.6.1.jar
        javacc.jar
        flute.jar
        jaxrpc.jar
        js.jar
        org.apache.xml.resolver_1.2.0.v201005080400.jar
        org.apache.xml.serializer_2.7.1.v201005080400.jar
        org.eclipse.birt.runtime_3.7.2.v20120214-1408.jar
        org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar
        org.eclipse.core.expressions_3.4.300.v20110228.jar
        org.eclipse.core.filesystem_1.3.100.v20110423-0524.jar
        org.eclipse.core.jobs_3.5.101.v20120113-1953.jar
        org.eclipse.core.resources_3.7.101.v20120125-1505.jar
        org.eclipse.core.runtime_3.7.0.v20110110.jar
        org.eclipse.datatools.connectivity.oda_3.3.3.v201110130935.jar
        org.eclipse.emf.common_2.7.0.v20120123-0926.jar
        org.eclipse.emf.ecore.change_2.7.1.v20120123-0926.jar
        org.eclipse.emf.ecore.xmi_2.7.0.v20120123-0926.jar
        org.eclipse.emf.ecore_2.7.0.v20120123-0926.jar
        org.eclipse.emf_2.6.0.v20120123-1045.jar
        org.eclipse.equinox.app_1.3.100.v20110321.jar
        org.eclipse.equinox.common_3.6.0.v20110523.jar
        org.eclipse.equinox.preferences_3.4.2.v20120111-2020.jar
        org.eclipse.equinox.registry_3.5.101.R37x_v20110810-1611.jar
        org.eclipse.osgi.services_3.3.0.v20110513.jar
        org.eclipse.osgi_3.7.2.v20120110-1415.jar
        org.eclipse.update.configurator_3.3.100.v20100512.jar
        org.w3c.css.sac_1.3.0.v200805290154.jar
        org.w3c.dom.smil_1.0.0.v200806040011.jar
        org.w3c.dom.svg_1.1.0.v201011041433.jar
        saaj.jar
        Tidy.jar
        viewservlets.jar
        attributes.jar
        ebaycalls.jar
        ebaysdkcore.jar
        helper.jar
        checkout-sdk-0.8.8.jar
        cas-server-core-3.3.jar
        jcl.jar
        jpos18-controls.jar
        looks-2.0.2.jar
        XuiCoreSwing-v3.2rc2b.jar
        XuiOptional-v3.2rc2b.jar

        Here is the APL code (apl+win format), was fun after a so long time. After 8 years of mostly Java, I was surprised how easily I remembered most needed things to get there quickly
        It's more for myself, because you need an APL+Win interpreter to read it. I will try later to see if I get a chance to show it using APL char, following http://aplwiki.com/AplToUnicodeII and http://bakerjd99.wordpress.com/tag/aplwin/

        jar;ii;i;last;ind;libs;license;file
        � jar program to get the jars not in LICENSE file
        � Pragmatic: uses a for loop where it could be more "APL"
        
        � Gets the libs out of OFBiz in a libs file
        �cmd "dir /s /b d:\workspace\ofbizClean\*.jar > libs" 
        � Ties the libs file
        "C:\APLWIN40\libs" �ntie �1
        � Reads the libs file in a matrix (a table), removing LF and cutting with CR
        libs�SStoMATa �av[14],(�nread �1 82 (�nsize �1) 0)~�av[11]
        � Ties and reads the LICENSE file
        "D:\workspace\ofbizClean\LICENSE" �ntie �2
        license�SStoMATa �av[14],(�nread �2 82 (�nsize �2) 0)~�av[11]
        � Gets the position of last \ on each line
        last�(�[2]+\libs='\')��(�/+\libs='\')
        � Sets the index from position of last \  to end of each line
        ind�last+��110-last
        � Loop around each line, get the jar name and print it if it's not in LICENSE file
        ii�0
        :for i :in ind
            ii�ii+1
            :if ~�/"ofbiz"�libs[ii;i]
                file�libs[ii;i]~�av[33]
                :if ~�/�/file�license
                    file
                :endif
            :endif
        :endfor
        

        PS: I have finally attached a jar.PDF where you can see the APL code. All this remembers me how fun it was to work with APL during 20 years

        Show
        Jacques Le Roux added a comment - Thanks to a smal APL program I wrote yesterday morning, here is the list of jars which are not in LICENSE lucene-analyzers-3.0.0.jar lucene-core-3.0.0.jar saxon65.jar tagsoup-1.2.1.jar webhelpindexer.jar xalan27.jar jcip-annotations-1.0.jar log4j-1.2.16.jar slf4j-log4j12-1.6.4.jar xml-apis-ext-1.3.04.jar yuicompressor-2.4.6.jar org.springframework.core-3.1.0.M2.jar org.springframework.test-3.1.0.M2.jar org.springframework.web-3.1.0.M2.jar Here is the list of all external jars dom4j-1.6.1.jar fontbox-1.7.1.jar jempbox-1.7.1.jar lucene-analyzers-common-4.0.0.jar lucene-core-4.0.0.jar lucene-queryparser-4.0.0.jar pdfbox-1.7.1.jar poi-3.8-20120326.jar poi-ooxml-3.8-20120326.jar poi-ooxml-schemas-3.8-20120326.jar poi-scratchpad-3.8-20120326.jar tika-core-1.0.jar tika-parsers-1.0.jar lucene-analyzers-3.0.0.jar lucene-core-3.0.0.jar saxon65.jar tagsoup-1.2.1.jar webhelpindexer.jar xalan27.jar dozer-4.2.1.jar watermarker-0.0.4.jar ant-1.8.4.jar ant-junit-1.8.4.jar ant-launcher-1.8.4.jar antisamy-bin.1.2.jar avalon-framework-4.2.0.jar avalon-util-exception-1.0.0.jar barcode4j-fop-ext-complete-2.0.jar batik-all-1.7.jar bsh-engine-modified.jar clhm-release-1.0-lru.jar fop-1.0.jar freemarker-2.3.19-null-wildcards.jar hamcrest-all-1.2.jar httpclient-4.2.1.jar httpclient-cache-4.2.1.jar httpcore-4.2.1.jar httpmime-4.2.1.jar httpunit-1.7.jar ical4j-1.0-rc2.jar icu4j-49_1.jar ivy-2.2.0.jar javolution-5.4.3.jar jcip-annotations-1.0.jar jdbm-1.0-SNAPSHOT.jar jdom-1.1.jar jpim-0.1.jar juel-2.2.1.jar junit-dep-4.10.jar log4j-1.2.16.jar mail-1.4.jar mx4j-3.0.1.jar mx4j-remote-3.0.1.jar nekohtml-1.9.16.jar owasp-esapi-full-java-1.4.jar resolver-2.9.1.jar serializer-2.9.1.jar slf4j-api-1.6.4.jar slf4j-log4j12-1.6.4.jar ws-commons-java5-1.0.1.jar ws-commons-util-1.0.2.jar xalan-2.7.1.jar xercesImpl-2.9.1.jar xml-apis-2.9.1.jar xml-apis-ext-1.3.04.jar xmlgraphics-commons-1.4.jar xmlrpc-client-3.1.2.jar xmlrpc-common-3.1.2.jar xmlrpc-server-3.1.2.jar xpp3_min-1.1.4c.jar xstream-1.3.1.jar yuicompressor-2.4.6.jar ant-apache-bsf-1.8.4.jar ant-contrib-1.0b3.jar ant-nodeps-1.8.1.jar commons-beanutils-1.8.3.jar commons-cli-1.2.jar commons-codec-1.6.jar commons-collections-3.2.1.jar commons-compress-1.4.1.jar commons-digester3-3.2.jar commons-discovery-0.4.jar commons-el-1.0.jar commons-fileupload-1.2.2.jar commons-io-2.4.jar commons-lang-2.6.jar commons-logging-1.1.1.jar commons-modeler-2.0.1.jar commons-net-3.1.jar commons-pool-1.3.jar commons-primitives-1.0.jar commons-validator-1.4.0.jar annotations-api-3.0.jar el-api-2.2.jar geronimo-activation_1.0.2_spec-1.0.jar geronimo-j2ee-connector_1.5_spec-1.0.jar geronimo-jaxrpc_1.1_spec-1.0.jar geronimo-jaxr_1.0_spec-1.0.jar geronimo-jms_1.1_spec-1.0.jar geronimo-jta_1.1_spec-1.1.1.jar geronimo-qname_1.1_spec-1.0.jar geronimo-saaj_1.1_spec-1.0.jar jsp-api-2.2.jar servlet-api-3.0.jar antlr-2.7.6.jar asm-3.2.jar asm-analysis-3.2.jar asm-tree-3.2.jar asm-util-3.2.jar bsf-2.4.0.jar bsh-2.0b4.jar groovy-all-1.8.6.jar jakarta-oro-2.0.8.jar janino-2.5.15.jar jansi-1.2.1.jar jline-0.9.94.jar jython-nooro.jar ecj-3.7.2.jar tomcat-7.0.32-catalina-ha.jar tomcat-7.0.32-catalina-tribes.jar tomcat-7.0.32-tomcat-embed-core.jar tomcat-7.0.32-tomcat-embed-jasper.jar tomcat-7.0.32-tomcat-embed-logging-log4j.jar commons-dbcp-1.4.jar derby-10.8.2.2.jar geronimo-connector-2.1.1.jar geronimo-transaction-2.1.1.jar com.sun.el-2.2.0.v201108011116.jar javax.servlet.jsp.jstl-1.2.0.v201105211821.jar jetty-ajp-8.1.2.v20120308.jar jetty-continuation-8.1.2.v20120308.jar jetty-http-8.1.2.v20120308.jar jetty-io-8.1.2.v20120308.jar jetty-security-8.1.2.v20120308.jar jetty-server-8.1.2.v20120308.jar jetty-servlet-8.1.2.v20120308.jar jetty-util-8.1.2.v20120308.jar jetty-webapp-8.1.2.v20120308.jar jetty-xml-8.1.2.v20120308.jar org.apache.jasper.glassfish-2.2.2.v201112011158.jar org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar org.eclipse.jdt.core-3.7.1.jar axiom-api-1.2.9.jar axiom-impl-1.2.9.jar axis-1.4.jar axis-ant-1.4.jar axis2-kernel-1.5.2.jar axis2-transport-http-1.5.2.jar axis2-transport-local-1.5.2.jar commons-httpclient-3.1.jar neethi-2.0.4.jar wsdl4j-1.6.2.jar XmlSchema-1.4.3.jar org.springframework.core-3.1.0.M2.jar org.springframework.test-3.1.0.M2.jar org.springframework.web-3.1.0.M2.jar DataVision-1.0.0.jar ezmorph-0.9.1.jar iText-2.1.7.jar json-lib-2.2.3-jdk15.jar rome-0.9.jar velocity-1.6.1.jar javacc.jar flute.jar jaxrpc.jar js.jar org.apache.xml.resolver_1.2.0.v201005080400.jar org.apache.xml.serializer_2.7.1.v201005080400.jar org.eclipse.birt.runtime_3.7.2.v20120214-1408.jar org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar org.eclipse.core.expressions_3.4.300.v20110228.jar org.eclipse.core.filesystem_1.3.100.v20110423-0524.jar org.eclipse.core.jobs_3.5.101.v20120113-1953.jar org.eclipse.core.resources_3.7.101.v20120125-1505.jar org.eclipse.core.runtime_3.7.0.v20110110.jar org.eclipse.datatools.connectivity.oda_3.3.3.v201110130935.jar org.eclipse.emf.common_2.7.0.v20120123-0926.jar org.eclipse.emf.ecore.change_2.7.1.v20120123-0926.jar org.eclipse.emf.ecore.xmi_2.7.0.v20120123-0926.jar org.eclipse.emf.ecore_2.7.0.v20120123-0926.jar org.eclipse.emf_2.6.0.v20120123-1045.jar org.eclipse.equinox.app_1.3.100.v20110321.jar org.eclipse.equinox.common_3.6.0.v20110523.jar org.eclipse.equinox.preferences_3.4.2.v20120111-2020.jar org.eclipse.equinox.registry_3.5.101.R37x_v20110810-1611.jar org.eclipse.osgi.services_3.3.0.v20110513.jar org.eclipse.osgi_3.7.2.v20120110-1415.jar org.eclipse.update.configurator_3.3.100.v20100512.jar org.w3c.css.sac_1.3.0.v200805290154.jar org.w3c.dom.smil_1.0.0.v200806040011.jar org.w3c.dom.svg_1.1.0.v201011041433.jar saaj.jar Tidy.jar viewservlets.jar attributes.jar ebaycalls.jar ebaysdkcore.jar helper.jar checkout-sdk-0.8.8.jar cas-server-core-3.3.jar jcl.jar jpos18-controls.jar looks-2.0.2.jar XuiCoreSwing-v3.2rc2b.jar XuiOptional-v3.2rc2b.jar Here is the APL code (apl+win format), was fun after a so long time. After 8 years of mostly Java, I was surprised how easily I remembered most needed things to get there quickly It's more for myself, because you need an APL+Win interpreter to read it. I will try later to see if I get a chance to show it using APL char, following http://aplwiki.com/AplToUnicodeII and http://bakerjd99.wordpress.com/tag/aplwin/ jar;ii;i;last;ind;libs;license;file � jar program to get the jars not in LICENSE file � Pragmatic: uses a for loop where it could be more "APL" � Gets the libs out of OFBiz in a libs file �cmd "dir /s /b d:\workspace\ofbizClean\*.jar > libs" � Ties the libs file "C:\APLWIN40\libs" �ntie �1 � Reads the libs file in a matrix (a table), removing LF and cutting with CR libs�SStoMATa �av[14],(�nread �1 82 (�nsize �1) 0)~�av[11] � Ties and reads the LICENSE file "D:\workspace\ofbizClean\LICENSE" �ntie �2 license�SStoMATa �av[14],(�nread �2 82 (�nsize �2) 0)~�av[11] � Gets the position of last \ on each line last�(�[2]+\libs='\')��(�/+\libs='\') � Sets the index from position of last \ to end of each line ind�last+��110-last � Loop around each line, get the jar name and print it if it's not in LICENSE file ii�0 : for i :in ind ii�ii+1 : if ~�/ "ofbiz" �libs[ii;i] file�libs[ii;i]~�av[33] : if ~�/�/file�license file :endif :endif :endfor PS: I have finally attached a jar.PDF where you can see the APL code. All this remembers me how fun it was to work with APL during 20 years
        Hide
        Jacques Le Roux added a comment -

        yuicompressor-2.4.6.jar is no longer an issue: reverted (was OFBIZ-4792) at r1416358
        saxon65.jar is there for newhelp (OFBIZ-4941), I will add it in LICENSE when I will commit, hopefully soon...

        Show
        Jacques Le Roux added a comment - yuicompressor-2.4.6.jar is no longer an issue: reverted (was OFBIZ-4792 ) at r1416358 saxon65.jar is there for newhelp ( OFBIZ-4941 ), I will add it in LICENSE when I will commit, hopefully soon...
        Hide
        Paul Piper added a comment -

        axis-2 is rather neat when it comes to hassling with SOAP. I would argue that perhaps instead of removing, we may want to make it easier to use? Apart from that: good job identifying.

        Show
        Paul Piper added a comment - axis-2 is rather neat when it comes to hassling with SOAP. I would argue that perhaps instead of removing, we may want to make it easier to use? Apart from that: good job identifying.
        Hide
        Jacques Le Roux added a comment - - edited

        == FORGOT TO REMOVE yuicompressor-2.4.6.jar ==

        I have added some jars in LICENSE which were committed with the update of docbook to version 1.77.1 at r1395298

        So in the list remain:

        jcip-annotations-1.0.jar
        log4j-1.2.16.jar
        slf4j-log4j12-1.6.4.jar
        xml-apis-ext-1.3.04.jar
        org.springframework.core-3.1.0.M2.jar
        org.springframework.test-3.1.0.M2.jar
        org.springframework.web-3.1.0.M2.jar

        Show
        Jacques Le Roux added a comment - - edited == FORGOT TO REMOVE yuicompressor-2.4.6.jar == I have added some jars in LICENSE which were committed with the update of docbook to version 1.77.1 at r1395298 So in the list remain: jcip-annotations-1.0.jar log4j-1.2.16.jar slf4j-log4j12-1.6.4.jar xml-apis-ext-1.3.04.jar org.springframework.core-3.1.0.M2.jar org.springframework.test-3.1.0.M2.jar org.springframework.web-3.1.0.M2.jar
        Hide
        Jacques Le Roux added a comment -

        Hi Paul, we don't want to remove Axis2 at all, I guess it's a misunderstanding?

        Show
        Jacques Le Roux added a comment - Hi Paul, we don't want to remove Axis2 at all, I guess it's a misunderstanding?
        Hide
        Paul Piper added a comment -

        Very likely, Jacques

        Show
        Paul Piper added a comment - Very likely, Jacques
        Hide
        Jacques Le Roux added a comment -

        Added some in LICENSE, remain:

        log4j-1.2.16.jar
        slf4j-log4j12-1.6.4.jar
        org.springframework.core-3.1.0.M2.jar
        org.springframework.test-3.1.0.M2.jar
        org.springframework.web-3.1.0.M2.jar

        Show
        Jacques Le Roux added a comment - Added some in LICENSE, remain: log4j-1.2.16.jar slf4j-log4j12-1.6.4.jar org.springframework.core-3.1.0.M2.jar org.springframework.test-3.1.0.M2.jar org.springframework.web-3.1.0.M2.jar
        Hide
        Jacopo Cappellato added a comment -

        In rev. 1416813 I have fixed slf4j-log4j12-1.6.4.jar.

        Show
        Jacopo Cappellato added a comment - In rev. 1416813 I have fixed slf4j-log4j12-1.6.4.jar.
        Hide
        Jacopo Cappellato added a comment -

        And in rev. 1416815 the one for log4j-1.2.16.jar

        Show
        Jacopo Cappellato added a comment - And in rev. 1416815 the one for log4j-1.2.16.jar
        Hide
        Jacques Le Roux added a comment -

        Also I checked, if we refer to name (snap in name) we have only one snapshot jar and I think it's needed: jdbm-1.0-SNAPSHOT.jar see http://jdbm.sourceforge.net/

        So we are close to close

        Show
        Jacques Le Roux added a comment - Also I checked, if we refer to name (snap in name) we have only one snapshot jar and I think it's needed: jdbm-1.0-SNAPSHOT.jar see http://jdbm.sourceforge.net/ So we are close to close
        Hide
        Jacques Le Roux added a comment -

        This is completed with r1417329

        Show
        Jacques Le Roux added a comment - This is completed with r1417329

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            Jacques Le Roux
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development