with Some Eclipse Tricks included Safa Bacanlı Fall 16

Slides:



Advertisements
Similar presentations
Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
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.
MAVEN Abhishek Dey Das |Sudhanshu Iyer abhis.ws|siyer.info.
Using the Class Dependency Analyzer for OODT By Joshua Garcia.
Current Topics in Programming Languages Lecture 15_1 George Koutsogiannakis SUMMER
Tutorial 1 Introduction to Java Programming Bo Chen Department of Computer Science.
Packaging of EPICS-basedControl System Software
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
CRSX plug-in development. Prerequisites Software and Libraries Eclipse RCP (3.5 or higher) –Go –Select.
How to make it work? Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
SERVLETS.
Installing DSpace on Window Bharat M. Chaudhari School of Petroleum Management, PANDIT DEENDAYAL PETROLEUM UNIVERSIRY, GANDHINAGAR
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
Maven & Bamboo CONTINUOUS INTEGRATION. QA in a large organization In a large organization that manages over 100 applications and over 20 developers, implementing.
MAVEN-BLUEMARTINI Yannick Robin. What is maven-bluemartini?  maven-bluemartini is Maven archetypes for Blue Martini projects  Open source project on.
IPT2 user interface customization and locale translation Alan Yang, Kun Chi Lai, Jim Hsu Biodiversity Research Center, Academia Sinica.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Introduction to Android Android How to Program © by Pearson Education, Inc. All Rights Reserved.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.
INFSOM-RI Juelich, 10 June 2008 ETICS - Maven From competition, to collaboration.
Presented By: Muhammad Tariq Software Engineer Android Training course.
Development Environment Matthew Sell, CSSE Student MASS Research Participant, October 2014.
COP 3330 Notes 1/12. Today's topics Downloading Java and Eclipse Hello World Basic control structures Basic I/O Strings.
Welcome to java installation. After download java software, assuming you downloaded jdk1.7.0_11 Follow the procedure bellow to install java.
DEVS M&S Tutorial with eclipse IDE Chungman Seo
Installing Repast in the Eclipse IDE Charlie Gieseler 6/28/04.
1 may 31, 2007 Build, test and deploy ADF applications without effort with the use of Maven2 Aino Andriessen AMIS.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Installing SPHINX by: COLLEGE OF ART & SCIENCE UNIVERSITI UTARA MALAYSIA STIW5023 ADVANCED PROGRAMMING.
Maven for building Java applications By Nalin De Zoysa
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
Software Deployment & Release 26/03/2015 1EN-ICE.
Software Design– Unit Testing SIMPLE PRIMER ON Junit Junit is a free simple library that is added to Eclipse to all automated unit tests. The first step,
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
박 유 진.  IDE(Integrate Development Environment)  ECLIPSE Consortium  IBM, RedHat, METANT, QNX Software System etc…  Open Source Platform  Based JAVA.
CS520 Web Programming Introduction to Maven Chengyu Sun California State University, Los Angeles.
IBM Worklight environment setup 1. Eclipse IDE Multi-purpose integrated development environment (IDE) Open source Supported for Windows, Mac OS X, Linux.
Platform & Maven2 David Šimonek. Certified Engineer Course Agenda What is Maven? Why Maven? NB IDE & Maven NB Platform & Maven.
Maven 04 March
Development Environment Basics
CS520 Web Programming Introduction to Maven
Plan What is Maven ? Links : mvn command line tool
This presentation is created for the course COP4331 at UCF
Download TPL.zip to some directory
Test Driven Development
prepared by hasan.we4tech.com
Project management and comprehension tool
CE-105 Spring 2007 Engr. Faisal ur Rehman
Software Development Jar Files for Applications and Libraries
Chengyu Sun California State University, Los Angeles
CMPE 152: Compiler Design ANTLR 4 and C++
Junit with.
Maven IIB9 Plug-in Version 9.0
J2EE Application Development
With Some Eclipse Tricks included.
Mark Dönszelmann Stanford Linear Accelerator Center
Turning in Assignments
Most Common Grading Issues
Maven IIB9 Plug-in Version 9.0
Escidoc build and development environment
Installing and running the local check and grader projects in Eclipse
CS 240 – Advanced Programming Concepts
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
Review of Previous Lesson
Java Code Review with CheckStyle
Software Engineering and Architecture
Presentation transcript:

with Some Eclipse Tricks included Safa Bacanlı Fall 16 This presentation is created for the course COP4331 at UCF

What is it? Tool for automatizing your software and test compilation also deployment Add jar files (dependencies) by just adding some text to XML file Compile your test cases and your software Run your test cases Create a jar file for your software

Why you need that? Big Company job You may have different libraries you are using >10 Don’t want to make human mistake for deployment Running test

Commands? clean: clean the generated stuff compile:compile your software test-compile:compile test classes:JUnit test: run the tests install: create jar file

How to install? Create JAVA_HOME path: C:\Program Files\Java\jdk1.7.0_51 Add maven to your path: C:\Program Files\apache-maven-3.3.9\bin Run mvn –v https://maven.apache.org/install.html

How to add path in Windows Let me show you! Or see this: http://www.computerhope.com/issues/ch000549.htm

Install Plugin in Help>Eclipse Marketplace Find Maven Install Maven Integration for Eclipse

Create a Project with File>New>Other >Maven Project

Key Points in groupId:PackageName Artifact:projectname version:1.0-SNAPSHOT

Creating Jar file-install You need to add this to POM.xml <build> <plugins> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.0.2</version> <configuration> <archive> <manifest> <mainClass>com.somemaven.somemavenProject.App</mainClass> </manifest> </archive> </configuration> </plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack-dependencies</id> <phase>package</phase> <goals> <goal>unpack-dependencies</goal> </goals> </execution> </executions> </plugins> <resources> <resource> <directory>${basedir}/target/dependency</directory> </resource> </resources> </build>

Eclipse can also create a Jar file! You need to clean first from Eclipse (Project>Clean) Run or run as «Java Application» Right click on Project Export You may add/not add the jar files Done

Thanks Salih Safa BACANLI bacanli@knights.ucf.edu