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