Book a Demo

Author Topic: Path for Code Generation  (Read 2866 times)

mhyde

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
  • EA Convert
    • View Profile
Path for Code Generation
« on: March 05, 2007, 08:32:17 am »
Hi all,
Can anybody advise me whether it is possible to change where code gets generated to for different people based on an environment variable?

Some people in my team want to generate to their C drive, whilst others need to use the D partition. It would be nice to be able to set a variable, say CODEDIR which acts the root, and then get EA to automatically generate classes to a path relative to the namespace root folder. I've set up the "default code path" to be %CODEDIR%\ but this just seems to cause the code to be generated to a flat folder structure, which doesn't help.

Any ideas??

Malc

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Path for Code Generation
« Reply #1 on: March 05, 2007, 09:25:53 am »
See "local paths" in help and forum search.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!