------TAO, MARKUS Project IT. JavaDoc ‣ JavaDoc is a standard method of commenting source code (interfaces, classes, methods, instances variables). ‣

Slides:



Advertisements
Similar presentations
1 FrontPage 2000 Online Tutorial The following tutorial aims to help you get started with FrontPage 2000 for the creation of basic web pages. The different.
Advertisements

Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
CPSC 203 Introduction to Computers Tutorial 59 & 64 By Jie (Jeff) Gao.
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
Java Integrated Development Environments: ECLIPSE Part1 Installation.
16-Jun-15 javadoc. 2 Javadoc placement javadoc comments begin with /** and end with */ In a javadoc comment, a * at the beginning of the line is not part.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 3 - Spring 2008 Instructor: Prof. Richard N. Taylor.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of The Java Development Tools project.
Installing JDK Vijayan Sugumaran Department of DIS Oakland University.
How to install the Zelle graphics package
Creating a Web Page HTML, FrontPage, Word, Composer.
Concordia University Department of Computer Science and Software Engineering Click to edit Master title style ADVANCED PROGRAMING PRACTICES API documentation.
Adobe Dreamweaver CS3 Revealed CHAPTER ONE: GETTING STARTED WITH DREAMWEAVER.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Sumedha Rubasinghe October,2009 Introduction to Programming Tools.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Enhancing Your Web Site. More Basic HTML Tags Today you will learn these tags: & add-on (alt, height, width & align) and “href” add-on Add a text link.
CSC 142 B 1 CSC 142 Java objects: a first view [Reading: chapters 1 & 2]
JavaDoc1 JavaDoc DEPARTMENT OF COMPUTER SCIENCE AND SOFTWARE ENGINEERING CONCORDIA UNIVERSITY July 24, 2006 by Emil Vassev & Joey Paquet revision 1.2 –
Presented By: Muhammad Tariq Software Engineer Android Training course.
SENG 301 – Tutorial 1 Introduction to Eclipse, Subclipse, and JUnit Slides: Theodore D. Hellmann.
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 1 - Spring 2008 Instructor: Prof. Richard N. Taylor.
How to Run a Java Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
1 Documenting with Javadoc. 2 Motivation  Why document programs? To make it easy to understand, e.g., for reuse and maintenance  What to document? Interface:
SVN in Eclipse Presented by David Eisler 10/09/2014.
FILES AND ASSETS PANELS
Moodle with Style Integrating new technologies to empower learning and transform leadership.
Selenium Web Test Tool Training Discover The Automating Power Of Selenium Author : Girija Prasad Panda Alcatel-Lucent.
Creating and running a Java program. Eclipse Interactive Development Environment (IDE)  Eclipse is an Interactive Development Environment (IDE) for Java.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
Javadoc Comments.  Java API has a documentation tool called javadoc  The javadoc tool is used on the source code embedded with javadoc-style comments.
How to Create a Podcast CMN112 Instructor Betty Ritter-Guth By Sally Stiles.
Javadoc A very short tutorial. What is it A program that automatically generates documentation of your Java classes in a standard format For each X.java.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
JavaDoc and Contracts Spring Documenting Contracts with JavaDoc Contract model for methods Preconditions Postconditions JavaDoc Industry standard.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Javadoc. Purpose of javadoc javadoc is a program that reads your Java program and produces great-looking documentation in HTML format Without any help,
Development with Eclipse Software Engineering Prof. Werner Krandick.
Chapter 1 Introducing Ant. What is ant? Ant is a build tool  Automate the tasks of compiling code, running test, and packaging the results for redistribution.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
All the dSoftArk Tools Getting started!. Tools dSoftArk is a semi-realistic, agile, development project –Industrial strength software (programming, TDD,
(1) Installing the Software ICU Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of Hawaii Honolulu.
© 2012 LogiGear Corporation. All Rights Reserved FitNesseFitNesse Authors: Nghia Pham 1.
Subversion (SVN) is a widely used version control system and an essential piece of the MIMES collaborative modeling environment. It allows us to manage.
DataGrid is a project funded by the European Commission under contract IST EDG Baseline API Document Document build description and current.
Today Javadoc. Packages and static import. Viewing API source code. Upcoming Topics: –protected access modifier –Using the debugger in Eclipse –JUnit testing.
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
How to Apply PDF in Flipbook on Website. Description If you are finding solution for applying PDF in flipbook mode on website, and adding multimedia items.
Anjana & Shankar September,2010 Introduction to Programming Tools.
Advanced Programing practices
How to use SVN K.Somiya Tokyo Tech.
SENG 301 – Tutorial 1 Introduction to Eclipse, Subclipse, and JUnit
Installing and running the local check projects in Eclipse
slides borrowed and adapted from Alex Mariakis and CSE 390a
Some Tips for Using Eclipse
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
How to Run a Java Program
JavaDoc and Contracts Fall 2008.
Advanced Programing practices
Review of Previous Lesson
Java Code Review with CheckStyle
Presentation transcript:

------TAO, MARKUS Project IT

JavaDoc ‣ JavaDoc is a standard method of commenting source code (interfaces, classes, methods, instances variables). ‣ The source code can then be run through a tool which extracts the comments and generates, initially, HTML. ‣ Comments of the format /**... */ are parsed by JavaDoc. ‣ The comment applies to the next element such as a class or method. ‣ Inside the comment you can use special tags, which will be formatted specially. ‣ Eclipse can help generate templates for JavaDoc comments (seeSource>Generate Element Comment) with relevant tags. ‣ Eclipse can also show generated JavaDoc interactively, even for your own classes,so write it from the start. It helps! ‣ More info on JavaDoc can be found on the web or with man javadoc or inside Eclipse.

Example /** * Read a stream in PPM format and return * an internal image. * stream stream to read PPM from. imageFactory a supplied factory that can create an suitable * (empty) image, which the PPM is written to. internal image read from the stream. * * TODO Rewrite to a finite state machine using hyperbolic indexing. * TODO Don’t believe everything you read. */ public void readStream(InputStream stream, IImageFactory imageFactory) {...

JUnit Write test case for each main function. You don’t need to write test case for getter and setter. Right click the class, choose new and choose JUnit test. Write your test case in the function and try to cover the whole path of your function.(we will put the JUnit test in the ant then it can be automated)

SVN For the windows It’s a good alternative Eclipse

SVN & Eclipse Eclipse & subclipse (SVN) 1) Download and install latest Eclipse on: (Eclipse IDE for Java Developers) And download the latest java if you don't have it, on: UBUNTU: due to a button bug for Eclipse in Ubuntu you need to start it through terminal with the following lines: #!/bin/sh export GDK_NATIVE_WINDOWS=1 /*your eclipse path*/eclipse

SVN & Eclipse 2) Install Subclipse through Eclipse, using this link: 3) In Eclipse, press Help and find "Install new software...". 4) Use "New Remote Site" if you have copied the download link from above, or use "New Local Site" if you have downloaded the actual subclipse files.

SVN & Eclipse 5) Fill in the location of your subclipse. 6) Remember to check your Subclipse update, so it is included in the installation, and press Next (for Mac, include the SVNkit package as well) 7) Accept the agreement and begin the installation for Subclipse. 8) Restart Eclipse

SVN & Eclipse Check out your project 1) File -> Import 2) Expand the folder SVN, and choose "Checkout Projects from SVN" 3) Create a new repository location and add the URL: 4) username is your gmail adress and you get your password by going to the project page, under the source tab. 4) Choose project type and name, and press Finish.

SVN Remember to ALWAYS update the project before committing your changes!

Code standard This is the code standard recommended by SUN when writing Java programs.

Code standard Code that is written according to a set of rules are easier to understand it will look like the code has been written by a single individual, which makes it much easier to follow. Code style is a matter of personal opinion, so there is no single True Way of writing code. Don’t wants to spend time arguing about code style - just use one! We will build checkstyle and pmd in the ant to check your code standard

Code standard packages - all lowercase ‣ classes - nouns, CamelCase ‣ interfaces - as classes; nice to have initial I, e.g., IImageSource ‣ methods - verbs, camelCase with intial letter lowercase ‣ variables - descriptive, camelCase ‣ constants - uppercase, words separated with underscore ‣ Additional considerations ‣ Names should not reveal representation, access method or algorithm.