Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Can't build 2.5.2

  1. #1

    Default Can't build 2.5.2

    Code:
    C:\kettle\2.5.2>svn up
    Revision 5028.
    
    C:\kettle\2.5.2>ant
    Buildfile: build.xml
    
    init:
         [echo] Init...
    
    compile:
         [echo] Compiling Kettle...
        [javac] Compiling 634 source files to C:\kettle\2.5.2\classes
        [javac] C:\kettle\2.5.2\src\be\ibridge\kettle\job\entry\deletefiles\JobEntry
    DeleteFiles.java:209: incompatible types
        [javac] found   : java.lang.Object
        [javac] required: be.ibridge.kettle.core.Row
        [javac]         resultRow = rows.get(iteration);
        [javac]                             ^
        [javac] C:\kettle\2.5.2\src\be\ibridge\kettle\job\entry\deletefiles\JobEntry
    DeleteFiles.java:213: getString(java.lang.String,java.lang.String) in be.ibridge
    .kettle.core.Row cannot be applied to (int,<nulltype>)
        [javac]         args[iteration] = resultRow.getString(0, null);
        [javac]                                    ^
        [javac] C:\kettle\2.5.2\src\be\ibridge\kettle\job\entry\deletefiles\JobEntry
    DeleteFiles.java:214: getString(java.lang.String,java.lang.String) in be.ibridge
    .kettle.core.Row cannot be applied to (int,<nulltype>)
        [javac]         fmasks[iteration] = resultRow.getString(1, null);
        [javac]                                      ^
        [javac] C:\kettle\2.5.2\src\be\ibridge\kettle\job\entry\dtdvalidator\JobEntr
    yDTDValidator.java:199: warning: [deprecation] toURL() in java.io.File has been
    deprecated
        [javac]                                     URL xmlFile = new File(KettleVFS
    .getFilename(xmlfile)).toURL();
        [javac]
                          ^
        [javac] 3 errors
        [javac] 1 warning
    
    BUILD FAILED
    C:\kettle\2.5.2\build.xml:72: Compile failed; see the compiler error output for
    details.

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Remove deletefiles directory from \src\be\ibridge\kettle\trans\step and it should compile again. Or try again building tomorrow.

    Regards,
    Sven

  3. #3

    Default

    Hi,

    It sould compile now.
    Sorry

    rgds

    Samatar

  4. #4

    Default

    Thanks Samatar, there are no more compilation errors (only a wanring about a deprecated method).

  5. #5

    Default

    Thanks

    I also corrected compilation warnings

    Rgds

    Samatar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.