Seite 2 von 2

Verfasst: 03 Mär 2004, 11:49
von Til
Oh oh... Da scheint das cvs-Zip wohl nicht mehr alle nötigen Dateien zu enthalten :roll:. Ich werde das berichtigen. Allerdings komme ich erst frühestens heute Abend dazu.

Du kannst entweder so lange warten, oder du kannst die Dateien selbst aus dem CVS auschecken. Wie das geht, kannst du hier nachlesen.

Verfasst: 03 Mär 2004, 14:22
von igor
absolut kein problem. kann ich auch selbst auschecken. wusste nur nicht ob das bei euch auch anonym funktioniert oder ob ich da einen bestimmten user mit passwort brauche. =)

werde mich morgen dann mal in die sourcen vertiefen.

cheers =)
*igor*

Verfasst: 04 Mär 2004, 13:46
von bodo
Auschecken geht auch anonym, steht auf der SF-Projektseite beschrieben, wenn du da auf CVS gehst. (http://sf.net/projects/tvbrowser). Nur einchecken geht dann halt nich ;)

Bodo

Verfasst: 04 Mär 2004, 21:39
von igor
hallo

bin endlich dazugekommen und hab' mir das projekt aus dem cvs ausgecheckt und wollte es zunaechst mal direkt mit folgenden programmversionen von jdk/ant compilieren:

Code: Alles auswählen

[igor@obda tvbrowser]$ java -version
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)
[igor@obda tvbrowser]$ ant -version
Apache Ant version 1.6.1 compiled on February 12 2004
leider hat das auch nicht funktioniert :-(
hier der output:

Code: Alles auswählen

Buildfile: build.xml

make:
     [echo] Compiling the source code ...
    [mkdir] Created dir: /home/igor/tvbrowser/classes
    [javac] Compiling 257 source files to /home/igor/tvbrowser/classes
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/filter/dlgs/EditFilterDlg.java:275: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
    [javac]             java.util.Enumeration enum=mRuleListModel.elements();
    [javac]                                   ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/filter/dlgs/EditFilterDlg.java:276: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
    [javac]             while (enum.hasMoreElements()) {
    [javac]                    ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/filter/dlgs/EditFilterDlg.java:277: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
    [javac]               FilterComponentList.add((FilterComponent)enum.nextElement());
    [javac]                                                        ^
    [javac] /home/igor/tvbrowser/src/tvraterplugin/Updater.java:291: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
    [javac] 		Enumeration enum = table.elements();
    [javac]                             ^
    [javac] /home/igor/tvbrowser/src/tvraterplugin/Updater.java:292: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
    [javac] 		while (enum.hasMoreElements()) {
    [javac]                        ^
    [javac] /home/igor/tvbrowser/src/tvraterplugin/Updater.java:296: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
    [javac] 			Program prog = (Program) enum.nextElement();
    [javac]                                                  ^
    [javac] /home/igor/tvbrowser/src/tvraterplugin/Updater.java:40: package org.apache.xalan.serialize does not exist
    [javac] import org.apache.xalan.serialize.SerializerToXML;
    [javac]                                   ^
    [javac] /home/igor/tvbrowser/src/primarydatamanager/DayProgramFileTranslator.java:199: warning: [deprecation] INFO_SUBTITLE in devplugin.Program has been deprecated
    [javac]     if (bitSet(info, Program.INFO_SUBTITLE)) {
    [javac]                             ^
    [javac] /home/igor/tvbrowser/src/printplugin/PrintDialog.java:123: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]           hide();  
    [javac]           ^
    [javac] /home/igor/tvbrowser/src/printplugin/PrintDialog.java:131: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]         hide();  
    [javac]         ^
    [javac] /home/igor/tvbrowser/src/programinfo/ProgramInfo.java:146: warning: [deprecation] show() in java.awt.Dialog has been deprecated
    [javac]       dlg.show();
    [javac]          ^
    [javac] /home/igor/tvbrowser/src/reminderplugin/ReminderDialog.java:108: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]         hide();
    [javac]         ^
    [javac] /home/igor/tvbrowser/src/reminderplugin/ReminderDialog.java:117: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]         hide();
    [javac]         ^
    [javac] /home/igor/tvbrowser/src/reminderplugin/ReminderListDialog.java:97: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]         hide();
    [javac]         ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/TVBrowser.java:272: warning: [deprecation] show() in java.awt.Window has been deprecated
    [javac]           mainFrame.show();          
    [javac]                    ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/TVBrowser.java:292: warning: [deprecation] show() in java.awt.Window has been deprecated
    [javac]             mainFrame.show();
    [javac]                      ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/TVBrowser.java:309: warning: [deprecation] hide() in java.awt.Window has been deprecated
    [javac]           mainFrame.hide();
    [javac]                    ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/TVBrowser.java:335: warning: [deprecation] show() in java.awt.Window has been deprecated
    [javac]       mainFrame.show();
    [javac]                ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/TVBrowser.java:339: warning: [deprecation] hide() in java.awt.Window has been deprecated
    [javac]     splash.hide();
    [javac]           ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/mainframe/MainFrame.java:427: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]     mConfigAssistantDialog.hide();
    [javac]                           ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/aboutbox/AboutBox.java:76: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]         parentFrame.hide();
    [javac]                    ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/configassistant/ConfigAssistant.java:159: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]         hide();
    [javac]         ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/configassistant/ConfigAssistant.java:175: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]          hide();
    [javac]          ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/configassistant/ConfigAssistant.java:179: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]           hide();
    [javac]           ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/configassistant/TvdataAssistantDlg.java:57: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]         hide();
    [javac]         ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/configassistant/TvdataImportDlg.java:72: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]         hide();
    [javac]         ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/configassistant/TvdataImportDlg.java:97: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]           hide();
    [javac]           ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/filter/dlgs/EditFilterComponentDlg.java:176: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]             hide();
    [javac]             ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/filter/dlgs/EditFilterComponentDlg.java:180: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]             hide();
    [javac]             ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/filter/dlgs/EditFilterDlg.java:282: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]               hide();
    [javac]               ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/filter/dlgs/EditFilterDlg.java:289: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]           hide();
    [javac]           ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/filter/dlgs/SelectFilterDlg.java:190: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]             hide();
    [javac]             ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/filter/dlgs/SelectFilterDlg.java:193: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]             hide();
    [javac]             ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/licensebox/LicenseBox.java:95: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]           hide();
    [javac]           ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/licensebox/LicenseBox.java:116: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]       hide();
    [javac]       ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/licensebox/LicenseBox.java:120: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]       hide();
    [javac]       ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/settings/ChannelConfigDlg.java:125: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]       mDialog.hide();  
    [javac]              ^
    [javac] /home/igor/tvbrowser/src/tvbrowser/ui/update/SoftwareUpdateDlg.java:77: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac] 		hide();
    [javac]                 ^
    [javac] /home/igor/tvbrowser/src/tvbrowserdataservice/file/SummaryFile.java:181: warning: [deprecation] Date(int) in devplugin.Date has been deprecated
    [javac]     Date startDate = new Date(startDaysSince1970);
    [javac]                      ^
    [javac] /home/igor/tvbrowser/src/tvbrowserdataservice/file/SummaryFile.java:237: warning: [deprecation] Date(int) in devplugin.Date has been deprecated
    [javac]     Date startDate = new Date(minStartDaysSince1970);
    [javac]                      ^
    [javac] /home/igor/tvbrowser/src/tvraterplugin/DialogOverview.java:155: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac] 				hide();
    [javac]                                 ^
    [javac] /home/igor/tvbrowser/src/tvraterplugin/TVRaterPlugin.java:97: warning: [deprecation] show() in java.awt.Dialog has been deprecated
    [javac]             dlg.show();
    [javac]                ^
    [javac] /home/igor/tvbrowser/src/tvraterplugin/TVRaterPlugin.java:119: warning: [deprecation] show() in java.awt.Dialog has been deprecated
    [javac]             dlg.show();
    [javac]                ^
    [javac] /home/igor/tvbrowser/src/tvraterplugin/DialogRating.java:183: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac] 				hide();
    [javac]                                 ^
    [javac] /home/igor/tvbrowser/src/tvraterplugin/DialogRating.java:215: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac] 		hide();
    [javac]                 ^
    [javac] /home/igor/tvbrowser/src/tvraterplugin/Updater.java:235: cannot find symbol
    [javac] symbol  : class SerializerToXML
    [javac] location: class tvraterplugin.Updater
    [javac] 		SerializerToXML serializer = new SerializerToXML();
    [javac]                 ^
    [javac] /home/igor/tvbrowser/src/tvraterplugin/Updater.java:235: cannot find symbol
    [javac] symbol  : class SerializerToXML
    [javac] location: class tvraterplugin.Updater
    [javac] 		SerializerToXML serializer = new SerializerToXML();
    [javac]                                                  ^
    [javac] /home/igor/tvbrowser/src/util/ui/HelpDialog.java:194: warning: [deprecation] show() in java.awt.Dialog has been deprecated
    [javac]     mDialog.show();
    [javac]            ^
    [javac] /home/igor/tvbrowser/src/util/ui/UiUtilities.java:84: warning: [deprecation] show() in java.awt.Window has been deprecated
    [javac]     win.show();
    [javac]        ^
    [javac] /home/igor/tvbrowser/src/util/ui/progress/ProgressWindow.java:63: warning: [deprecation] hide() in java.awt.Dialog has been deprecated
    [javac]         mDialog.hide();
    [javac]                ^
    [javac] 3 errors
    [javac] 47 warnings

BUILD FAILED
/home/igor/tvbrowser/build.xml:179: Compile failed; see the compiler error output for details.

Total time: 9 seconds
mit der bitte um hilfe & cheers =)
*igor*

Verfasst: 04 Mär 2004, 23:13
von Martin
Die Warnings liegen wohl am neuen java 1.5.
Am error ist das tvraterplugin schuld. Da fehlt wohl noch was - bodo?

Lösche einfach das Verzeichnis src/tvraterplugin. dann sollte es klappen.

Verfasst: 05 Mär 2004, 07:35
von bodo
Das was fehlt is in Xalan drin, das sollte in der rt.jar enthalten sein. Jedenfalls in der 1.4er Version. In der 1.5er hab ich mir das noch nie angesehen ;). Werd das mal überprüfen. Zur not reichts völlig, die xalan.jar in den Pfad einzubauen. Das ding kann man hier runterladen...

Bodo