Howto change a default Eclipse project to an Eclipse Java project

To change a default Eclipse project to an Eclipse Java project you can follow the steps below.

  1. First close the project in Eclipse (right-click project folder > close project)
  2. Open the .project file in a text-editor outside Eclipse
  3. Add the Java builder and nature to the .project file
  4. Save and close file
  5. Open project in Eclipse and it now is a Java project

Example:
Original .project file

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>A project</name>

Replacing text in a directory tree

Sometimes you want to replace one piece of text with another in all files in a whole directory tree.

*nix and sed to the rescue.


find ./ -type f -exec sed -i ’s/queryString/replaceString/g’ {} \;

AJT 2.2 released

AJT 2.2 fixes a bug in the handling of TitledComponent, the component inside the border now properly expands in both directions.

Download
API documentation

Syndicate content