Menu

#16 New error after upgrading 2.2.5 to 2.2.8

AntView_2.X
closed-works-for-me
Interface (4)
5
2002-10-29
2002-10-07
No

After upgrading AntView, I now get errors for all of my
build files that contain the ENTITY element.

Example:
-----------
<!DOCTYPE project [
<!ENTITY common-targets SYSTEM
"file:./common-targets.xml">
]>

Error:
-------
"Error in building: ./common-targets.xml (No such file
or directory)"

The build files listed in 2.2.5 without error. No so in
2.2.8.

Thanks for taking a look.

-- J

Discussion

  • Roscoe Rush

    Roscoe Rush - 2002-10-07

    Logged In: YES
    user_id=398209

    In 2.2.5, I was using the ant classes to parse the file, and the
    eclipse antrunner classes to execute. This caused a problem
    with custom tasks. To correct this, in 2.2.8, I switched to
    walking the DOM to parse the file for display.

    I will look into this.

     
  • Max R. Andersen

    Max R. Andersen - 2002-10-07

    Logged In: YES
    user_id=18119

    ok - this is spookey .) We have almost the same build structure
    :)

    Consequently I get the same error.
    Just for completeness
    sake - here is my example "code":

    <!DOCTYPE project [
    <!ENTITY commonprops SYSTEM
    "file:../commonprops.inc">
    <!ENTITY commontargets SYSTEM
    "file:../commontargets.inc"> ]>

    And I get the same Error.

     
  • Roscoe Rush

    Roscoe Rush - 2002-10-08

    Logged In: YES
    user_id=398209

    I have created a test case and it works for me. I have
    attached my files, can you try it and let me know the results.

    Roscoe

     
  • Roscoe Rush

    Roscoe Rush - 2002-10-08

    Test files

     
  • Jason Boutwell

    Jason Boutwell - 2002-10-08

    Logged In: YES
    user_id=624894

    Yup. Removing "file:" solves the problem. I wonder why it
    doesn't like file:? It shouldn't care. Does the handling of
    relative paths change?

    -- Jason

     
  • Jason Boutwell

    Jason Boutwell - 2002-10-08

    Logged In: YES
    user_id=624894

    Yup. Removing "file:" solves the problem. I wonder why it
    doesn't like file:? It shouldn't care. Does the handling of
    relative paths change?

    -- Jason

     
  • Roscoe Rush

    Roscoe Rush - 2002-10-29
    • status: open --> closed-works-for-me
     
  • Roscoe Rush

    Roscoe Rush - 2002-10-29

    Logged In: YES
    user_id=398209

    After testing, it was determined that removing the 'file:'
    reference worked.

     

Log in to post a comment.

MongoDB Logo MongoDB