Gil, I recommend working from the branch that I've been working on, http://svn.openlaszlo.org/openlaszlo/branches/toolsmigration/ because I've been cleaning some of this up as I run into it. A big scrub of the tree and the process is on my wish-list, but I'm not sure when it will be the right thing to do.
On May 24, 2006, at 5:28 PM, Gil Bahat wrote:
Since you brought up the jar issue, this is the one issue I'm trying to sortwhile working on the debian packageThe presence of any jar file which is available in debian as part of the debian package build seems to be a violation of debian's policy, as far as Iunderstand it.I did check and most of the jars are, in fact, available under the variousdebian packages.
Here are all the jars that turned up in my list:
commons-jxpath.jar fop.jar servlet-2.3.jar xercesImpl.jar servlet-2.3.jar activation.jar axis.jar batik-css.jar batik-svggen.jar batik-util.jar commons-beanutils.jar commons-collections.jar commons-discovery.jar commons-httpclient-2.0-rc1.jar commons-jexl-1.0-dev.jar commons-logging.jar ftp.jar iso-relax.jar jakarta-regexp-1.2.jar jaxrpc.jar jdom.jar jing.jar jython.jar log4j-1.2.6.jar lps-toolsmigration.jar saaj.jar sac.jar saxon-6.5.3-lz-p1.jar swflib.jar wsdl4j.jar xmlrpc-1.2-b1.jar xpp3-1.1.3.4d_b4.jar bootstrap.jar commons-daemon.jar commons-logging-api.jar jmx.jar xalan.jar xercesImpl.jar xmlParserAPIs.jar ant.jar commons-collections.jar commons-dbcp-1.1.jar commons-el.jar commons-logging.jar commons-pool-1.1.jar jasper-compiler.jar jasper-runtime.jar jsp-api.jar log4j-1.2.6.jar naming-common.jar naming-factory.jar naming-java.jar naming-resources.jar servlet-api.jar catalina-ant.jar catalina-cluster.jar catalina-i18n-es.jar catalina-i18n-fr.jar catalina-i18n-ja.jar catalina-optional.jar catalina.jar commons-beanutils.jar commons-digester.jar commons-fileupload-1.0.jar commons-modeler.jar jakarta-regexp-1.3.jar jkconfig.jar jkshm.jar servlets-common.jar servlets-default.jar servlets-invoker.jar servlets-webdav.jar tomcat-coyote.jar tomcat-http11.jar tomcat-jk.jar tomcat-jk2.jar tomcat-jni.jar tomcat-util.jar servlet-2.3.jar activation.jar axis.jar batik-css.jar batik-svggen.jar batik-util.jar commons-beanutils.jar commons-collections.jar commons-discovery.jar commons-httpclient-2.0-rc1.jar commons-jexl-1.0-dev.jar commons-logging.jar ftp.jar iso-relax.jar jakarta-regexp-1.2.jar jaxrpc.jar jdom.jar jing.jar jython.jar log4j-1.2.6.jar lps-toolsmigration.jar saaj.jar sac.jar saxon-6.5.3-lz-p1.jar swflib.jar wsdl4j.jar xmlrpc-1.2-b1.jar xpp3-1.1.3.4d_b4.jar bootstrap.jar commons-daemon.jar commons-logging-api.jar jmx.jar xalan.jar xercesImpl.jar xmlParserAPIs.jar ant.jar commons-collections.jar commons-dbcp-1.1.jar commons-el.jar commons-logging.jar commons-pool-1.1.jar jasper-compiler.jar jasper-runtime.jar jsp-api.jar log4j-1.2.6.jar naming-common.jar naming-factory.jar naming-java.jar naming-resources.jar servlet-api.jar catalina-ant.jar catalina-cluster.jar catalina-i18n-es.jar catalina-i18n-fr.jar catalina-i18n-ja.jar catalina-optional.jar catalina.jar commons-beanutils.jar commons-digester.jar commons-fileupload-1.0.jar commons-modeler.jar jakarta-regexp-1.3.jar jkconfig.jar jkshm.jar servlets-common.jar servlets-default.jar servlets-invoker.jar servlets-webdav.jar tomcat-coyote.jar tomcat-http11.jar tomcat-jk.jar tomcat-jk2.jar tomcat-jni.jar tomcat-util.jar commons-httpclient-2.0-rc1.jar jdom.jar log4j-1.2.6.jar xerces.jar servlet-2.2.jar jdbcpool-0.99.jar jdom.jar log4j-1.2.6.jar mysql-connector-java-3.0.6-stable-bin.jar servlet-2.2.jar jdbcpool-0.99.jar jdom.jar log4j-1.2.6.jar mysql-connector-java-3.0.6-stable-bin.jar activation.jar axis-ant.jar axis.jar commons-discovery.jar commons-logging.jar jaxrpc.jar log4j-1.2.8.jar saaj.jar wsdl4j.jar activation.jar axis.jar batik-css.jar batik-svggen.jar batik-util.jar commons-beanutils.jar commons-collections.jar commons-discovery.jar commons-httpclient-2.0-rc1.jar commons-jexl-1.0-dev.jar commons-logging.jar ftp.jar iso-relax.jar jakarta-regexp-1.2.jar jaxrpc.jar jdom.jar jing.jar jython.jar log4j-1.2.6.jar lps-toolsmigration.jar saaj.jar sac.jar saxon-6.5.3-lz-p1.jar swflib.jar wsdl4j.jar xmlrpc-1.2-b1.jar xpp3-1.1.3.4d_b4.jar lps-toolsmigration.jar
However, we might not actually be using all the jars in that list.Lots of these jars are fairly common, if perhaps not the most recent version; we put them into the OpenLaszlo distribution to reduce the complexity of the installation that the user has to do by hand.
I did note that one of the ant build files had disabled the globalclasspath! I presume there is a reason for that though. I suppose much of the work in debianizing the package would be to patch the ant build files to use the global classpath, and to make sure the rest of the jars are in factavailable in debian.
This has been confusing me a bit, too. The environment variable CLASSPATH does matter to the build, so I'm not sure quite what is meant by
<!-- Ignore the system classpath -->
<property name="build.sysclasspath" value="ignore" />
Anyway, as is, it is very hard to even begin the debianization of thepackage. Is there any list of the software packages that openlaszlo needsfor the build, or must I derive it from the list of jars myself?
The subversion build instructions might help: http:// wiki.openlaszlo.org/SubversionBuildInstructions
They list the non-jar dependencies. Also look at http://svn.openlaszlo.org/tools/trunk/env/setup-lps.sh
Gil Bahat. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Shine Sent: Thursday, May 25, 2006 12:08 AM To: OpenLaszlo development and bug reporting Subject: Re: [Laszlo-dev] multiple instances of jars in the tree This was only 20% as bad as I thought it was. If I first do "ant clean", then count the number of jars, I only get 99 jars, which means, only 22 are duplicated in the source tree. On May 24, 2006, at 3:01 PM, Benjamin Shine wrote:This was revealing: First I counted the number of jars in the openlaszlo/branches/ toolsmigration tree: $ rm alljars.txt $ for i in `find . -name "*.jar"`; do basename $i >> alljars.txt; done; wc -l alljars.txt 203 Then I trimmed that list down to only contain unique file names: $ sort alljars.txt | uniq | wc -l 78 I'm pretty sure this means we have ~125 jars duplicated in the tree. Filed as http://www.openlaszlo.org/jira/browse/LPP-2099 -- Jim or Amy, want to give it a priority and fix-for? I assigned it to me, because I'm all classpathy this month. _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev_______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
_______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
