-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
51 lines (43 loc) · 1.76 KB
/
INSTALL
File metadata and controls
51 lines (43 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
The following should be in the root of the source
* MacOSX/
[a directory containing files to package the application for Mac OS X]
* build.xml
[Apache Ant build script]
* lib/
[necessary library files]
* scripts/
[utility scripts]
* src/
[Source code]
To build the generic jar:
* ant package
[generic build, the resulting jar file will be in build/ ]
To build the Mac OS X application bundle
* first build the Mac specific jar, using the build target "packageMacOSX"
* run Jar Bundler application (q!open -a "Jar\ Bundler")
* under "Build information"
* set "com.winningsmiledental.JDentPro" as the main class
* select MacOSX/jDentPro.icns
* Ensure "Use Macintosh Menu Bar" is checked
* set JVM version to 1.6+
* under "Classpath and Files"
* add build/jDentPro.jar into "Additional Files"
* under "Properties"
* set "jDentPro" as the Bundle Name
* set version number
* create the application
* Once the application buindle has been built, copy the bundle to /Applications
Upcoming: automated installation of this package
Ensure that you have a MySQL database running. By default, JDentPro uses the following info. These can be changed in the config file located at src/resources/config/application.config.
* database: dental
* host: localhost
* user: apache
* password: apache
* port: 5432
The following describes how to configure the MySQL database for the jDentPro application.
* tart the MySQL databae and connecting to it as root.
* Ensure that you have the user created. To do so, run the following commands
* create user '$user'@'$host' identified by '$password';
* grant all on *.* to '$user'@'$host';
* Ensure that you have the database created. To do so, run the following command:
* create database $database;