Re: [Openproj-developers] how to build??? Progaurd warnings about missing superclasses
Open Source desktop project management
Brought to you by:
akheirol
From: Laurent C. <lch...@op...> - 2008-01-04 23:33:11
|
Those warnings are normal, you can ignore them. If you do "ant contrib" in openproj_contrib you should have the following output: ... contrib: [proguard] ProGuard, version 3.6 [proguard] ProGuard is released under the GNU General Public License. The authors of all [proguard] programs or plugins that link to it (sun.reflect, net.sf.antcontrib.logic, ...) therefore [proguard] must ensure that these programs carry the GNU General Public License as well. [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/tmp/openproj-contrib-tmp.jar] [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/commons-beanutils.jar] (filtered) [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/commons-digester.jar] (filtered) [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/commons-pool.jar] (filtered) [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/commons-collections.jar] (filtered) [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/commons-logging-api.jar] (filtered) [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/forms.jar] (filtered) [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/jlfgr.jar] (filtered) [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/l2fprod-common-totd-modified.jar] (filtered) [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/nachocalendar.jar] (filtered) [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/jfreechart.jar] (filtered) [proguard] Reading program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/jcommon.jar] (filtered) [proguard] Reading library jar [/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/rt.jar] [proguard] Reading library jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/junit.jar] [proguard] Warning: javax.swing.JDialog: can't find superclass or interface javax.swing.TransferHandler$HasGetTransferHandler [proguard] Warning: javax.swing.JComponent: can't find superclass or interface javax.swing.TransferHandler$HasGetTransferHandler [proguard] Warning: javax.swing.JFrame: can't find superclass or interface javax.swing.TransferHandler$HasGetTransferHandler [proguard] Warning: org.jfree.chart.servlet.DisplayChart: can't find superclass or interface javax.servlet.http.HttpServlet [proguard] Warning: javax.swing.JApplet: can't find superclass or interface javax.swing.TransferHandler$HasGetTransferHandler [proguard] Warning: org.jfree.chart.servlet.ChartDeleter: can't find superclass or interface javax.servlet.http.HttpSessionBindingListener [proguard] Warning: there were 6 unresolved references to superclasses or interfaces. [proguard] You may need to specify additional library jars (using '-libraryjars'), [proguard] or perhaps the '-dontskipnonpubliclibraryclasses' option. [proguard] Preparing output jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/openproj-contrib.jar] [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/tmp/openproj-contrib-tmp.jar] [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/commons-beanutils.jar] (filtered) [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/commons-digester.jar] (filtered) [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/commons-pool.jar] (filtered) [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/commons-collections.jar] (filtered) [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/commons-logging-api.jar] (filtered) [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/forms.jar] (filtered) [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/jlfgr.jar] (filtered) [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/l2fprod-common-totd-modified.jar] (filtered) [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/nachocalendar.jar] (filtered) [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/jfreechart.jar] (filtered) [proguard] Copying resources from program jar [/fast/tmp/openproj-0.9.6-src/openproj_contrib/lib/jcommon.jar] (filtered) BUILD SUCCESSFUL Total time: 11 seconds You can also disable proguard: http://sourceforge.net/forum/message.php?msg_id=4624415 Brian Nitz a écrit : > I'm trying to build openproj from source on OpenSolaris. The > documentation in openproj-0.9.6-src/openproj_build/doc/building.html is > missing some details > > > >> Go to the openproj_build project, and >> just . This builds everything. You can also run inside Eclipse. The >> main method is com.projity.Main.main() in openproj_ui. >> > just . ???? > > I guessed run ant since there is a build.xml file sitting in the > openproj_build directory. Unfortunately this fails afte I see proguard > warnings about missing superclasses: > > [proguard] Warning: javax.swing.JDialog: can't find superclass or > interface javax.swing.TransferHandler$HasGetTransferHandler > [proguard] Warning: javax.swing.JComponent: can't find superclass or > interface javax.swing.TransferHandler$HasGetTransferHandler > [proguard] Warning: javax.swing.JFrame: can't find superclass or > interface javax.swing.TransferHandler$HasGetTransferHandler > [proguard] Warning: org.jfree.chart.servlet.DisplayChart: can't find > superclass or interface javax.servlet.http.HttpServlet > [proguard] Warning: javax.swing.JApplet: can't find superclass or > interface javax.swing.TransferHandler$HasGetTransferHandler > [proguard] Warning: org.jfree.chart.servlet.ChartDeleter: can't find > superclass or interface javax.servlet.http.HttpSessionBindingListener > [proguard] Warning: there were 6 unresolved references to superclasses > or interfaces. > [proguard] You may need to specify additional library jars > (using '-libraryjars'), > [proguard] or perhaps the '-dontskipnonpubliclibraryclasses' > option. > > I haven't been able to find out where I'd specify > -dontskipnopubliclibraryclasses or what -libraryjar options are > necessary. Can anyone help? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Openproj-developers mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openproj-developers > |