File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes eclipse and build.properties - what the heck is this? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "eclipse and build.properties - what the heck is this?" Watch "eclipse and build.properties - what the heck is this?" New topic
Author

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

Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
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


    Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
    Ilja Preuss
    author
    Sheriff

    Joined: Jul 11, 2001
    Posts: 14112
    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


    The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
    Frank Carver
    Sheriff

    Joined: Jan 07, 1999
    Posts: 6920
    thanks
    Stefan Evans
    Bartender

    Joined: Jul 06, 2005
    Posts: 1029
    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.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: eclipse and build.properties - what the heck is this?