Telosys Pack .fr

The “Telosys Pack” is a set of softwares and components ready to use. ▫ The Telosys-Pack contains : ▫ Eclipse 3.2.2 with WTP 1.5.5. ▫ MySQL 5.0 including the ...
189KB taille 3 téléchargements 369 vues
Telosys Pack Laurent Guérin / V 1.0 / 2007 – October ( for Telosys 0.9.8 and + )

Telosys-Pack 



The “Telosys Pack” is a set of softwares and components ready to use The Telosys-Pack contains :       

Telosys Pack

Telosys

Eclipse 3.2.2 with WTP 1.5.5 MySQL 5.0 including the Telosys Book Store database Tomcat 5.0 Java 1.4.2 ( for launching Tomcat ) Eclipse useful plugins MySQL JDBC drivers The “Telosys Starter Kit”

2

1

Telosys-Pack 

The Telosys-Pack components :

Workstation Java

MySQL 5.0.45

Eclipse 3.2.2 WTP 1.5.5

BookStore

Eclipse plugins : . Telosys DAO Gen . Velocity Editor MySQL JDBC drivers

MySQL5045.zip

Java 1.4.2_16 Java142-16.zip Tomcat 5.0.28 Tomcat5028.zip

Eclipse322wtp155.zip

TelosysStarterKit.zip

Telosys Pack

3

Telosys-Pack Installation

Telosys

2

Telosys-Pack installation 

Prerequisites :  

Disk space : 400 Mb Java ( for running Eclipse )  





Check your workstation Java version > java -version

Create a “TelosysPack” directory

1) MySQL installation : 



Unzip the file “MySQLxxxx.zip” in the “TelosysPack” directory Check it : sql.bat   

Start MySQL : “start.bat” Run the SQL interpreter : “sql.bat” Stop MySQL : “stop.bat”

> use bookstore; > show tables; > exit ;

Telosys Pack

5

Telosys-Pack installation 

2) Tomcat & JAVA installation : 





3) Eclipse WTP installation : 



Unzip each plugin zip file in the Eclipse “plugins” directory

5) Create a “workspace” directory

Telosys Pack

Telosys

Unzip the file “Eclipsexxx.zip” in the “TelosysPack” directory

4) Eclipse plugins installation : 



Unzip the file “Javaxxx.zip” in the “TelosysPack” directory Unzip the file “Tomcatxxx.zip” in the “TelosysPack” directory

6

3

Telosys-Pack installation 

 

Copy the “TelosysStarterKit.zip” file in the “TelosysPack” directory The installation is completed The directory structure is … 

TelosysPack      



eclipse JavaXXX-XX MySQLXXXX TomcatXXXX workspace TelosysStarterKit.zip

Launch Eclipse : eclipse/eclipse.exe

Telosys Pack

7

Telosys-Pack Eclipse configuration

Telosys

4

Eclipse configuration : Java compiler  

Window  Preferences Java  Compiler 1.4

Telosys Pack

9

Eclipse configuration : Java JREs  

Window  Preferences Java  Installed JREs [ Add ]

TelosysPack/Java142-xx

Telosys Pack

Telosys

NB: Select the Java directory (at the root level) Do not select the “jre” subdirectory !

10

5

Eclipse configuration : Tomcat server   

Window  Preferences Server  Installed Runtimes [ Add ] Apache  Tomcat 5.0

TelosysPack/Tomcat5028

Telosys Pack

11

Eclipse configuration : test   

Create your first “Web Dynamic” project Create a basic JSP Run the project with Tomcat

Telosys Pack

Telosys

12

6

First Telosys project



Create your first “Telosys project”



See the “TelosysStartetKit” documentation…

Telosys Pack

13

THE

Telosys

END

7