[OFBiz] SVN: r6961 - in trunk/applications/humanres: . config data

sichen@svn.ofbiz.org sichen at svn.ofbiz.org
Thu Mar 9 11:26:31 CST 2006


Author: sichen
Date: 2006-03-09 11:26:26 -0600 (Thu, 09 Mar 2006)
New Revision: 6961

Added:
   trunk/applications/humanres/build.xml
   trunk/applications/humanres/config/
   trunk/applications/humanres/config/HumanResUiLabels.properties
Modified:
   trunk/applications/humanres/data/HumanResTypeData.xml
Log:
Initial files for the human resources application, thanks to Vinay Agarwal, OFBIZ-765

Added: trunk/applications/humanres/build.xml
===================================================================
--- trunk/applications/humanres/build.xml	2006-03-09 17:25:28 UTC (rev 6960)
+++ trunk/applications/humanres/build.xml	2006-03-09 17:26:26 UTC (rev 6961)
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+$Id: $
+
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+
+<project name="OFBiz - HumanRes" default="jar" basedir=".">
+
+    <!-- ================================================================== -->
+    <!-- Initialization of all property settings                            -->
+    <!-- ================================================================== -->
+
+    <target name="init">
+        <property environment="env"/>
+        <property name="desc" value="Human Resources"/>
+        <property name="name" value="ofbiz-humanres"/>
+        <property name="src.dir" value="src"/>
+        <property name="dtd.dir" value="dtd"/>
+        <property name="lib.dir" value="lib"/>
+        <property name="build.dir" value="build"/>
+    </target>
+
+    <target name="classpath">
+        <path id="local.class.path">
+            <!--<fileset dir="${lib.dir}" includes="*.jar"/>-->
+            <fileset dir="../../base/lib" includes="*.jar"/>            
+            <fileset dir="../../base/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/entity/lib" includes="*.jar"/>
+            <fileset dir="../../framework/entity/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/security/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/service/lib" includes="*.jar"/>
+            <fileset dir="../../framework/service/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/minilang/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/common/build/lib" includes="*.jar"/>
+            <fileset dir="../../applications/securityext/build/lib" includes="*.jar"/>
+         </path>
+    </target>
+
+    <!-- ================================================================== -->
+    <!-- Removes all created files and directories                          -->
+    <!-- ================================================================== -->
+
+    <target name="clean" depends="clean-lib">
+        <delete dir="${build.dir}"/>
+    </target>
+
+    <target name="clean-lib" depends="init">
+        <delete dir="${build.dir}/lib"/>
+    </target>
+
+    <!-- ================================================================== -->
+    <!-- Makes sure the needed directory structure is in place              -->
+    <!-- ================================================================== -->
+
+    <target name="prepare" depends="clean-lib">
+        <mkdir dir="${build.dir}/classes"/>
+        <mkdir dir="${build.dir}/lib"/>
+    </target>
+
+    <target name="prepare-docs" depends="init">
+        <mkdir dir="${build.dir}/javadocs"/>
+    </target>
+
+    <!-- ================================================================== -->
+    <!-- Compilation of the source files                                                                                                                         -->
+    <!-- ================================================================== -->
+
+    <target name="classes" depends="prepare,classpath">
+    	<javac debug="on" source="1.4" deprecation="on" destdir="${build.dir}/classes">
+            <classpath>
+                <path refid="local.class.path"/>
+            </classpath>
+            <src path="${src.dir}"/>
+        </javac>
+        <!-- also put the DTDs in the jar file... -->
+        <copy todir="${build.dir}/classes">
+            <!--<fileset dir="${dtd.dir}" includes="*.dtd"/>-->
+            <fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
+        </copy>
+    </target>
+
+    <target name="jar" depends="classes">
+        <jar jarfile="${build.dir}/lib/${name}.jar" basedir="${build.dir}/classes"/>
+    </target>
+
+    <!-- ================================================================== -->
+    <!-- Build JavaDoc                                                      -->
+    <!-- ================================================================== -->
+
+    <target name="docs" depends="prepare-docs,classpath">
+        <javadoc packagenames="org.ofbiz.humanres.*"
+                 classpathref="local.class.path"
+                 destdir="${build.dir}/javadocs"
+                 Windowtitle="Open for Business - ${desc}">
+            <sourcepath path="${src.dir}"/>
+        </javadoc>
+    </target>
+
+    <target name="all" depends="jar,docs"/>
+</project>


Property changes on: trunk/applications/humanres/build.xml
___________________________________________________________________
Name: svn:mime-type
   + text/xml
Name: svn:keywords
   + "Date Rev Author URL Id"
Name: svn:eol-style
   + native

Added: trunk/applications/humanres/config/HumanResUiLabels.properties
===================================================================
--- trunk/applications/humanres/config/HumanResUiLabels.properties	2006-03-09 17:25:28 UTC (rev 6960)
+++ trunk/applications/humanres/config/HumanResUiLabels.properties	2006-03-09 17:26:26 UTC (rev 6961)
@@ -0,0 +1,26 @@
+#####################################################################
+# $Id: $
+#
+# Copyright 2001-2006 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may not
+# use this file except in compliance with the License. You may obtain a copy of
+# the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#####################################################################
+#
+# OFBiz UiLabel Properties used for the Human Resources module
+#
+HumanResServices.PartyQualFailureIDCreation=Could not create education entry, ID creation failed
+HumanResServices.PartyQualFailureIDStartsDigit=Could not create education entry, ID starts with digit
+HumanResServices.PartyQualFailureInputEntities=Could not create education entry, one or more input entity does not exist
+HumanResServices.PartyQualFailureAlreadyExists=Could not create education entry, it already exists
+HumanResServices.PartyQualFailureMissingParam=Could not create education entry, required parameters missing
+HumanResServices.PartyQualFailureDataSource=Could not create education entry, data source error


Property changes on: trunk/applications/humanres/config/HumanResUiLabels.properties
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:keywords
   + "Date Rev Author URL Id"
Name: svn:eol-style
   + native

Modified: trunk/applications/humanres/data/HumanResTypeData.xml
===================================================================
--- trunk/applications/humanres/data/HumanResTypeData.xml	2006-03-09 17:25:28 UTC (rev 6960)
+++ trunk/applications/humanres/data/HumanResTypeData.xml	2006-03-09 17:26:26 UTC (rev 6961)
@@ -1,6 +1,38 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+$Id$
+
+Copyright 2001-2006 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+
 <entity-engine-xml>
     <StatusType description="Employment Application" hasTable="N" parentTypeId="" statusTypeId="EMPLOYMENT_APP_STTS"/>
     <StatusType description="Position" hasTable="N" parentTypeId="" statusTypeId="POSITION_STATUS"/>
     <StatusType description="Unemployment Claim" hasTable="N" parentTypeId="" statusTypeId="UNEMPL_CLAIM_STATUS"/>
-</entity-engine-xml>
+    
+    <StatusType description="Degree status" hasTable="N" parentTypeId="" statusTypeId="HR_DEGREE_STATUS"/>
+    <StatusItem description="Completed" sequenceId="01" statusCode="COMPLETE" statusId="HR_DS_COMPLETE" statusTypeId="HR_DEGREE_STATUS"/>
+    <StatusItem description="Incomplete" sequenceId="02" statusCode="INCOMPLETE" statusId="HR_DS_INCOMPLETE" statusTypeId="HR_DEGREE_STATUS"/>
+    <StatusItem description="Deferred" sequenceId="03" statusCode="DEFERRED" statusId="HR_DS_DEFERRED" statusTypeId="HR_DEGREE_STATUS"/>
+    
+    <StatusType description="Job status" hasTable="N" parentTypeId="" statusTypeId="HR_JOB_STATUS"/>
+    <StatusItem description="Full time" sequenceId="01" statusCode="FULLTIME" statusId="HR_JS_FULLTIME" statusTypeId="HR_JOB_STATUS"/>
+    <StatusItem description="Part time" sequenceId="02" statusCode="PARTTIME" statusId="HR_JS_PARTTIME" statusTypeId="HR_JOB_STATUS"/>
+    <StatusItem description="Contractor" sequenceId="03" statusCode="CONTRACTOR" statusId="HR_JS_CONTRACTOR" statusTypeId="HR_JOB_STATUS"/>
+    
+    <StatusType description="PartyQual verification status" hasTable="N" parentTypeId="" statusTypeId="PARTYQUAL_VERIFY"/>
+    <StatusItem description="Not verified" sequenceId="01" statusCode="NOT_VERIFIED" statusId="PQV_NOT_VERIFIED" statusTypeId="PARTYQUAL_VERIFY"/>
+    <StatusItem description="Verified" sequenceId="02" statusCode="VERIFIED" statusId="PQV_VERIFIED" statusTypeId="PARTYQUAL_VERIFY"/>
+ </entity-engine-xml>



More information about the Svn mailing list