Results 1 to 2 of 2

Thread: How to make <locationURI> entries in .project portable?

  1. #1
    Join Date
    Dec 2010
    Posts
    10

    Question How to make <locationURI> entries in .project portable?

    In the .project our (Grails-)STS-Project, we have linkedResources like:

    Code:
    <linkedResources>
       <link>
          <name>console-1.0.1-grails-app-controllers</name>
          <type>2</type>
          <locationURI>GRAILS_ROOT/1.3.4/projects/projectName/plugins/console-1.0.1/grails-app/controllers</locationURI>
       </link>
    </linkedResources>
    Since we checkin those files into SVN, but every developer has his own project names (since often we have differen branches checked out simultaneously under different project names), we would like to set it using variables such as GRAILS_ROOT for the project name like PROJECT_NAME. Is there such a variable built into STS/eclipse?

  2. #2

    Default

    Hi,

    have you figured it out?

    REgards

    Quote Originally Posted by Adrian0CG View Post
    In the .project our (Grails-)STS-Project, we have linkedResources like:

    Code:
    <linkedResources>
       <link>
          <name>console-1.0.1-grails-app-controllers</name>
          <type>2</type>
          <locationURI>GRAILS_ROOT/1.3.4/projects/projectName/plugins/console-1.0.1/grails-app/controllers</locationURI>
       </link>
    </linkedResources>
    Since we checkin those files into SVN, but every developer has his own project names (since often we have differen branches checked out simultaneously under different project names), we would like to set it using variables such as GRAILS_ROOT for the project name like PROJECT_NAME. Is there such a variable built into STS/eclipse?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •