Re: [SrcML] problem with absolute paths
Status: Beta
Brought to you by:
crashchaos
From: Icaro <ic...@gm...> - 2005-12-07 21:38:30
|
Hi again. The problem with absolute path seems to have been resolved. :-) another (little) question about absolute vs relative path. suppose that my cwd is C:\\temp\testSrcML\ If I generate an SrcML file using an absolute syntax: java de.srcml.parser.Parser C:\\temp\testSrcML\Policy.java the generated XML file have the following unit tag: <unit [...] language="java" filename="C:\\temp\testSrcML\Policy.java" author="Domenico" [...] > on the other hand if I use a relative sintax java de.srcml.parser.Parser Policy.java the result is: <unit [...] language="java" filename="Policy.java" author="Domenico" [...] > It's a little bit surprising for me. I parse the same file but the result is a (slightly) different output. Why? Is not better to have always the absolute path in the unit tag? I'm missing something? -- Domenico (aka ^I^caro) http://icaro.blogspot.com ~~~~ "Dove mai andiamo?"......"Sempre a casa".... ~~~~ |