Re: [SrcML] problem with absolute paths
Status: Beta
Brought to you by:
crashchaos
From: Frank R. <fra...@un...> - 2005-12-04 13:52:46
|
On Fri, Dec 02, 2005 at 01:21:33PM +0100, Icaro wrote: > Hi to all Hello, > I have the following problem: > I have a java file in c:\ (i.e.: exist c:\Policy.java) > If I run > > C:\>java -classpath "C:\cartella condivisa\Software > Downloads\dev\SrcML\srcml-0.2.2.jar" de.srcml.parser.Parser Policy.java > it work, but if I run: > C:\>java -classpath "C:\cartella condivisa\Software > Downloads\dev\SrcML\srcml-0.2.2.jar" de.srcml.parser.Parser c:\Policy.java Interesting.. It works on Linux no matter wether you use a full or a relative path. Therefore I never encountered this error before. I also don't have access to a windows machine here, so that'll have to wait until I'm at the uni again. But this is indeed an annoying error which just shows again that we're having way too few testers. Thanks for pointing out this bug Domenico. I'll try to reproduce and fix it tomorrow at the uni. I'll keep you updated on this here. > Is it a bug? How can I use an absolute path to specify the file to parse? Yes. Apparently some part of the framework has a problem with those absolute paths in Windows. As we currently only have developers on Linux and Mac this kind of slipped through the testing. Sorry for that. PS: Everyone can (and is encouraged to even ;) post such bugs through the SourceForge Bug Tracking system. I'll try to also post bugs sent to this list through the bug tracker. This isn't really necessary, but provides us with some additional advantages: We can assign bugs to developers, site visitors can see we're actively working on getting those bugs fixed, it adds to the activity ranking thus improving the project's SF ranking. Or in simpler words: it might help us to find more developers or at least testers :) -- Raiser, Frank Student @ University of Ulm (www.uni-ulm.de) It's not the prevention of bugs but the recovery -- the ability to gracefully exterminate them -- that counts. (Victoria Livschitz) |