-Installation instructions:\r
-==========================\r
-\r
-0) Create an empty database and setup proper permissions\r
-\r
-1) (Import install/install.sql into your new database) Currently DROP+CREATE\r
-\r
-2) Setup a JDBC pool. I took the simple driver:\r
-\r
-Pool name: JFinancialsPool\r
-Resource type: java.sql.Driver\r
-Driver: MySQL\r
-Driver class: org.mariadb.jdbc.Driver\r
-\r
-URL: jdbc:mysql://localhost/your_database\r
-user: your_login\r
-password: your_password\r
-\r
-3) Setup a JDBC resource:\r
-\r
-JNDI name: jdbc/jfinancials\r
-Pool name: JFinancialsPool\r
-\r
-4) In juser-core project you will find a JAR named "commons-codec-1.10.jar" you\r
- need to copy this to your $GLASSFISH_DOMAIN/lib/ path to make password\r
- encryption working. Please setup sufficient access rights (CHMOD 0644 is\r
- enough).\r
-\r
- If you forgot this file to copy and you have copied it now, please restart\r
- the Glassfish server so the JAR can be found and loaded.\r
-\r
-5) Setup a JMS connection factory:\r
-\r
-JNDI name: jms/jfinancials-queue-factory\r
-Resource type: javax.jms.QueueConnectionFactory\r
-\r
-6) Setup JMS message queue:\r
-\r
-JNDI name: jms/jfinancials-email-queue\r
-Physical destination name: jfinancialsSendEmail\r
-Resource type: javax.jms.Queue\r
-\r
-7) Setup Java Mail session:\r
-\r
-JNDI name: jfinancialsSmtpSession\r
-Mail host: <your-smtp-host>\r
-Default user: <your-smtp-login-name>\r
-Default sender address: noreply@your-domain.example\r
-\r
-Optional, but more secure/sometimes required advanced properties:\r
-\r
-mail.smtp.password : <email password>\r
-mail.smtp.port : <email port>\r
-mail.smtp.auth : true\r
-\r
-8) Setup JMS message queue\r
-\r
-JNDI name: jms/jfinancials-user-activity-log\r
-Physical destination name: jfinancialsUserActivityLog\r
-Resource type: javax.jms.Queue\r
+Installation instructions:
+==========================
+
+1) Create an empty database and setup proper permissions and user account. You
+ should create a separate database and user for each project you are going to
+ run on it for maximum security.
+
+2) Setup a JDBC pool. I took the simple driver:
+
+Pool name: JFinancialsPool
+Resource type: java.sql.Driver
+Driver: MariaDB
+Driver class: org.mariadb.jdbc.Driver
+
+URL: jdbc:mysql://localhost/your_database
+user: your_login
+password: your_password
+
+3) Setup a JDBC resource:
+
+JNDI name: jdbc/jfinancials
+Pool name: JFinancialsPool
+
+4) In juser-core project you will find a JAR named "commons-codec-1.10.jar" you
+ need to copy this to your $GLASSFISH_DOMAIN/lib/ path to make password
+ encryption working. Please setup sufficient access rights (CHMOD 0644 is
+ enough).
+
+ If you forgot this file to copy and you have copied it now, please restart
+ the Glassfish server so the JAR can be found and loaded.
+
+5) Setup a JMS connection factory:
+
+JNDI name: jms/jfinancials-queue-factory
+Resource type: javax.jms.QueueConnectionFactory
+
+6) Setup JMS message queue:
+
+JNDI name: jms/jfinancials-email-queue
+Physical destination name: jfinancialsSendEmail
+Resource type: javax.jms.Queue
+
+7) Setup Java Mail session:
+
+JNDI name: jfinancialsSmtpSession
+Mail host: <your-smtp-host>
+Default user: <your-smtp-login-name>
+Default sender address: noreply@your-domain.example
+
+Optional, but more secure/sometimes required advanced properties:
+
+mail.smtp.password : <email password>
+mail.smtp.port : <email port>
+mail.smtp.auth : true
+
+8) Setup JMS message queue
+
+JNDI name: jms/jfinancials-user-activity-log
+Physical destination name: jfinancialsUserActivityLog
+Resource type: javax.jms.Queue
+
+9) In WAR project, copy local_xx_XX.properties-dist to local_de_DE.properties
+ and local_en_US.properties. If for example your application uses
+ product_categories from jproduct-core, you may want to add your custom i18n
+ strings to the local properties files as this doesn't cause any later merge
+ conflicts as they are ignored by default.
build.classes.excludes=**/*.java,**/*.form,**/.nbattrs
build.dir=build
build.generated.dir=${build.dir}/generated
+client.module.uri=jfinancials-war
client.urlPart=
debug.classpath=${javac.classpath}::${jar.content.additional}:${run.classpath}
display.browser=true
jar.content.additional=\
${reference.jcore-logger-ejb.dist-ear}:\
${reference.jfinancials-ejb.dist-ear}:\
- ${reference.jfinancials-mailer-ejb.dist-ear}
+ ${reference.jfinancials-mailer-ejb.dist-ear}:\
+ ${reference.jfinancials-war.dist-ear}
jar.name=jfinancials.ear
javac.debug=true
javac.deprecation=false
project.jcore-logger-ejb=../jcore-logger-ejb
project.jfinancials-ejb=../jfinancials-ejb
project.jfinancials-mailer-ejb=../jfinancials-mailer-ejb
+project.jfinancials-war=../jfinancials-war
reference.jfinancials-ejb.dist-ear=${project.jfinancials-ejb}/dist/jfinancials-ejb.jar
reference.jcore-logger-ejb.dist-ear=${project.jcore-logger-ejb}/dist/jcore-logger-ejb.jar
reference.jfinancials-mailer-ejb.dist-ear=${project.jfinancials-mailer-ejb}/dist/jfinancials-mailer-ejb.jar
+reference.jfinancials-war.dist-ear=${project.jfinancials-war}/dist/jfinancials-war.war
resource.dir=setup
run.classpath=
source.root=.