New error after upgrading 2.2.5 to 2.2.8
Brought to you by:
roscoerush
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
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.
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.
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
Test files
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
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
Logged In: YES
user_id=398209
After testing, it was determined that removing the 'file:'
reference worked.