[Dspace-general] Dspace 1.3.2 and Fedora core 4

Iulian Surugiu omikorn at yahoo.com
Thu Jan 5 21:18:07 EST 2006


 Hi all i followed the steps from the documentation but i can`t get rid of this error. Also i can find preety poor information on google.
My operating system is FC4:
ant-1.6.2-3jpp_8fc
tomcat5-5.0.30-5jpp_6fc
java-1.4.2-gcj-compat-1.4.2.0-40jpp_31rh.FC4.2
gcc-java-4.0.2-8.fc4
tomcat5-servlet-2.4-api-javadoc-5.0.30-5jpp_6fc
java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_31rh.FC4.2

What am i missing?

[dspace at qualcon-sing dspace-1.3.2-source]$ ant fresh_install
Buildfile: build.xml

compile:
    [javac] Compiling 1 source file to /tmp/dspace-1.3.2-source/build/classes
    [javac] ----------
    [javac] 1. ERROR in /tmp/dspace-1.3.2-source/src/org/dspace/app/mediafilter/HTMLFilter.java
    [javac]  (at line 46)
    [javac]     import javax.swing.text.html.HTMLEditorKit;
    [javac]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The import javax.swing.text.html.HTMLEditorKit cannot be resolved
    [javac] ----------
    [javac] 2. ERROR in /tmp/dspace-1.3.2-source/src/org/dspace/app/mediafilter/HTMLFilter.java
    [javac]  (at line 98)
    [javac]     HTMLEditorKit kit = new HTMLEditorKit();
    [javac]     ^^^^^^^^^^^^^
    [javac] HTMLEditorKit cannot be resolved to a type
    [javac] ----------
    [javac] 3. ERROR in /tmp/dspace-1.3.2-source/src/org/dspace/app/mediafilter/HTMLFilter.java
    [javac]  (at line 98)
    [javac]     HTMLEditorKit kit = new HTMLEditorKit();
    [javac]                             ^^^^^^^^^^^^^
    [javac] HTMLEditorKit cannot be resolved to a type
    [javac] ----------
    [javac] ----------
    [javac] 4. WARNING in /tmp/dspace-1.3.2-source/src/org/dspace/content/Item.java
    [javac]  (at line 1613)
    [javac]     Bitstream mybitstream = bs[j];
    [javac]               ^^^^^^^^^^^
    [javac] The local variable mybitstream is never read
    [javac] ----------
    [javac] ----------
    [javac] 5. WARNING in /tmp/dspace-1.3.2-source/src/org/dspace/content/Item.java
    [javac]  (at line 1650)
    [javac]     Bitstream mybitstream = bs[j];
    [javac]               ^^^^^^^^^^^
    [javac] The local variable mybitstream is never read
    [javac] ----------
    [javac] ----------
    [javac] 6. WARNING in /tmp/dspace-1.3.2-source/src/org/dspace/authorize/AuthorizeException.java
    [javac]  (at line 51)
    [javac]     public class AuthorizeException extends Exception
    [javac]                  ^^^^^^^^^^^^^^^^^^
    [javac] The serializable class AuthorizeException does not declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 7. WARNING in /tmp/dspace-1.3.2-source/src/org/dspace/storage/rdbms/DatabaseManager.java
    [javac]  (at line 851)
    [javac]     boolean succeeded = statement.execute(SQL);
    [javac]             ^^^^^^^^^
    [javac] The local variable succeeded is never read
    [javac] ----------
    [javac] ----------
    [javac] 8. WARNING in /tmp/dspace-1.3.2-source/src/org/dspace/storage/rdbms/DatabaseManager.java
    [javac]  (at line 1351)
    [javac]     PoolableConnectionFactory poolableConnectionFactory = new PoolableConnectionFactory(
    [javac]                               ^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The local variable poolableConnectionFactory is never read
    [javac] ----------
    [javac] ----------
    [javac] 9. WARNING in /tmp/dspace-1.3.2-source/src/org/dspace/browse/Browse.java
    [javac]  (at line 769)
    [javac]     Object obj = scope.getScope();
    [javac]            ^^^
    [javac] The local variable obj is never read

    [javac] ----------
    [javac] ----------
    [javac] 10. WARNING in /tmp/dspace-1.3.2-source/src/org/dspace/browse/Browse.java
    [javac]  (at line 1492)
    [javac]     private static int firstWhitespace(char[] title)
    [javac]                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The method firstWhitespace(char[]) from the type NormalizedTitle is never used locally
    [javac] ----------
    [javac] ----------
    [javac] 11. WARNING in /tmp/dspace-1.3.2-source/src/org/dspace/history/HistoryManager.java
    [javac]  (at line 302)
    [javac]     List dbobjs = new LinkedList();
    [javac]          ^^^^^^
    [javac] The local variable dbobjs is never read
    [javac] ----------
    [javac] ----------
    [javac] 12. WARNING in /tmp/dspace-1.3.2-source/src/org/dspace/eperson/EPersonDeletionException.java
    [javac]  (at line 50)
    [javac]     public class EPersonDeletionException extends Exception
    [javac]                  ^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] The serializable class EPersonDeletionException does not declare a static final serialVersionUID field of type long
    [javac] ----------
    [javac] ----------
    [javac] 13. WARNING in /tmp/dspace-1.3.2-source/src/org/dspace/workflow/WorkflowManager.java
    [javac]  (at line 433)
    [javac]     WorkspaceItem wsi = returnToWorkspace(c, wi);
    [javac]                   ^^^
    [javac] The local variable wsi is never read
    [javac] ----------
    [javac] ----------
    [javac] 14. WARNING in /tmp/dspace-1.3.2-source/src/org/dspace/workflow/WorkflowManager.java
    [javac]  (at line 999)
    [javac]     Bitstream[] bitstreams = myitem.getNonInternalBitstreams();
    [javac]                 ^^^^^^^^^^
    [javac] The local variable bitstreams is never read
    [javac] ----------
    [javac] 14 problems (3 errors, 11 warnings)

BUILD FAILED
/tmp/dspace-1.3.2-source/build.xml:111: Compile failed; see the compiler error output for details.

Total time: 3 seconds




Best regards,
Surugiu Iulian
NOC supervisor/lead administrator
Security Analyst, Developer, Programmer at
Hyperactiv Networks, www.hyperactiv.ro
omikorn at yahoo.com
+40746472935
		
---------------------------------
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dspace-general/attachments/20060106/1de2cd7a/attachment.htm


More information about the Dspace-general mailing list