Posted by: Chyne on: April 19, 2008
The steps to specify what information needs to be included in the created class files:-
1. On the Menubar, choose Project —> Properties
2. Chosse Java Code Style —> Code Templates
3. Tick to enabled project specific settings
- Comments
- Types
—> Click the Edit button
—> Change the cursor within the comment body
—> Click Insert Variable
—> Insert date, time, author
Example:
/**
* [...]
Posted by: Chyne on: January 14, 2008
Here are the steps to compile and build projects using Ant in Eclipse:
Choose Window in the Toolbar.
Show View —> Others.
Double click the ‘Ant’ directory and choose the ’Ant’ icon.
Click ‘Ok’.
Choose a specific project.
On the Ant tab, click the icon ‘Add buildfiles’.
Choose the buildfiles to add (build.xml).
After choosing the build.xml, you can do the [...]
Posted by: Chyne on: January 8, 2008
Here are the steps to create a jar file in Eclipse:
Select specific file or package in the Package Explorer / Project Explorer.
Right click the selected file and choose ‘Export’ from the list.
Select the folder ‘Java’ and choose ‘JAR file’.
Click ‘Next’.
Make sure the ticked project in the ‘Select the resources to export:’ is the right location [...]