• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

eclipse and build.properties - what the heck is this?

 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was fiddling around with some code in eclispe, and thought I'd extract some configuration information into a properties file. As this information was related to the build process (destination directories, archive names etc.) I thought I'd name it "build.properties".

Imagine my surprise when, instead of opening my new file in the regulat text editor, like every other properties file I have ever created, Eclipse gave me some sort of strange build settings checklist. (see an image of what I mean)

  • Does it do this for anyone else?
  • If so, why, and what is it for?
  • And my usual question: how do I get it to stop doing it?


  • Thanks for any enlightenment
     
    author
    Posts: 14112
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Originally posted by Frank Carver:
    If so, why, and what is it for?



    I suspect that it is a standard file format used when developing Eclipse plugins.


    And my usual question: how do I get it to stop doing it?



    Temporarily: right click on the file, "open with..."

    Permanently: Preferences/General/Editors/File Associations - select file type "build.properties", choose a different default editor
     
    Frank Carver
    Sheriff
    Posts: 7001
    6
    Eclipse IDE Python C++ Debian Java Linux
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    thanks
     
    Bartender
    Posts: 1845
    10
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Another alternative:
    See those two tabs down the bottom? Build and build.properties?

    Clicking on the other tab will bring up the text version of the file.
     
    Don't get me started about those stupid light bulbs.
    reply
      Bookmark Topic Watch Topic
    • New Topic