Book a Demo

Author Topic: Local paths  (Read 4459 times)

Maggie

  • EA User
  • **
  • Posts: 106
  • Karma: +0/-0
    • View Profile
Local paths
« on: January 08, 2015, 01:26:44 am »
Hi
I have set up a local path called MY_ROOT in the Local Paths dialog.

How do I use this in code generation?

Thanks

Maggie

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Local paths
« Reply #1 on: January 08, 2015, 11:44:22 am »
If the directory path referenced by MY_ROOT is already associated with classes in your model, you should be able to click the "Apply Path" button in the Local Paths dialog.  This will search for all instances where this file path is used in the Filename property of any class in your model and replace the substring with %MY_ROOT%.

When you generate any new class into this directory, EA will automatically insert %MY_ROOT% into the Filename property.

Maggie

  • EA User
  • **
  • Posts: 106
  • Karma: +0/-0
    • View Profile
Re: Local paths
« Reply #2 on: January 08, 2015, 07:44:03 pm »
Thanks