Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4340006
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:17:29+00:00 2026-05-21T11:17:29+00:00

How can I change a user variable like $(Test) via code, using a compiler

  • 0

How can I change a user variable like $(Test) via code, using a compiler directive or via project options?

I have defined this variable that sometimes points to a trunk svn source code and sometimes it points to a tag svn source. I use this var in Library Path. When I open the trunk project i need the var to be set to the trunk svn source and when i open the tag svn project i need the var to be set to the tag svn. Both projects in the trunk and tag are the same, but the trunk has some modifications (it is the code i am working at and it is not ready to be used yet).

I do not want to go to the Tools options to set it every time i change projects.

EDIT:

I know I could use the project source path instead of the library path, but I need all sources to be on library path so I can easily debug a project that is using my framework.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T11:17:30+00:00Added an answer on May 21, 2026 at 11:17 am

    I’d probably create two batch files. Each would first set the Test environmental variable to the necessary value, then start the IDE.

    And then every time I needed to work with a different set of svn source files I’d have to (re)start the IDE through the appropriate batch file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can set data in JTable constructor, and then user can change this data
How can I get a user-defined function to re-evaluate itself based on changed data
You can change the connection string at run-time like this. You make the connection
Is there any way that I can change how a Literal of a code
I have a ListView that allows the user to change the ViewBase through a
I'm trying to determine how I can detect when the user changes the Windows
Can someone tell me how i can change the .xml file that a flash
I understand how I can change the dns settings for my domains by editing
Is there an app that can change the order of images inside an icon?
According to this website , you can change to command key sequence used by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.