facebook

Building the project for the specific configuration

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #284887 Reply

    mtnspa
    Member

    Hello,

    I have severals projects created with myeclipse 6 with CVS for the Development Team,

    the question is:
    Is there a way to build the project for “production” or for “developent” only changing somthing in the source java file or xml file or other type, like the preprocessor of C, and changing something in the IDE.
    for instance:

    in XML files:

    #ifdef DEVELOPMENT
    <jta-data-source>java:/MyDBDev</jta-data-source>
    #else
    <jta-data-source>java:/MyDBProd</jta-data-source>
    #endif

    and also in java files:

    #ifdef DEVELOPMENT
    String server_target = “10.0.0.1”;
    #else
    String server_target = “10.0.0.2”;
    #endif

    Perhaps it is a stupid question but I didn’t found specific answers

    thanks in advance
    Massimo

    #284896

    Loyal Water
    Member

    Massimo,
    I’m sorry thats not possible.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Building the project for the specific configuration

You must be logged in to post in the forum log in