Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path problem finding config.xml #6

Closed
GoogleCodeExporter opened this issue Feb 5, 2016 · 2 comments
Closed

Path problem finding config.xml #6

GoogleCodeExporter opened this issue Feb 5, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Build from source and run.

What is the expected output? What do you see instead?
Throws exception.

What version of the product are you using? On what operating system?
Current source as of 1/25/09. Windows XP

Please provide any additional information below.

 Current version built from source can not find config.xml on windows XP. 
Line 28 of KeyTranslator.java throws an exception because there is a
missing separator between the basePath and sPath.  I have modified the line
to include one in my build:
   this.myDoc = builder.parse( new File(AppFrame.basePath+"/"+sPath) );

Original issue reported on code.google.com by Chet.Bri...@gmail.com on 25 Jan 2010 at 5:10

@GoogleCodeExporter
Copy link
Author

This is an issue with running from a .jar vs. running outside of a .jar. As 
long as
you package everything up, it'll work fine.

Original comment by gall.bla...@gmail.com on 10 Feb 2010 at 12:33

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

I have the fix for this.

AppFrame.java: Line 76 should be
                basePath = System.getProperty("user.dir") + "\\res\\";

instead of
                basePath = System.getProperty("user.dir");

I would commit if I could :).

Original comment by nicolas....@gmail.com on 27 Feb 2010 at 6:39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant