Ok.... a few weeks later and this thing is still a major sticking point, luckily I rememebered I had the problem before and your comments Geoff were a help, this time on my project, I did what you suggested in response to my first question and it works. I
There's a very easy way in the current system to make this a little more intelligent:
1) automatically create a 'local path' for each language option. JAVA for java etc etc. Or java-src or something readable and sensible. THEN if the user, the first time, chooses a path that is RELATIVE to the current project, automatically make the substitution. This is at least a little better.
But if you happen to move the project, you'll get that same arrogant 'can't find the folder specified' error. Humf.
This brings up the SECOND part:
2) these 'local paths' should be intelligently-represented as local to the project directory if possible. That is, the way things are now, you should put a a variable %PROJECT% in the local path mappings themselves, or whatever, which can be embedded in other directory names. This effectively allows you to have local paths that are relative to the project.
This would mean someone could move the project around, and everything would work, all the time.
So example:
- Let's say you have your files in C:\Dox\Proj
- Default language was java.
- Simply by choosing 'generate code' the first time, you get a file chooser saying 'where exactly' and it appears in C:\Dox\Proj.
- You choose 'C:\Dox\Proj\autogen\
- This creates a new entry 'JAVA' which is '%PROJECT%\autogen\' (yes, nested substitution).
- The file path for each class is then as before: %JAVA%\autogen
Of course really you want your 'paths' to be specified in some cleaner way that they're relative to the project, but my suggestion would probably take less effort (and I'd see the changes sooner, which would be better
