A collection of FDAF development tools, designed to support FDAF implementation for compiling a testing-application or a ready-to-deploy application, to split current FDAF framework from current development-source of application, and for realtime testing the FDAF application view layer design.
Before using FDAF development tools, you must decide which PORT to apply.
PORT can be set within application.conf
as one of the following three PORT(s):
with-hibernate
- to compile FDAF application with Hibernate JPA provider supportswith-eclipselink
- to compile FDAF application with EclipseLink JPA provider supportsthorntail
- to compile FDAF application into Thorntail application
To create application from a fresh FDAF framework, follow the following steps:
-
Clone the fresh FDAF framework from the GITHUB repository inside directory of
development-source/io.sourceforge.fdaf
, so that development source directory will becomedevelopment-source/io.sourceforge.fdaf/fdaf
. -
Change the application properties in
development-source/io.sourceforge.fdaf/fdaf/develop.properties
as necessary to meet your new application design preferences and specification. More, do some stuff with your custom application codes. -
Change the general application configuration in
application.conf
into your FDAF application code name, i.eAPP_CODE_NAME="foo"
, and your favorite port, i.ePORT="with-hibernate"
. -
Call
./compile-test.sh
.
To create application from a split FDAF framework, follow the following steps:
-
Call
./fdaf-ext.sh
script from terminal console without argument, from inside your current FDAF application project. It will split current (or modified) FDAF framework into the generated directory offdaf-framework/dist/release
. -
Move all contents of
fdaf-framework/dist/release
into your new FDAF application project that already contains a set offdaf-app-compile-tools
. Place that split FDAF framework into directory ofdevelopment-source/io.sourceforge.fdaf/fdaf
of your new FDAF application project. -
Change the application properties in
development-source/io.sourceforge.fdaf/fdaf/develop.properties
as necessary to meet your new application design preferences and specification. More, do some stuff with your custom application codes. -
Change the general application configuration in
application.conf
into your FDAF application code name, i.eAPP_CODE_NAME="foo"
, and your favorite port, i.ePORT="with-hibernate"
. -
Call
./compile-test.sh
.
To split FDAF framework from an application project, call ./fdaf-ext.sh
script from terminal console without argument, from inside your current FDAF
application project. It will split current (or modified) FDAF framework into
the generated directory of fdaf-framework/dist/release
.
Note:
This will generate most of generated stuffs into default, i.e.
develop.properties
.
In testing an FDAF web-application, you will need to compile FDAF into a
testing-application. This collection of tools will help you into such
purpose, by producing non-archived web-application and business-tier
application inside directory of deployment/$APP_CODE_NAME-$PORT/
.
As of a testing-application compiled, call ./update.sh
from a terminal
console under current project directory with one of PORT options:
with-hibernate
- to realtime update view layer for FDAF application with Hibernate JPA provider supportswith-eclipselink
- to realtime update view layer for FDAF application with EclipseLink JPA provider supports
Note:
This is not applicable for FDAF compiled with PORT="thorntail"
or as a Thorntail Application.
Copyright (c) Heru Himawan Tejo Laksono. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.