Menu

#9 cannot compile CVS code

Version 0.51rc2
open-accepted
None
5
2005-02-19
2005-01-05
No

I am trying to compile opendvcopy from CVS since I have
problem with the shipped rc2 version.
I checkout the cvs sources and added into the
opendbcopy/lib directory the jars from jdom and
tablelayout. Now I get only these errors that I cannot
fix without help:

Buildfile: build.xml

rebuild:

clean:

prepare:
[mkdir] Created dir:
/home/giuseppe/src/cvs/opendbcopy/classes

compile:
[copy] Copying 28 files to
/home/giuseppe/src/cvs/opendbcopy/classes/resource
[javac] Compiling 104 source files to
/home/giuseppe/src/cvs/opendbcopy/classes
[javac]
/home/giuseppe/src/cvs/opendbcopy/src/opendbcopy/io/ExportToXML.java:63:
cannot resolve symbol
[javac] symbol : constructor XMLOutputter
(java.lang.String,boolean,java.lang.String)
[javac] location: class org.jdom.output.XMLOutputter
[javac] XMLOutputter serializer = new
XMLOutputter(" ", true, MainController.getEncoding());
[javac] ^
[javac]
/home/giuseppe/src/cvs/opendbcopy/src/opendbcopy/io/ExportToXML.java:64:
cannot resolve symbol
[javac] symbol : method setTextTrim (boolean)
[javac] location: class org.jdom.output.XMLOutputter
[javac] serializer.setTextTrim(true);
[javac] ^
[javac] 2 errors

BUILD FAILED
/home/giuseppe/src/cvs/opendbcopy/build.xml:73: The
following error occurred while executing this line:
/home/giuseppe/src/cvs/opendbcopy/build.xml:55: Compile
failed; see the compiler error output for details.

Discussion

  • Grzegorz Lukasik

    Logged In: YES
    user_id=1216999

    Try to add jdom.jar from rc2 distrubution.

     
  • Giuseppe Sacco

    Giuseppe Sacco - 2005-02-14

    Logged In: YES
    user_id=220823

    This is rc2 source. Did a miss anything?

     
  • Anthony Smith

    Anthony Smith - 2005-02-19

    Logged In: YES
    user_id=877380

    Thanks for reporting this bug. Use the sources coming along
    with the openDBcopy distribution (select developer pack).
    This contains the sources which have been used to compile
    the distribution. The CVS source directory is updated prior
    a new release. My trouble is that I need to contact SF staff
    to remove old sources from the repository.

     
  • Anthony Smith

    Anthony Smith - 2005-02-19
    • milestone: --> Version 0.51rc2
    • assigned_to: nobody --> iloveopensource
    • status: open --> open-accepted
     

Log in to post a comment.