Moved to contributions as it is not used in trunk.

This commit is contained in:
trifonnt 2007-11-22 13:39:19 +00:00
parent 1681d2dc92
commit 7edf90165c
36 changed files with 0 additions and 5728 deletions

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="plugins/src/org.compiere.compilo.importer.jasperreports/classes" path="plugins/src/org.compiere.compilo.importer.jasperreports/source"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry combineaccessrules="false" kind="src" path="/dbPort"/>
<classpathentry kind="lib" path="lib/commons-logging.jar"/>
<classpathentry kind="lib" path="lib/jpf.jar"/>
<classpathentry kind="lib" path="lib/jpf-boot.jar"/>
<classpathentry kind="lib" path="lib/jpf-tools.jar"/>
<classpathentry kind="lib" path="lib/jxp.jar"/>
<classpathentry kind="lib" path="lib/log4j.jar"/>
<classpathentry kind="lib" path="lib/xml-apis.jar"/>
<classpathentry kind="lib" path="plugins/org.compiere.compilo.importer.core-311.0.2.zip"/>
<classpathentry combineaccessrules="false" kind="src" path="/base"/>
<classpathentry kind="output" path="build"/>
</classpath>

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>_Project-ID-AdempiereJasper</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="druid.Druid"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-proj:${workspace_loc:_Project-ID-AdempiereJasper}/druid/Project-ID-AdempiereJasper.druid"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="druid"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xms64M&#10;-Xmx256M"/>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/druid"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:}"/>
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
</launchConfiguration>

View File

@ -1,26 +0,0 @@
This a template project showing how to organize and store Compiere customizations.
This is work in progress, so please be patient.
Any comments and requests for improvements are wellcome.
Any improvements and patches are very wellcome and highly appreciated.
Target integration between Compiere and Jasper Reports.
Steps that user must do:
01) Copy "build-ID-001.properties.sampe" into "build-ID-001.properties"
02) Set proper setting in "build-ID-001.properties" file.
03) Copy "build-ID-001.[bat|sh].sampe" into "build-ID-001.[bat|sh]"
04) Set proper setting in "build-ID-001.[bat|sh]" file.
05) Open shell console in current directory(_Project-ID-AdempiereJasper) and execute:
build-ID-001.bat alterDB
build-ID-001.bat model
build-ID-001.bat view
build-ID-001.bat imp_AD_ProcessJasper
build-ID-001.bat imp_AD_Process_Access
Enjoy new functionality.
Records now should be imported into Compiere AD.

View File

@ -1,38 +0,0 @@
# XML2AD
# Copyright (C) 2005 - 2006 Trifon Trifonov
# $Id: boot.properties,v 1.2 2006/07/27 10:13:32 trifonnt Exp $
#
# XML2AD start-up configuration properties
#
# (see API docs for "org.java.plugin.boot" package and documentation and source
# code for "org.compiere.compilo.importer.core" plug-in)
#
# Available runtime properties are:
# applicationRoot - application "home" folder
# all system properties
#
#-------------------------------------------------------------------------------
# XML2AD application plug-in ID
org.java.plugin.boot.applicationPlugin = org.compiere.compilo.importer.core
# Boot-time integrity check mode (full, light, off)
org.java.plugin.boot.integrityCheckMode = light
org.java.plugin.boot.splashImage = ${applicationRoot}/splash.jpg
#-------------------------------------------------------------------------------
# JPF runtime configuration
org.java.plugin.PathResolver = org.java.plugin.standard.ShadingPathResolver
org.java.plugin.standard.ShadingPathResolver.shadowFolder = ${applicationRoot}/temp/.jpf-shadow
org.java.plugin.standard.ShadingPathResolver.unpackMode = smart
#-------------------------------------------------------------------------------
# Folder where to store application data and configuration files
org.compiere.compilo.importer.core.dataFolder = ${applicationRoot}/data
#-------------------------------------------------------------------------------
# If we should start Compiere as Client or Server (Y|N); Default = Y
org.compiere.compilo.importer.core.isClient=Y
org.compiere.compilo.importer.core.ApplicationUserID=SuperUser
org.compiere.compilo.importer.core.ApplicationPassword=System
org.compiere.compilo.importer.core.Role=System Administrator
org.compiere.compilo.importer.core.Client=System
org.compiere.compilo.importer.core.Organization=*
org.compiere.compilo.importer.core.Warehouse=
org.compiere.compilo.importer.core.Language=English

View File

@ -1,10 +0,0 @@
REM SET ANT_HOME=I:/dev/apache-ant-1.6.2
SET ADEMPIERE_HOME=./../_production/Adempiere
REM SET COMPIERE_HOME=./../_production/Compiere2
SET JAVA_HOME=C:\Trifon\jdk\1.4.2_09
@REM Call Ant;
@REM Value of property specified on the command line will
@REM override the value specified in the build file.
%ANT_HOME%/bin/ant.bat -propertyfile build-ID-001.properties -Dmodel.file=xml/model/Model-ID-001.xml -Dview.file=xml/view/View-ID-001.xml -Ddata.file=xml/data/Data-ID-001.xml -DPropertyFile=%ADEMPIERE_HOME%/Adempiere.properties %*

View File

@ -1,11 +0,0 @@
oracle.host=HOST
oracle.port=1521
oracle.sid=SID
oracle.search=orcl
oracle.username=USER_NAME
oracle.password=PASSWORD
REM compiere.dir=%ADEMPIERE_HOME%
createSQL.file=sql/CreateTable-Oracle-ID-001.sql
alterSQL.file=sql/AlterTable-Oracle-ID-001.sql

View File

@ -1,10 +0,0 @@
# export COMPIERE_HOME=/home/trifon/comap-2.5.3b/_production/Compiere2
# export JAVA_HOME=/usr/local/java/jdk1.5.0_05
# export ANT_HOME=/usr/local/java/ant
# Call Ant;
# Value of property specified on the command line will
# override the value specified in the build file.
$ANT_HOME/bin/ant -propertyfile build-ID-001.properties -Dmodel.file=xml/model/Model-ID-001.xml -Dview.file=xml/view/View-ID-001.xml -Ddata.file=xml/data/Data-ID-001.xml -DPropertyFile=$COMPIERE_HOME/Compiere.properties $1

View File

@ -1,602 +0,0 @@
<!-- ============================================= -->
<!-- AD Customizations Keeper tool. -->
<!-- -->
<!-- Trifon N. Trifonov -->
<!-- trifonnt@yahoo.com -->
<!-- ============================================= -->
<project name="_Project-ID-AdempiereJasper" default="init" basedir=".">
<description>
AD Customizations Keeper tool.
AD Customizations Keeper helps you to store your Compiere ERP+CRM customizations in xml format.
It uses Druid to build visually tables, columns and other elements from AD.
It uses XML2AD in order to transform set of XML files in several updates towards the database
and insert the GUI you have expressed in XML into the database i.e. into Compiere.
</description>
<!-- Set global properties for this build -->
<!--<property environment="env"/>-->
<import file="../utils_dev/properties.xml"/>
<property file="build.properties"/>
<property name="plugins.dir" value="plugins"/>
<!--property name="compiere.dir" value="${env.COMPIERE_HOME}"/-->
<property name="compiere.dir" value="${env.ADEMPIERE_HOME}"/> <!-- In order to work with Adempiere -->
<!-- Value of this properties could be overriden by property specified on command line -->
<property name="model.file" value="xml/model/Model.xml"/>
<property name="view.file" value="xml/view/View.xml"/>
<property name="data.file" value="xml/data/Data.xml"/>
<!--property name="createSQL.file" value="sql/CreateTable-Oracle.sql"/-->
<!--property name="alterSQL.file" value="sql/AlterTable-Oracle.sql"/-->
<!--property name="PropertyFile" value="../_production/Compiere2/Compiere.properties" /-->
<property name="PropertyFile" value="../_production/Adempiere/Adempiere.properties" /> <!-- In order to work with Adempiere -->
<!-- Set path to include the necessary jar files for javac -->
<path id="project.classpath">
<fileset dir="lib" includes="*.jar" />
<pathelement path="${compiere.dir}/lib/Adempiere.jar"/>
<pathelement path="${compiere.dir}/lib/AdempiereCLib.jar"/>
<pathelement path="${compiere.dir}/lib/Compiere.jar"/>
<pathelement path="${compiere.dir}/lib/CompiereCLib.jar"/>
<pathelement path="${compiere.dir}/lib/CSTools.jar"/>
<pathelement path="${compiere.dir}/lib/oracle.jar"/>
<pathelement path="${compiere.dir}/lib/jboss.jar"/>
<pathelement path="${compiere.dir}/lib/CClient.jar"/> <!-- Version 2.5.1x -->
</path>
<typedef resource="org/java/plugin/tools/ant/jpf-tasks.properties">
<classpath refid="project.classpath" />
</typedef>
<echo>compiere.dir = ${compiere.dir}</echo>
<echo>project.classpath = ${project.classpath}</echo>
<target name="init" description="Initialization target">
<echo message="AD Customizations Keeper tool...
AD Customizations Keeper helps you to store your Compiere ERP+CRM customizations in xml format."
/>
<!-- Create the time stamp -->
<tstamp/>
</target>
<target name="compile" >
<antcall target="build-plugins">
<param name="target" value="build" />
</antcall>
</target>
<target name="zip">
<zip destfile="${ant.project.name}.zip" >
<fileset dir="." includes="**/*" excludes="${ant.project.name}.zip, build-ID-001.bat, build-ID-001.sh, build-ID-001.properties, resultCreateSQL.txt, resultAlterSQL.txt, logs/*.log, temp/*.xml, result/**/*.xml, sql/CreateTable-Oracle-ID-001-part.sql, sql/AlterTable-Oracle-ID-001-part.sql" />
</zip>
</target>
<target name="build-plugins">
<subant target="${target}">
<fileset dir="./plugins/src/" includes="*/build.xml"/>
<reference refid="project.classpath" torefid="plugin.classpath"/>
</subant>
</target>
<target name="dist"
depends="compile"
description="Prepares distribution packages">
<jpf-zip basedir="${plugins.dir}/src"
includes="*/plugin.xml,*/plugin-fragment.xml"
destdir="${plugins.dir}" />
</target>
<target name="createDB" description="Execute CREATE SQL statements" >
<sql
driver="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}"
userid="${oracle.username}"
password="${oracle.password}"
src="${createSQL.file}"
print="yes"
output="resultCreateSQL.txt"
onerror="continue"
>
<classpath>
<pathelement location="${compiere.dir}/lib/oracle.jar"/>
</classpath>
</sql>
</target>
<target name="alterDB" description="Execute ALTER TABLE SQL statements" >
<sql
driver="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}"
userid="${oracle.username}"
password="${oracle.password}"
src="${alterSQL.file}"
print="yes"
output="resultAlterSQL.txt"
onerror="continue"
>
<classpath>
<pathelement location="${compiere.dir}/lib/oracle.jar"/>
</classpath>
</sql>
</target>
<target name="model_Old" description="Create records in AD_Table, AD_Column and other Model tables" >
<echo>Trifon ---: -DPropertyFile=${PropertyFile}</echo>
<java classname="org.compiere.compilo.XML2AD"
fork="true" >
<arg value="${model.file}"/>
<arg value="${oracle.host}"/>
<arg value="${oracle.port}"/>
<arg value="${oracle.search}"/>
<arg value="${oracle.username}"/>
<arg value="${oracle.password}"/>
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
</java>
</target>
<target name="model" description="Create records in AD_Table, AD_Column and other Model tables.">
<echo>Trifon ---: -DPropertyFile=${PropertyFile}</echo>
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="${model.file}"/>
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<!--jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" /-->
</java>
</target>
<target name="view_Old" description="Create records in AD_Window, AD_Tab and other View tables." >
<java classname="org.compiere.compilo.XML2AD"
fork="true" >
<arg value="${view.file}"/>
<arg value="${oracle.host}"/>
<arg value="${oracle.port}"/>
<arg value="${oracle.search}"/>
<arg value="${oracle.username}"/>
<arg value="${oracle.password}"/>
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
</java>
</target>
<target name="view" description="Create records in AD_Window, AD_Tab and other View tables.">
<echo>Trifon ---: -DPropertyFile=${PropertyFile}</echo>
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="${view.file}"/>
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<!--jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" /-->
</java>
</target>
<target name="data_Old">
<java classname="org.compiere.compilo.XML2AD"
fork="true" >
<arg value="${data.file}"/>
<arg value="${oracle.host}"/>
<arg value="${oracle.port}"/>
<arg value="${oracle.search}"/>
<arg value="${oracle.username}"/>
<arg value="${oracle.password}"/>
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
</java>
</target>
<target name="data" description="Used for Import of records. Will be replaced by imp_X_xxx.">
<echo>Trifon ---: -DPropertyFile=${PropertyFile}</echo>
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="${data.file}"/>
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<!--jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" /-->
</java>
</target>
<target name="dataAll"
depends="imp_AD_Role, imp_AD_Role_OrgAccess, imp_AD_User_Roles, imp_AD_Window_Access
, imp_AD_Process_Access, imp_AD_Workflow_Access, imp_AD_Column_Access
, imp_AD_Form_Access, imp_C_Cause, imp_C_BP_Group, imp_AD_PrintFormat, imp_AD_PrintTableFormat"
description="Executes all data imports">
</target>
<target name="imp_AD_Role" description="Import AD_Role records.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_Role.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_Role-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
<jvmarg value="-DPropertyFile=${PropertyFile}" />
</java>
</target>
<target name="imp_AD_Role_OrgAccess" description="Import AD_Role_OrgAccess records.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_Role_OrgAccess.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_Role_OrgAccess-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
<jvmarg value="-DPropertyFile=${PropertyFile}" />
</java>
</target>
<target name="imp_AD_User_Roles" description="Import AD_User_Roles records.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_User_Roles.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_User_Roles-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
<jvmarg value="-DPropertyFile=${PropertyFile}" />
</java>
</target>
<target name="imp_AD_Window_Access" description="Import AD_Window_Access records.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_Window_Access.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_Window_Access-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
<jvmarg value="-DPropertyFile=${PropertyFile}" />
</java>
</target>
<target name="imp_AD_Process_Access" description="Import AD_Process_Access records.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_Process_Access.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_Process_Access-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
<jvmarg value="-DPropertyFile=${PropertyFile}" />
</java>
</target>
<target name="imp_AD_Workflow_Access" description="Import AD_Workflow_Access records.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_Workflow_Access.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_Workflow_Access-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
<jvmarg value="-DPropertyFile=${PropertyFile}" />
</java>
</target>
<target name="imp_AD_Column_Access" description="Import AD_Column_Access records.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_Column_Access.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_Column_Access-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
<jvmarg value="-DPropertyFile=${PropertyFile}" />
</java>
</target>
<target name="imp_AD_Form_Access" description="Import AD_Form_Access records.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_Form_Access.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_Form_Access-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
<jvmarg value="-DPropertyFile=${PropertyFile}" />
</java>
</target>
<target name="imp_C_Cause_Old" description="Import C_Cause records.">
<java classname="org.compiere.compilo.importer.CommandLineImporter"
fork="true" >
<arg value="./xml/data/C_Cause.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/C_Cause-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_C_Cause" description="Import C_Cause using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/C_Cause.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/C_Cause-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_AD_Scheduler" description="Import AD_Scheduler using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_Scheduler.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_Scheduler-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_AD_User" description="Import AD_User using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_User.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_User-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_C_BP_Group" description="Import C_BP_Group using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/C_BP_Group.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/C_BP_Group-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_AD_PrintFormat" description="Import AD_PrintFormat using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_PrintFormat.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_PrintFormat-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_AD_PrintTableFormat" description="Import AD_PrintTableFormat using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_PrintTableFormat.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_PrintTableFormat-out.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_M_Product_Category" description="Import M_Product_Category using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/M_Product_Category.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/M_Product_Category.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_PA_Report" description="Import PA_Report using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/PA_Report.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/PA_Report.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_PA_ReportColumnSet" description="Import PA_ReportColumnSet using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/PA_ReportColumnSet.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/PA_ReportColumnSet.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_PA_ReportLineSet" description="Import PA_ReportLineSet using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/PA_ReportLineSet.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/PA_ReportLineSet.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_AD_Language" description="Import AD_Language using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_Language.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_Language.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
<target name="imp_AD_ProcessJasper" description="Import AD_ProcessJasper using JPF plugin architecture.">
<java classname="org.java.plugin.boot.Boot"
fork="true" >
<arg value="./xml/data/AD_ProcessJasper.xml" />
<arg value="./xsd/importer.xsd" />
<arg value="./result/compiere/data/AD_ProcessJasper.xml" />
<classpath refid="project.classpath"/>
<jvmarg value="-DPropertyFile=${PropertyFile}" />
<jvmarg value="-DjdbcDriver=oracle.jdbc.driver.OracleDriver" />
<jvmarg value="-DjdbcURL=jdbc:oracle:thin:@${oracle.host}:${oracle.port}:${oracle.sid}" />
<jvmarg value="-DjdbcUserName=${oracle.username}" />
<jvmarg value="-DjdbcPassword=${oracle.password}" />
</java>
</target>
</project>
<!-- Trifon N. Trifonov -->
<!-- trifonnt@yahoo.com -->

View File

@ -1 +0,0 @@
Here we will place all documentation.

View File

@ -1,5 +0,0 @@
This file contains sample requirements.
-01)
-02)

View File

@ -1,37 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT column EMPTY>
<!ATTLIST column
name CDATA #REQUIRED
lookupvalue CDATA #IMPLIED
class (String | Integer | Boolean | Date | BigDecimal) #IMPLIED
value CDATA #IMPLIED
lookupname CDATA #IMPLIED
lookupvalue CDATA #IMPLIED
lookupcustom CDATA #IMPLIED
lookupcustom_table CDATA #IMPLIED
lookupcustom_col CDATA #IMPLIED
tableNameMaster CDATA #IMPLIED
masterColumn CDATA #IMPLIED
masterValue CDATA #IMPLIED
lookup_ref_list CDATA #IMPLIED
ref_name CDATA #IMPLIED
lookup_ref_table CDATA #IMPLIED
>
<!ELEMENT compieredata (table+)>
<!ATTLIST compieredata
clientname CDATA #REQUIRED
>
<!ELEMENT default (column+)>
<!-- en row se permite lookup+key1name como atributo o lookup+key2name-->
<!ELEMENT row (column*)>
<!ATTLIST row
name CDATA #IMPLIED
key1name CDATA #IMPLIED
lookupkey1name CDATA #IMPLIED
key2name CDATA #IMPLIED
lookupkey2name CDATA #IMPLIED
>
<!ELEMENT table (default*, row+)>
<!ATTLIST table
tablename CDATA #REQUIRED
>

View File

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT attrib EMPTY>
<!--
name (NotN|Def|Reference|Reference Value|Element name|ValidationRule|FieldLength|IsUpdateable|ColumnSQL|Callout|ValueMin|ValueMax|ReadOnlyLogic)
para Reference admite los siguientes valores
Amount Number with 4 decimals
Assignment Resource Assignment
Binary Binary Data
Button Command Button - starts a process
Color Color element
Costs+Prices Costs + Prices (minimum currency precision, but if exists more)
Date Date mm/dd/yyyy
Date+Time Date with time
ID 10 Digit Identifier
Image Binary Image Data
Integer 10 Digit numeric
List Reference List
Location (Address) Location/Address
Locator (WH) Warehouse Locator Data type
Memo Large Text Editor - Character String up to 2000 characters
Number Float Number
Product Attribute Product Attribute
Quantity Quantity data type
RowID Row ID Data Type
Search Search Field
String Character String
Table Table List
Table Direct Direct Table Access
Text Character String up to 2000 characters
Text Long Text (Long) - Text > 2000 characters
Time Time
Yes-No CheckBox
-->
<!ATTLIST attrib
name CDATA #REQUIRED
value CDATA #IMPLIED
>
<!ELEMENT database (table+)>
<!ATTLIST database
name CDATA #REQUIRED
build CDATA #REQUIRED
date CDATA #REQUIRED
>
<!ELEMENT field (attrib*)>
<!--sqltype
Number - starts with number or starts with numeric
YesNo - contains char and ends with (1)
String - contains char
DateTime - contains date or contains time
type and ddEquiv ignored at present time
-->
<!ATTLIST field
name CDATA #REQUIRED
type CDATA #REQUIRED
sqlType CDATA #REQUIRED
ddEquiv CDATA #REQUIRED
_JustUpdate (Y | N) #IMPLIED
>
<!ELEMENT table (field+)>
<!ATTLIST table
name CDATA #REQUIRED
accesslevel CDATA #IMPLIED
ImportTable (Y | N) #IMPLIED
_JustUpdate (Y | N) #IMPLIED
>

View File

@ -1,109 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT compiereAD (default?, Reference*, menu*, ValidationRule*, message*)>
<!ELEMENT default EMPTY>
<!-- entitytype (Applications | Compiere | Customization | Dictionary | User maintained)-->
<!ATTLIST default
entitytype CDATA #REQUIRED
firstdelete (true | false) #REQUIRED
>
<!ELEMENT menu (menu+ | window+ | process+)>
<!ATTLIST menu
name CDATA #REQUIRED
issummary (true | false) #IMPLIED
>
<!-- si no se diligencia el nombre de la ventana lo toma del menu -->
<!ELEMENT window (tab*)>
<!ATTLIST window
name CDATA #IMPLIED
>
<!ELEMENT tab (field+, SeqNo*, fieldGroup*, tab*)>
<!-- linkcolumn solo funciona para campos _ID -->
<!ATTLIST tab
name CDATA #REQUIRED
tablename CDATA #REQUIRED
linkcolumn CDATA #IMPLIED
singlerow (Y | N) #IMPLIED
syncfields (Y | N) #REQUIRED
hasTree (Y | N) #IMPLIED
>
<!ELEMENT field (process?)>
<!ATTLIST field
name CDATA #REQUIRED
columnname CDATA #REQUIRED
isDisplayed (Y | N) #IMPLIED
isReadOnly (Y | N) #IMPLIED
displayLength CDATA #IMPLIED
fieldGroup CDATA #IMPLIED
defaultValue CDATA #IMPLIED
identifierno CDATA #IMPLIED
seqNo CDATA #IMPLIED
displayLogic CDATA #IMPLIED
mandatory (Y | N) #IMPLIED
isSameLine (Y | N) #IMPLIED
>
<!ATTLIST SeqNo
after CDATA #REQUIRED
>
<!ATTLIST fieldGroup
name CDATA #REQUIRED
>
<!ELEMENT process (processpara*)>
<!ATTLIST process
name CDATA #REQUIRED
value CDATA #IMPLIED
classname CDATA #IMPLIED
description CDATA #IMPLIED
help CDATA #IMPLIED
accesslevel CDATA #IMPLIED
>
<!ELEMENT Reference (ReferenceList?, ReferenceTable?)>
<!ATTLIST Reference
name CDATA #IMPLIED
description CDATA #IMPLIED
help CDATA #IMPLIED
validationType CDATA #IMPLIED
entityType CDATA #IMPLIED
vFormat CDATA #IMPLIED
_JustUpdate (Y | N) #IMPLIED
>
<!ELEMENT ReferenceList EMPTY>
<!ATTLIST ReferenceList
key CDATA #IMPLIED
name CDATA #IMPLIED
description CDATA #IMPLIED
entityType CDATA #IMPLIED
>
<!ELEMENT ReferenceTable EMPTY>
<!ATTLIST ReferenceTable
key CDATA #IMPLIED
table CDATA #IMPLIED
display CDATA #IMPLIED
whereClause CDATA #IMPLIED
orderByClause CDATA #IMPLIED
entityType CDATA #IMPLIED
>
<!ATTLIST ValidationRule
name CDATA #IMPLIED
description CDATA #IMPLIED
code CDATA #IMPLIED
type CDATA #IMPLIED
>
<!ATTLIST message
value CDATA #IMPLIED
text CDATA #IMPLIED
tip CDATA #IMPLIED
type CDATA #IMPLIED
>
<!ELEMENT processpara EMPTY>
<!ATTLIST processpara
name CDATA #REQUIRED
description CDATA #IMPLIED
reference CDATA #IMPLIED
referenceValue CDATA #IMPLIED
columnname CDATA #IMPLIED
element CDATA #IMPLIED
val_rule CDATA #IMPLIED
validationRule CDATA #IMPLIED
mandatory (Y | N) #IMPLIED
centrallyMaintained (Y | N) #IMPLIED
>

View File

@ -1,37 +0,0 @@
# JPF-Demo
# Copyright (C) 2005 - 2006 Trifon Trifonov
# $Id: log4j.properties,v 1.1 2006/06/05 15:13:40 trifonnt Exp $
applicationRoot = .
#
# Log4j configuration
# Available priorities are: OFF, FATAL, ERROR, WARN, INFO, DEBUG, ALL
#
log4j.rootLogger = ALL,console
log4j.logger.org.compiere.compilo.importer.core = ALL,importer
log4j.logger.org.java.plugin = ALL,jpf
log4j.appender.console = org.apache.log4j.varia.NullAppender
#log4j.appender.console = org.apache.log4j.ConsoleAppender
log4j.appender.console.layout = org.apache.log4j.PatternLayout
log4j.appender.console.layout.conversionPattern = %d [%t] %-5p %c %m%n
log4j.appender.importer = org.apache.log4j.FileAppender
log4j.appender.importer.file = ${applicationRoot}/logs/impoprter.log
log4j.appender.importer.layout = org.apache.log4j.PatternLayout
log4j.appender.importer.layout.conversionPattern = %d [%t] %-5p %c %m%n
log4j.appender.importer.append = false
log4j.appender.jpf = org.apache.log4j.FileAppender
log4j.appender.jpf.file = ${applicationRoot}/logs/jpf.log
log4j.appender.jpf.layout = org.apache.log4j.PatternLayout
log4j.appender.jpf.layout.conversionPattern = %d [%t] %-5p %c %m%n
log4j.appender.jpf.append = false
#log4j.appender.other = org.apache.log4j.FileAppender
#log4j.appender.other.file = ${applicationRoot}/logs/other.log
#log4j.appender.other.layout = org.apache.log4j.PatternLayout
#log4j.appender.other.layout.conversionPattern = %d [%t] %-5p %c %m%n
#log4j.appender.other.append = false

View File

@ -1,487 +0,0 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
/** Generated Model - DO NOT CHANGE */
import java.util.*;
import java.sql.*;
import java.math.*;
import org.compiere.util.*;
/** Generated Model for AD_Process
* @author Jorg Janke (generated)
* @version Release 3.1.3 - $Id$ */
public class X_AD_Process extends PO
{
/** Standard Constructor
@param ctx context
@param AD_Process_ID id
@param trxName transaction
*/
public X_AD_Process (Properties ctx, int AD_Process_ID, String trxName)
{
super (ctx, AD_Process_ID, trxName);
/** if (AD_Process_ID == 0)
{
setAD_Process_ID (0);
setAccessLevel (null);
setEntityType (null); // U
setIsBetaFunctionality (false);
setIsReport (false);
setIsServerProcess (false);
setName (null);
setValue (null);
}
*/
}
/** Load Constructor
@param ctx context
@param rs result set
@param trxName transaction
*/
public X_AD_Process (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AD_Table_ID=284 */
public static final int Table_ID=MTable.getTable_ID("AD_Process");
/** TableName=AD_Process */
public static final String Table_Name="AD_Process";
protected static KeyNamePair Model = new KeyNamePair(Table_ID,"AD_Process");
protected BigDecimal accessLevel = BigDecimal.valueOf(4);
/** AccessLevel
@return 4 - System
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data
@param ctx context
@return PO Info
*/
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID);
return poi;
}
/** Info
@return info
*/
public String toString()
{
StringBuffer sb = new StringBuffer ("X_AD_Process[").append(get_ID()).append("]");
return sb.toString();
}
/** Set Print Format.
@param AD_PrintFormat_ID Data Print Format */
public void setAD_PrintFormat_ID (int AD_PrintFormat_ID)
{
if (AD_PrintFormat_ID <= 0) set_Value ("AD_PrintFormat_ID", null);
else
set_Value ("AD_PrintFormat_ID", Integer.valueOf(AD_PrintFormat_ID));
}
/** Get Print Format.
@return Data Print Format */
public int getAD_PrintFormat_ID()
{
Integer ii = (Integer)get_Value("AD_PrintFormat_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Process.
@param AD_Process_ID Process or Report */
public void setAD_Process_ID (int AD_Process_ID)
{
if (AD_Process_ID < 1) throw new IllegalArgumentException ("AD_Process_ID is mandatory.");
set_ValueNoCheck ("AD_Process_ID", Integer.valueOf(AD_Process_ID));
}
/** Get Process.
@return Process or Report */
public int getAD_Process_ID()
{
Integer ii = (Integer)get_Value("AD_Process_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Report View.
@param AD_ReportView_ID View used to generate this report */
public void setAD_ReportView_ID (int AD_ReportView_ID)
{
if (AD_ReportView_ID <= 0) set_Value ("AD_ReportView_ID", null);
else
set_Value ("AD_ReportView_ID", Integer.valueOf(AD_ReportView_ID));
}
/** Get Report View.
@return View used to generate this report */
public int getAD_ReportView_ID()
{
Integer ii = (Integer)get_Value("AD_ReportView_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Workflow.
@param AD_Workflow_ID Workflow or combination of tasks */
public void setAD_Workflow_ID (int AD_Workflow_ID)
{
if (AD_Workflow_ID <= 0) set_Value ("AD_Workflow_ID", null);
else
set_Value ("AD_Workflow_ID", Integer.valueOf(AD_Workflow_ID));
}
/** Get Workflow.
@return Workflow or combination of tasks */
public int getAD_Workflow_ID()
{
Integer ii = (Integer)get_Value("AD_Workflow_ID");
if (ii == null) return 0;
return ii.intValue();
}
/** AccessLevel AD_Reference_ID=5 */
public static final int ACCESSLEVEL_AD_Reference_ID=5;
/** Organization = 1 */
public static final String ACCESSLEVEL_Organization = "1";
/** Client only = 2 */
public static final String ACCESSLEVEL_ClientOnly = "2";
/** Client+Organization = 3 */
public static final String ACCESSLEVEL_ClientPlusOrganization = "3";
/** System only = 4 */
public static final String ACCESSLEVEL_SystemOnly = "4";
/** System+Client = 6 */
public static final String ACCESSLEVEL_SystemPlusClient = "6";
/** All = 7 */
public static final String ACCESSLEVEL_All = "7";
/** Set Data Access Level.
@param AccessLevel Access Level required */
public void setAccessLevel (String AccessLevel)
{
if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory");
if (AccessLevel.equals("1") || AccessLevel.equals("2") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("6") || AccessLevel.equals("7"));
else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 2 - 3 - 4 - 6 - 7");
if (AccessLevel.length() > 1)
{
log.warning("Length > 1 - truncated");
AccessLevel = AccessLevel.substring(0,0);
}
set_Value ("AccessLevel", AccessLevel);
}
/** Get Data Access Level.
@return Access Level required */
public String getAccessLevel()
{
return (String)get_Value("AccessLevel");
}
/** Set Classname.
@param Classname Java Classname */
public void setClassname (String Classname)
{
if (Classname != null && Classname.length() > 60)
{
log.warning("Length > 60 - truncated");
Classname = Classname.substring(0,59);
}
set_Value ("Classname", Classname);
}
/** Get Classname.
@return Java Classname */
public String getClassname()
{
return (String)get_Value("Classname");
}
/** Set Description.
@param Description Optional short description of the record */
public void setDescription (String Description)
{
if (Description != null && Description.length() > 255)
{
log.warning("Length > 255 - truncated");
Description = Description.substring(0,254);
}
set_Value ("Description", Description);
}
/** Get Description.
@return Optional short description of the record */
public String getDescription()
{
return (String)get_Value("Description");
}
/** EntityType AD_Reference_ID=389 */
public static final int ENTITYTYPE_AD_Reference_ID=389;
/** Set Entity Type.
@param EntityType Dictionary Entity Type;
Determines ownership and synchronization */
public void setEntityType (String EntityType)
{
if (EntityType.length() > 4)
{
log.warning("Length > 4 - truncated");
EntityType = EntityType.substring(0,3);
}
set_Value ("EntityType", EntityType);
}
/** Get Entity Type.
@return Dictionary Entity Type;
Determines ownership and synchronization */
public String getEntityType()
{
return (String)get_Value("EntityType");
}
/** Set Comment/Help.
@param Help Comment or Hint */
public void setHelp (String Help)
{
if (Help != null && Help.length() > 2000)
{
log.warning("Length > 2000 - truncated");
Help = Help.substring(0,1999);
}
set_Value ("Help", Help);
}
/** Get Comment/Help.
@return Comment or Hint */
public String getHelp()
{
return (String)get_Value("Help");
}
/** Set Beta Functionality.
@param IsBetaFunctionality This functionality is considered Beta */
public void setIsBetaFunctionality (boolean IsBetaFunctionality)
{
set_Value ("IsBetaFunctionality", Boolean.valueOf(IsBetaFunctionality));
}
/** Get Beta Functionality.
@return This functionality is considered Beta */
public boolean isBetaFunctionality()
{
Object oo = get_Value("IsBetaFunctionality");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Direct print.
@param IsDirectPrint Print without dialog */
public void setIsDirectPrint (boolean IsDirectPrint)
{
set_Value ("IsDirectPrint", Boolean.valueOf(IsDirectPrint));
}
/** Get Direct print.
@return Print without dialog */
public boolean isDirectPrint()
{
Object oo = get_Value("IsDirectPrint");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Report.
@param IsReport Indicates a Report record */
public void setIsReport (boolean IsReport)
{
set_Value ("IsReport", Boolean.valueOf(IsReport));
}
/** Get Report.
@return Indicates a Report record */
public boolean isReport()
{
Object oo = get_Value("IsReport");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Server Process.
@param IsServerProcess Run this Process on Server only */
public void setIsServerProcess (boolean IsServerProcess)
{
set_Value ("IsServerProcess", Boolean.valueOf(IsServerProcess));
}
/** Get Server Process.
@return Run this Process on Server only */
public boolean isServerProcess()
{
Object oo = get_Value("IsServerProcess");
if (oo != null)
{
if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Jasper Report.
@param JasperReport In this column you store the JasperReport filename */
public void setJasperReport (String JasperReport)
{
if (JasperReport != null && JasperReport.length() > 255)
{
log.warning("Length > 255 - truncated");
JasperReport = JasperReport.substring(0,254);
}
set_Value ("JasperReport", JasperReport);
}
/** Get Jasper Report.
@return In this column you store the JasperReport filename */
public String getJasperReport()
{
return (String)get_Value("JasperReport");
}
/** Set Name.
@param Name Alphanumeric identifier of the entity */
public void setName (String Name)
{
if (Name == null) throw new IllegalArgumentException ("Name is mandatory.");
if (Name.length() > 60)
{
log.warning("Length > 60 - truncated");
Name = Name.substring(0,59);
}
set_Value ("Name", Name);
}
/** Get Name.
@return Alphanumeric identifier of the entity */
public String getName()
{
return (String)get_Value("Name");
}
/** Set Procedure.
@param ProcedureName Name of the Database Procedure */
public void setProcedureName (String ProcedureName)
{
if (ProcedureName != null && ProcedureName.length() > 60)
{
log.warning("Length > 60 - truncated");
ProcedureName = ProcedureName.substring(0,59);
}
set_Value ("ProcedureName", ProcedureName);
}
/** Get Procedure.
@return Name of the Database Procedure */
public String getProcedureName()
{
return (String)get_Value("ProcedureName");
}
/** ShowHelp AD_Reference_ID=50007 */
public static final int SHOWHELP_AD_Reference_ID=50007;
/** Ask user (for future use) = A */
public static final String SHOWHELP_AskUserForFutureUse = "A";
/** Don't show help = N */
public static final String SHOWHELP_DonTShowHelp = "N";
/** Show Help = Y */
public static final String SHOWHELP_ShowHelp = "Y";
/** Set Show Help.
@param ShowHelp Show Help */
public void setShowHelp (String ShowHelp)
{
if (ShowHelp == null || ShowHelp.equals("A") || ShowHelp.equals("N") || ShowHelp.equals("Y"));
else throw new IllegalArgumentException ("ShowHelp Invalid value - " + ShowHelp + " - Reference_ID=50007 - A - N - Y");
if (ShowHelp != null && ShowHelp.length() > 1)
{
log.warning("Length > 1 - truncated");
ShowHelp = ShowHelp.substring(0,0);
}
set_Value ("ShowHelp", ShowHelp);
}
/** Get Show Help.
@return Show Help */
public String getShowHelp()
{
return (String)get_Value("ShowHelp");
}
/** Set Statistic Count.
@param Statistic_Count Internal statistics how often the entity was used */
public void setStatistic_Count (int Statistic_Count)
{
set_Value ("Statistic_Count", Integer.valueOf(Statistic_Count));
}
/** Get Statistic Count.
@return Internal statistics how often the entity was used */
public int getStatistic_Count()
{
Integer ii = (Integer)get_Value("Statistic_Count");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Statistic Seconds.
@param Statistic_Seconds Internal statistics how many seconds a process took */
public void setStatistic_Seconds (int Statistic_Seconds)
{
set_Value ("Statistic_Seconds", Integer.valueOf(Statistic_Seconds));
}
/** Get Statistic Seconds.
@return Internal statistics how many seconds a process took */
public int getStatistic_Seconds()
{
Integer ii = (Integer)get_Value("Statistic_Seconds");
if (ii == null) return 0;
return ii.intValue();
}
/** Set Search Key.
@param Value Search key for the record in the format required - must be unique */
public void setValue (String Value)
{
if (Value == null) throw new IllegalArgumentException ("Value is mandatory.");
if (Value.length() > 40)
{
log.warning("Length > 40 - truncated");
Value = Value.substring(0,39);
}
set_Value ("Value", Value);
}
/** Get Search Key.
@return Search key for the record in the format required - must be unique */
public String getValue()
{
return (String)get_Value("Value");
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair
*/public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getValue());
}
/** Set Workflow Key.
@param WorkflowValue Key of the Workflow to start */
public void setWorkflowValue (String WorkflowValue)
{
if (WorkflowValue != null && WorkflowValue.length() > 40)
{
log.warning("Length > 40 - truncated");
WorkflowValue = WorkflowValue.substring(0,39);
}
set_Value ("WorkflowValue", WorkflowValue);
}
/** Get Workflow Key.
@return Key of the Workflow to start */
public String getWorkflowValue()
{
return (String)get_Value("WorkflowValue");
}
}

View File

@ -1,56 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="org.compiere.compilo.importer.jasperreports plug-in build file"
default="help"
basedir=".">
<jpf-info manifest="${basedir}/plugin.xml"
propertyid="plugin.id"
propertyversion="plugin.version" />
<property name="plugin.home"
value="${basedir}" />
<path id="plugin.classpath">
<fileset dir="${basedir}/../../../lib">
<include name="*.jar" />
</fileset>
</path>
<target name="help">
<echo>
<![CDATA[
${plugin.id} plug-in build file:
Use top-level project build file to build application.
]]>
</echo>
</target>
<target name="build">
<echo>Building ${plugin.id} plug-in to folder ${plugin.home}</echo>
<mkdir dir="${plugin.home}/classes" />
<javac destdir="${plugin.home}/classes"
srcdir="${basedir}/source"
classpathref="plugin.classpath"
excludes=""
debug="true"
optimize="false">
</javac>
<copy todir="${plugin.home}/classes">
<fileset dir="${basedir}/source"
includes="**/*"
excludes="**/.*,**/*.java" />
</copy>
<copy todir="${plugin.home}" includeemptydirs="false">
<fileset dir="${basedir}"
excludes="classes/,nbproject/,.*,*build*,source/" />
</copy>
</target>
<target name="docs">
<javadoc destdir="${plugin.home}/docs/api"
classpathref="plugin.classpath"
sourcepath="${basedir}/source"
packagenames="${plugin.id}.*">
</javadoc>
</target>
</project>

View File

@ -1,28 +0,0 @@
_Project-ID-TEMPLATE
311.0.2
* Migrated to core plugin version 311.0.2
* Added example of field, reference and ref_list translations
253.2.12
* Used Standard plugin version 253.2.12
* Added example file how to import PA_Report - /xml/data/PA_Report.xml
* Added example file how to import PA_ReportColumnSet, PA_ReportColumn - /xml/data/PA_ReportColumnSet.xml
* Added example file how to import PA_ReportLineSet, PA_ReportLine, PA_ReportSource - /xml/data/PA_ReportLineSet.xml
253.2.11
* Used Standard plugin version 253.2.11
* Added example file how to import M_Product_Category - /xml/data/M_Product_Category.xml
253.2.6
* Migrated to core plugin version 253.2.6
253.2.5b
* Added changeLog.txt in template plugin.
* Generated zip file will not include xml files in folder /result/compiere/...
* Used new splash. Thank's to Sergey Vishniakov from compiere.lv team!!!
253.2.5a
* Replaces 253.2.5 as there was error in uploaded file.
253.2.5
* Migrated to core plugin version 253.2.5

View File

@ -1,31 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE plugin PUBLIC "-//JPF//Java Plug-in Manifest 0.4" "http://jpf.sourceforge.net/plugin_0_4.dtd">
<plugin id="org.compiere.compilo.importer.jasperreports"
version="311.0.2"
>
<requires>
<import plugin-id="org.compiere.compilo.importer.core"
plugin-version="311.0.2" />
</requires>
<runtime>
<library id="core" path="classes/" type="code">
<doc caption="API documentation">
<doc-ref path="api/index.html" caption="javadoc"/>
</doc>
<export prefix="*"/>
</library>
</runtime>
<extension plugin-id="org.compiere.compilo.importer.core"
point-id="TableImporter"
id="adProcessJasperTableImporter">
<parameter id="class" value="org.compiere.compilo.importer.jasperreports.AD_ProcessImporter"/>
<parameter id="tableName" value="AD_ProcessJasper"/>
<parameter id="description" value="AD_ProcessJasper Importer"/>
</extension>
</plugin>

View File

@ -1,224 +0,0 @@
package org.compiere.compilo.importer.jasperreports;
import java.sql.SQLException;
import javax.xml.xpath.XPathExpressionException;
import org.compiere.compilo.helper.XMLHelper;
import org.compiere.compilo.importer.core.ImportException;
import org.compiere.compilo.importer.core.TableImporter;
import org.compiere.model.MProcess;
import org.compiere.util.Env;
import org.w3c.dom.DOMException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.Text;
public class AD_ProcessImporter extends TableImporter {
/*
* Aim of this plugin is to import record having this structure:
*
<AD_Process>
<AD_Client_Value>GardenWorld</AD_Client_Value>
<AD_Org_Value>0</AD_Org_Value>
<IsActive>Y</IsActive>
<CreatedBy_Name>SuperUser</CreatedBy_Name>
<UpdatedBy_Name>SuperUser</UpdatedBy>
<Value>Standalone</Value>
<Name>Standalone</Name>
<Description>Stand alone JasperReport for sample only</Description>
<Classname>org.compiere.report.ReportStarter</Classname>
<EntityType>User maintained</EntityType>
<AccessLevel>Client+Organization</AccessLevel>
<JasperReport>http://localhost:8088/webApp/standalone.jrxml</JasperReport>
</AD_Process>
*
* AD_Process_Node represents AD_Process XML element.
*
* Using XMLHelper.getString("Name", AD_Process_Node);
* developer can get value of XML element "Name".
*
* (non-Javadoc)
* @see org.compiere.compilo.importer.core.TableImporter#importTable(org.w3c.dom.Node, org.w3c.dom.Element)
*/
public void importTable(Node AD_Process_Node, Element outElement)
throws DOMException, SQLException, XPathExpressionException, ImportException {
// TODO - now "outElement" is not used...
// This means that we do not return result in xml file...
Document outDocument = outElement.getOwnerDocument();
Element result = outDocument.createElement("AD_Process");
String name = null;
String value = null;
int AD_Process_ID = 0;
String AD_Client_Value = null;
int AD_Client_ID = 0;
String AD_Org_Value = null;
int AD_Org_ID = 0;
String CreatedBy_Name = null;
int CreatedBy_ID = 0;
String UpdatedBy_Name = null;
int UpdatedBy_ID = 0;
name = XMLHelper.getString("Name", AD_Process_Node);
log.info("Name = [" + name +"]");
result.appendChild(createNewTextElement("Name", ""+name, outDocument));
value = XMLHelper.getString("Value", AD_Process_Node);
log.info("Value = [" + value +"]");
result.appendChild(createNewTextElement("Value", ""+value, outDocument));
AD_Client_Value = XMLHelper.getString("AD_Client_Value", AD_Process_Node);
log.info("AD_Client_Value = [" + AD_Client_Value +"]");
result.appendChild(createNewTextElement("AD_Client_Value", ""+AD_Client_Value, outDocument));
CreatedBy_Name = XMLHelper.getString("CreatedBy_Name", AD_Process_Node);
log.info("CreatedBy_Name = [" + CreatedBy_Name +"]");
result.appendChild(createNewTextElement("CreatedBy_Name", ""+CreatedBy_Name, outDocument));
UpdatedBy_Name = XMLHelper.getString("UpdatedBy_Name", AD_Process_Node);
log.info("UpdatedBy_Name = [" + UpdatedBy_Name +"]");
result.appendChild(createNewTextElement("UpdatedBy_Name", ""+UpdatedBy_Name, outDocument));
log.info("_______________________________________________");
if (value != null && !"".equals(value)) {
// Search for AD_Process by Value...
AD_Process_ID = XMLHelper.getIDbyValue("AD_Process", value, AD_Client_Value);
} else {
// Search for AD_Process by Name...
AD_Process_ID = XMLHelper.getIDbyName("AD_Process", name, AD_Client_Value);
}
log.info("AD_Process_ID = " + AD_Process_ID);
result.appendChild(createNewTextElement("AD_Process_ID", ""+AD_Process_ID, outDocument));
// Search for AD_Client_ID by Value...
AD_Client_ID = XMLHelper.getIDbyValue("AD_Client", AD_Client_Value, AD_Client_Value);
log.info("AD_Client_ID = " + AD_Client_ID);
result.appendChild(createNewTextElement("AD_Client_ID", ""+AD_Client_ID, outDocument));
// Search for AD_Org_ID by Value...
AD_Org_ID = XMLHelper.getIDbyValue("AD_Org", AD_Org_Value, AD_Client_Value);
log.info("AD_Org_ID = " + AD_Org_ID);
result.appendChild(createNewTextElement("AD_Org_ID", ""+AD_Org_ID, outDocument));
if (value == null || "".equals(value) ||
name == null || "".equals(name) ||
AD_Client_Value == null || "".equals(AD_Client_Value))
{
log.error("ERROR: Name or Value or AD_Client_Value is null...");
System.out.println("ERROR: Name or Value or AD_Client_Value is null...");
throw new ImportException("ERROR: Name or Value or AD_Client_Value is null...");
}
// Search for AD_User by Name...
CreatedBy_ID = XMLHelper.getIDbyName("AD_User", CreatedBy_Name, AD_Client_Value);
log.info("CreatedBy_ID = " + CreatedBy_ID);
result.appendChild(createNewTextElement("CreatedBy_ID", ""+CreatedBy_ID, outDocument));
if (CreatedBy_Name != null && !"".equals(CreatedBy_Name)) {
//adRole.set_ValueNoCheck("CreatedBy", CreatedBy_ID);
Env.setContext(Env.getCtx(), "#AD_User_ID", CreatedBy_ID);
}
UpdatedBy_ID = XMLHelper.getIDbyName("AD_User", UpdatedBy_Name, AD_Client_Value);
log.info("UpdatedBy_ID = " + UpdatedBy_ID);
result.appendChild(createNewTextElement("UpdatedBy_ID", ""+UpdatedBy_ID, outDocument));
if (UpdatedBy_Name != null && !"".equals(UpdatedBy_Name)) {
//adRole.set_ValueNoCheck("CreatedBy", CreatedBy_ID);
Env.setContext(Env.getCtx(), "#AD_User_ID", UpdatedBy_ID);
}
Env.setContext(Env.getCtx(), "#AD_Client_ID", AD_Client_ID);
Env.setContext(Env.getCtx(), "#AD_Org_ID", AD_Org_ID);
MProcess process = new MProcess(Env.getCtx(), AD_Process_ID, null);
if (name != null && !"".equals(name)) {
process.setName(name);
}
if (value != null && !"".equals(value)) {
process.setValue(value);
}
String Description = XMLHelper.getString("Description", AD_Process_Node);
log.info("Description = " + Description);
result.appendChild(createNewTextElement("Description", ""+Description, outDocument));
if (Description != null && !"".equals(Description)) {
process.setDescription(Description);
}
String Classname = XMLHelper.getString("Classname", AD_Process_Node);
log.info("Classname = " + Classname);
result.appendChild(createNewTextElement("Classname", ""+Classname, outDocument));
if (Classname != null && !"".equals(Classname)) {
process.setClassname(Classname);
}
String EntityType = XMLHelper.getString("EntityType", AD_Process_Node);
log.info("EntityType = " + EntityType);
result.appendChild(createNewTextElement("EntityType", ""+EntityType, outDocument));
if (EntityType != null && !"".equals(EntityType)) {
String entityTypeValue = XMLHelper.reverseReference("_Entity Type", EntityType);
result.appendChild(createNewTextElement("EntityTypeValue", ""+entityTypeValue, outDocument));
if (entityTypeValue != null) {
process.setEntityType(entityTypeValue);
} else {
// Set Default entity type
process.setEntityType("U");
}
}
String AccessLevel = XMLHelper.getString("AccessLevel", AD_Process_Node);
log.info("AccessLevel = " + AccessLevel);
result.appendChild(createNewTextElement("AccessLevel", ""+AccessLevel, outDocument));
if (AccessLevel != null && !"".equals(AccessLevel)) {
String accessLevelValue = XMLHelper.reverseReference("AD_Table Access Levels", "Client+Organization");
result.appendChild(createNewTextElement("AccessLevelValue", ""+accessLevelValue, outDocument));
if (accessLevelValue != null) {
process.setAccessLevel(accessLevelValue);
} else {
// Set Default access level
process.setAccessLevel(XMLHelper.reverseReference("AD_Table Access Levels", "Client+Organization"));
}
}
String JasperReport = XMLHelper.getString("JasperReport", AD_Process_Node);
log.info("JasperReport = " + JasperReport);
result.appendChild(createNewTextElement("JasperReport", ""+JasperReport, outDocument));
if (JasperReport != null && !"".equals(JasperReport)) {
try {
process.setJasperReport(JasperReport);
} catch (Error er) {
er.printStackTrace();
//process.set_CustomColumn("JasperReport", JasperReport);
}
}
boolean resultSave = true;
resultSave = process.save();
log.info("--- RESULT SAVE = " + resultSave);
result.appendChild(createNewTextElement("result", ""+resultSave, outDocument));
outElement.appendChild(result);
}
private Element createNewTextElement(String elementName, String textNodeValue, Document outDocument) {
Element newElement = outDocument.createElement(elementName);
Text newText = outDocument.createTextNode(textNodeValue);
newElement.appendChild(newText);
return newElement;
}
}

View File

@ -1,3 +0,0 @@
@IF NOT EXIST %JAVA_HOME%\bin ECHO "** JAVA_HOME NOT found"
%JAVA_HOME%/bin/java -Xms64M -Xmx256M -jar ./../druid/druid.jar -proj:./druid/Project-ID-TEMPLATE.druid

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

View File

@ -1,17 +0,0 @@
--------------------------------------------------------------------------------
--- ALTER TABLE ... ADD ... File for Database : ID-002-252e-Oracle DB (Build 396)
---
--- Date of creation: 2005-12-20 15:54:30
--------------------------------------------------------------------------------
---------------------------------------------------------------
--- EVERY SQL STATEMENT must be separated from other by ';' ---
---------------------------------------------------------------
--- Table: AD_Process ----------------------------------------------------------
ALTER TABLE AD_Process
ADD JasperReport NVARCHAR2(255);
ALTER TABLE AD_Process
MODIFY JasperReport NVARCHAR2(255);

View File

@ -1 +0,0 @@
This folder contains files generated by Druid COMAP module.

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<compieredata>
<AD_ProcessJasper>
<AD_Client_Value>GardenWorld</AD_Client_Value>
<AD_Org_Value>0</AD_Org_Value>
<IsActive>Y</IsActive>
<CreatedBy_Name>SuperUser</CreatedBy_Name>
<UpdatedBy_Name>SuperUser</UpdatedBy_Name>
<Value>Standalone</Value>
<Name>Standalone</Name>
<Description>Stand alone JasperReport for sample only</Description>
<Classname>org.compiere.report.ReportStarter</Classname>
<EntityType>User maintained</EntityType>
<AccessLevel>Client+Organization</AccessLevel>
<JasperReport>http://66.199.246.130/webApp/standalone.jrxml</JasperReport>
</AD_ProcessJasper>
</compieredata>

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<compieredata>
<!-- _____________________________________ ROLE PROCESS ACCESS _____________________________________ -->
<!-- role: "GardenWorld Admin"
process: Standalone
-->
<AD_Process_Access>
<AD_Client_Value>GardenWorld</AD_Client_Value>
<AD_Org_Value>0</AD_Org_Value>
<AD_Role_Name>GardenWorld Admin</AD_Role_Name>
<AD_Process_Value>Standalone</AD_Process_Value>
<IsActive>Y</IsActive>
<IsReadWrite>Y</IsReadWrite>
</AD_Process_Access>
</compieredata>

View File

@ -1,26 +0,0 @@
<compieredata clientname="System">
<!-- Default values. -->
<default entitytype="Applications" firstdelete="false">
</default>
<!-- ======================== -->
<!-- Use AD_ProcessJasper.xml -->
<!-- ======================== -->
<!--table tablename="AD_Process">
<row name="Standalone" key1name="AD_Client_ID" lookupkey1name="System" key2name="AD_Org_ID" lookupkey2name="*" >
<column name="AD_Client_ID" lookupvalue="System" />
<column name="AD_Org_ID" lookupvalue="*" />
<column name="IsActive" class="Boolean" value="true"/>
<column name="CreatedBy" lookupcustom="System" lookupcustom_table="AD_User" lookupcustom_col="Name" />
<column name="UpdatedBy" lookupcustom="System" lookupcustom_table="AD_User" lookupcustom_col="Name" />
<column name="Value" value="Standalone" class="String" />
<column name="Description" value="Stand alone JasperReport for sample only" class="String" />
<column name="Classname" value="org.compiere.report.ReportStarter" class="String" />
<column name="EntityType" lookup_ref_list="_Entity Type" ref_name="User maintained" />
<column name="AccessLevel" lookup_ref_list="AD_Table Access Levels" ref_name="Client+Organization" />
<column name="JasperReport" value="http://localhost:8088/webApp/standalone.jrxml" class="String" />
</row>
</table-->
</compieredata>

View File

@ -1,2 +0,0 @@
Model-ID-002-part.xml
Model-ID-001-part.xml

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file is autogenerated by Druid -->
<database name="ID-CompiereJasper-252e-Oracle DB" build="411" date="2006-01-11 01:37:02">
<table TableName="AD_Process">
<field ColumnName="JasperReport" type="Description255" sqlType="NVARCHAR2(255)" ddEquiv="">
<attrib name="Name" value="Jasper Report"/>
<attrib name="Description" value="In this column you store the JasperReport filename"/>
<attrib name="Reference" value="Text"/>
<attrib name="Element name" value="Jasper Report"/>
</field>
</table>
</database>

View File

@ -1,21 +0,0 @@
<compiereAD>
<!-- Default values. -->
<default entitytype="Applications" firstdelete="false" >
</default>
<!-- Jasper Reports Integration -->
<window name="Report &amp; Process" >
<tab name="Report &amp; Process" tablename="AD_Process" syncfields="N" >
<field name="Jasper Report" columnname="JasperReport" displayLength="60" displayLogic="" isDisplayed="Y" isReadOnly="N" isSameLine="N" seqNo="210" />
</tab>
</window>
<menu name="Standalone Jasper Example" description="This is a simple JasperReport example" action="P" >
<process name="Standalone" value="Standalone" classname="org.compiere.report.ReportStarter" description="Stand alone JasperReport for sample only" >
<processpara name="Report Type" description="Report Type" reference="List" reference_value="M_Product_ProductType" columnname="ReportType" mandatory="N" >
</processpara>
</process>
</menu>
</compiereAD>

View File

@ -1,84 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
<xs:element name="compieredata">
<xs:complexType mixed="false">
<xs:all>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="AD_Role"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="AD_Role_OrgAccess"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="AD_User_Roles"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="AD_Window_Access"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="AD_Form_Access"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="C_Cause"/>
</xs:all>
</xs:complexType>
</xs:element>
<xs:element name="AD_Role">
<xs:complexType mixed="false">
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="IsActive" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AD_Role_OrgAccess">
<xs:complexType mixed="false">
<xs:sequence>
<xs:element name="AD_Client_Value" type="xs:string"/>
<xs:element name="AD_Org_Value" type="xs:string"/>
<xs:element name="AD_Role_Name" type="xs:string"/>
<xs:element name="IsActive" type="xs:string"/>
<xs:element name="IsReadOnly" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AD_User_Roles">
<xs:complexType mixed="false">
<xs:sequence>
<xs:element name="AD_Client_Value" type="xs:string"/>
<xs:element name="AD_Org_Value" type="xs:string"/>
<xs:element name="AD_Role_Name" type="xs:string"/>
<xs:element name="AD_User_Name" type="xs:string"/>
<xs:element name="IsActive" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AD_Window_Access">
<xs:complexType mixed="false">
<xs:sequence>
<xs:element name="AD_Client_Value" type="xs:string"/>
<xs:element name="AD_Org_Value" type="xs:string"/>
<xs:element name="AD_Role_Name" type="xs:string"/>
<xs:element name="AD_Window_Name" type="xs:string"/>
<xs:element name="IsReadWrite" type="xs:string"/>
<xs:element name="IsActive" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AD_Form_Access">
<xs:complexType mixed="false">
<xs:sequence>
<xs:element name="AD_Client_Value" type="xs:string"/>
<xs:element name="AD_Org_Value" type="xs:string"/>
<xs:element name="AD_Role_Name" type="xs:string"/>
<xs:element name="AD_Form_Name" type="xs:string"/>
<xs:element name="IsReadWrite" type="xs:string"/>
<xs:element name="IsActive" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="C_Cause">
<xs:complexType mixed="false">
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>