Mercurial > hg > ltpda
annotate src/ConnectionManager/dist/README.TXT @ 48:16aa66670d74 database-connection-manager
Fix LTPDA Preferences tooltip
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 19:07:27 +0100 |
parents | 960fe1aa1c10 |
children |
rev | line source |
---|---|
3
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
1 ======================== |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
2 BUILD OUTPUT DESCRIPTION |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
3 ======================== |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
4 |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
5 When you build an Java application project that has a main class, the IDE |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
6 automatically copies all of the JAR |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
7 files on the projects classpath to your projects dist/lib folder. The IDE |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
8 also adds each of the JAR files to the Class-Path element in the application |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
9 JAR files manifest file (MANIFEST.MF). |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
10 |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
11 To run the project from the command line, go to the dist folder and |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
12 type the following: |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
13 |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
14 java -jar "ConnectionManager.jar" |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
15 |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
16 To distribute this project, zip up the dist folder (including the lib folder) |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
17 and distribute the ZIP file. |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
18 |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
19 Notes: |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
20 |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
21 * If two JAR files on the project classpath have the same name, only the first |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
22 JAR file is copied to the lib folder. |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
23 * Only JAR files are copied to the lib folder. |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
24 If the classpath contains other types of files or folders, these files (folders) |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
25 are not copied. |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
26 * If a library on the projects classpath also has a Class-Path element |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
27 specified in the manifest,the content of the Class-Path element has to be on |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
28 the projects runtime path. |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
29 * To set a main class in a standard Java project, right-click the project node |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
30 in the Projects window and choose Properties. Then click Run and enter the |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
31 class name in the Main Class field. Alternatively, you can manually type the |
960fe1aa1c10
Add LTPDADatabaseConnectionManager implementation. Java code
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
32 class name in the manifest Main-Class element. |