Download What is an IDE? (Integrated Development Environment)

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Java developer tools
Emanuel Dohi ([email protected])
Lars Larsson ([email protected])
What is an IDE?
(Integrated Development Environment)
•
•
•
•
•
•
•
•
•
source code editor
compiler
build automation tools
debugger
version control system
GUI builder
class browser
object inspector
Etc…
IDE alternatives
• Eclipse
http://www.eclipse.org/
• NetBeans
http://www.netbeans.org/
• Both are free, have GUI-builder, debugger, CVS, mobility pack, can be used
for Java and C/C++, can handle external compile/build/deploy such as ANT.
They also have plugins for profiling and javadoc generation. Both are
platform independent and can be used on both Linux and Windows…
• Another useful application is ESS-model.
http://essmodel.sourceforge.net/
Comments as JavaDoc / Code style
• JavaDoc
http://java.sun.com/j2se/javadoc/writingdoccomments/
/**
The add function calculates c = a + b
@param A first integer to add
@param B second integer to add
@return the integer value of A+B
**/
int add(int A, int B) {
return (A+B);
}
• Code convention
http://java.sun.com/docs/codeconv/
CVS, Debugging, Testing
• CVS - What is it for?
For CVS access at computing science contact [email protected] and
simply ask for one (including the usernames that should have access, i.e.
your group).
• Debugging
stepping in/out, breakpoints, watchers, etc…
• Unit testing
http://www.junit.org/
Demo
•
•
•
•
•
•
•
•
•
•
Creating a project in Eclipse
Auto compilation / error and warning helper
Class / function helper
CTRL-ALT-SPACE / sysout / syserr / for
Refactor
Getters and Setters
Auto comments
Compile / Run / External builders (ANT)
Debugger
CVS
• GUI with NetBeans
Related documents