You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2012/12/03 07:49:58 UTC

[jira] [Commented] (OFBIZ-4833) Housekeeping of jar files

    [ https://issues.apache.org/jira/browse/OFBIZ-4833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508503#comment-13508503 ] 

Jacques Le Roux commented on OFBIZ-4833:
----------------------------------------

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/

{code}
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
{code}

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 :) 
                
> Housekeeping of jar files
> -------------------------
>
>                 Key: OFBIZ-4833
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4833
>             Project: OFBiz
>          Issue Type: Task
>          Components: ALL COMPONENTS
>    Affects Versions: SlimDown
>            Reporter: Jacques Le Roux
>            Priority: Minor
>         Attachments: jar.pdf
>
>
> This include these "subtasks"
> # -make sure all jar files are marked as binary-
> # make sure they are listed properly in LICENSE (and if required NOTICE) file
> # make sure we are running stable versions and not snapshots (whenever possible)
> # -upgrade jars to use latest versions (whenever possible)-
> # -remove jars no more needed-
> # -rename old jars to add release numbers in the file name-
> See [this thread|http://markmail.org/message/z4sl4chpgdfacydq] 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|http://svn.apache.org/viewvc?rev=1328918&view=rev]
> * -mail.jar- renamed at r1329565, see [comment there|http://svn.apache.org/viewvc?rev=1329565&view=rev]
> * -nekohtml.jar- renamed  at r1343038 see [comment there|http://svn.apache.org/viewvc?rev=1343038&view=rev]
> * -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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira