From Fedora Project Wiki

This page outlines the efforts involved in packaging the Google Web Toolkit (gwt) for Fedora.

Bundled jar's

GWT has many build requirements. As currently distributed, the build-time requirements are bundled with the source code. This practice if forbidden according to the Fedora packaging guidelines (see Packaging:Java#Pre-built_JAR_files_.2F_Other_bundled_software). Therefore, each bundled jar file will need to be removed from gwt and packaged in Fedora. The gwt.spec file will be modified to add additional BuildRequires and link to the appropriate jar file packaged in Fedora.

The following sections detail the status of the jar files included in the gwt source.

Status uncertain

The following table lists the jar files that could not be found in existing Fedora or JPackage RPM packages. Each of the files listed will need to be reviewed to determine ...

  1. Is this a true build dependency for building gwt?
  2. Where is the upstream project?
  3. What is the package status?
Filename Status
tools/lib/selenium/selenium-java-client-driver.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/selenium/1.0.1/selenium-java-client-driver.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/selenium/1.0.1/selenium-server.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/selenium/selenium-server.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/htmlunit/htmlunit-core-js-r5070.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/htmlunit/htmlunit-r5070.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/htmlunit/htmlunit-core-js-2.5.jar Can be ignored if skip tests during build User:akurtakov. Would need to adjust build scripts to do a 'buildonly' and not run tests.
tools/lib/protobuf/protobuf-2.2.0/protobuf-java-2.2.0.jar
tools/lib/protobuf/protobuf-2.2.0/protobuf-java-rebased-2.2.0.jar
tools/lib/sun/swingworker/swing-worker-1.1.jar May not be needed because it may be a part of jdk6 - User:akurtakov
tools/lib/javaswf/javaswf-20050404.jar
tools/lib/tomcat/servlets-common-1.0.jar Should be obsoleted by something in tomcat5 or tomcat6
tools/lib/tomcat/tomcat-http11-1.0.jar Should be obsoleted by something in tomcat5 or tomcat6
tools/lib/tomcat/tomcat-jk2-2.1.jar Should be obsoleted by something in tomcat5 or tomcat6
tools/redist/emma/emma-2.0.5312-patched.jar Need to find out how this differs from Fedora package emma
tools/lib/tomcat/naming-common-1.0.jar Possibly directory-naming, need to compare contents

Unpackaged Dependencies

The following bundled JAR files are not packaged in Fedora or JPackage. These JAR files will need to be packaged for Fedora.

Check out User:akurtakov's Java Maven Packaging Guide for help.

Filename Project URL Status
tools/lib/easymock/easymockclassextension.jar
tools/api-checker/reference/gwt-dev-modified.jar
tools/api-checker/reference/gwt-user-modified.jar

JPackage Dependencies

The following bundled JAR files have been packaged at JPackage, but will need to go through the Fedora package review process so that gwt can be build in the Fedora build system.

Dependency Required By JPackage Status
tools/lib/apache/tapestry-util-text-4.0.2.jar gwt JPackage
tools/lib/htmlunit/htmlunit-2.5.jar gwt JPackage

Fedora Dependencies

The following bundled JAR files are already packaged and available in fedora. Most likely, no additional work is required for these packages.

Filename Package
tools/lib/easymock/easymock.jar easymock
tools/lib/xalan/xalan-2.7.1.jar xalan-x2, xerces-j2
tools/lib/junit/junit-3.8.1.jar junit
tools/lib/eclipse/jdt-3.1.1.jar eclipse-jdt
tools/lib/eclipse/jdt-3.4.2.jar eclipse-jdt
tools/lib/eclipse/jdt-3.3.1.jar eclipse-jdt
tools/lib/eclipse/org.eclipse.swt.gtk-linux-3.2.1.jar eclipse-swt
tools/lib/jetty/jetty-6.1.11.jar jetty
tools/lib/jfreechart/jfreechart-1.0.3.jar jfreechart
tools/lib/jfreechart/jcommon-1.0.6.jar jcommon
tools/lib/jfreechart/itext-1.4.6.jar itext
tools/lib/apache/commons/commons-collections-3.2.1.jar jakarta-commons-collections
tools/lib/apache/commons/commons-io-1.4.jar jakarta-commons-io
tools/lib/apache/commons/commons-httpclient-3.1.jar jakarta-commons-httpclient
tools/lib/apache/commons/commons-codec-1.3.jar jakarta-commons-codec
tools/lib/apache/commons/commons-lang-2.4.jar jakarta-commons-lang
tools/lib/apache/commons/commons-logging-1.1.1.jar jakarta-commons-logging
tools/lib/apache/ant-1.7.1.jar ant
tools/lib/apache/ant-1.6.5.jar see ant-1.7.1
tools/lib/apache/ant-1.6.1.jar see ant-1.7.1
tools/lib/nekohtml/nekohtml-1.9.13.jar nekohtml
tools/lib/nekohtml/nekohtml-1.9.12.jar see neko-1.9.13
tools/lib/xerces/xerces-2_9_1/serializer.jar xalan-j2
tools/lib/xerces/xerces-2_9_1/xercesImpl.jar xerces-j2
tools/lib/xerces/xerces-2_9_1/xercesImpl-NoMetaInf.jar
tools/lib/xerces/xerces-2.0.2.jar xerces-j2
tools/lib/objectweb/asm-tree-3.1.jar objectweb-asm
tools/lib/objectweb/asm-analysis-3.1.jar objectweb-asm
tools/lib/objectweb/asm-xml-3.1.jar objectweb-asm
tools/lib/objectweb/asm-commons-3.1.jar objectweb-asm
tools/lib/objectweb/asm-util-3.1.jar objectweb-asm
tools/lib/objectweb/asm-3.1.jar objectweb-asm
tools/lib/w3c/flute/flute-1.3.jar flute
tools/lib/w3c/sac/sac-1.3.jar sac
tools/lib/tomcat/jasper-compiler-1.0.jar tomcat5-jasper
tools/lib/tomcat/naming-java-1.0.jar directory-naming
tools/lib/tomcat/catalina-1.0.jar tomcat6-lib
tools/lib/tomcat/servlet-api-2.4.jar tomcat5-servlet-2.4-api
tools/lib/tomcat/naming-resources-1.0.jar tomcat5-common-lib
tools/lib/tomcat/servlet-api-2.5.jar tomcat6-servlet-2.5-api
tools/lib/tomcat/servlets-default-1.0.jar tomcat5-server-lib
tools/lib/tomcat/commons-beanutils-1.6.jar jakarta-commons-beanutils
tools/lib/tomcat/mx4j-jmx-1.1.jar mx4j
tools/lib/tomcat/jsp-api-2.1.jar tomcat6-jsp-2.1-api
tools/lib/tomcat/commons-collections-3.1.jar jakarta-commons-collections
tools/lib/tomcat/servlets-invoker-1.0.jar tomcat5-server-lib
tools/lib/tomcat/catalina-optional-1.0.jar tomcat5-server-lib
tools/lib/tomcat/commons-digester-1.5.jar jakarta-commons-digester
tools/lib/tomcat/jsp-api-2.0.jar tomcat5-jsp
tools/lib/tomcat/jasper-runtime-1.0.jar tomcat5-jasper
tools/lib/tomcat/ant-launcher-1.6.5.jar ant
tools/lib/tomcat/commons-modeler-1.1.jar jakarta-commons-modeler
tools/lib/tomcat/naming-factory-1.0.jar tomcat5-common-lib
tools/lib/tomcat/ant-launcher-1.7.1.jar ant
tools/lib/tomcat/jakarta-regexp-1.3.jar ant-apache-regexp
tools/lib/tomcat/commons-logging-1.0.jar jakarta-commons-logging
tools/lib/tomcat/commons-el-1.0.jar jakarta-commons-el
tools/lib/tomcat/tomcat-coyote-1.0.jar tomcat5-server-lib
tools/lib/tomcat/tomcat-util-5.1.jar tomcat5-server-lib
tools/redist/emma/com.mountainminds.eclemma.core_1.3.2.jar eclipse-eclemma
tools/redist/emma/emma.jar emma
tools/redist/emma/emma_ant-2.0.5312.jar emma
tools/antlib/ant-junit-1.6.5.jar ant-junit
tools/antlib/checkstyle-all-4.2.jar checkstyle
tools/antlib/ant-contrib-1.0b3.jar ant-contrib
tools/antlib/ant-junit-1.7.1.jar ant-junit
tools/lib/tonicsystems/jarjar-1.0rc8.jar jarjar
tools/lib/xerces/xml-apis-2.0.2.jar Possibly xml-commons-apis, may need to compare content
tools/lib/xerces/xerces-2_9_1/xml-apis.jar Possibly xml-commons-apis, may need to compare content
tools/lib/cssparser/cssparser-0.9.5.jar cssparser

Safe to ignore

The following bundled JAR files have been deemed safe to ignore. It has been determined that they are not true build requirements for packaging gwt in Fedora

Filename Package Name Reason
tools/lib/selenium/selenium-java-client-driver-sources.jar
tools/lib/selenium/1.0.1/selenium-server-sources.jar selenium-server
tools/lib/selenium/selenium-server-sources.jar selenium-server
tools/lib/htmlunit/htmlunit-core-js-2.5-sources.jar JPackage
tools/lib/htmlunit/htmlunit-r5070-sources.jar JPackage
tools/lib/htmlunit/htmlunit-core-js-r5070-sources.jar JPackage
tools/lib/htmlunit/htmlunit-2.5-sources.jar JPackage
dev/core/test/com/google/gwt/dev/resource/impl/testdata/cpe1.jar ??? Recommended by User:akurtakov
dev/core/test/com/google/gwt/dev/resource/impl/testdata/cpe2.jar ??? Recommended by User:akurtakov
eclipse/settings/code-style/gwt-customchecks.jar gwt's eclipse/README.txt says this is for 'custom GWT Checkstyle checks' and 'is also built from source into build/lib during a full build' - User:AdamWill
tools/lib/eclipse/org.eclipse.swt.win32-win32-3.2.1.jar We're not building for win32
tools/lib/eclipse/org.eclipse.swt.carbon-macosx-3.2.1.jar We're not building for OSX