Author: jonesde
Date: Sat Nov 18 02:32:43 2006 New Revision: 476486 URL: http://svn.apache.org/viewvc?view=rev&rev=476486 Log: Created new specialpurpose directory for special purpose components that are based on the more general components under the applications directory, but reuse resources in order to create applications meant for a special purpose, or a particular type of user or task; also adjusted build files, component load files, etc Added: incubator/ofbiz/trunk/specialpurpose/ incubator/ofbiz/trunk/specialpurpose/build.xml (with props) incubator/ofbiz/trunk/specialpurpose/component-load.xml (with props) incubator/ofbiz/trunk/specialpurpose/pos/ - copied from r476472, incubator/ofbiz/trunk/applications/pos/ incubator/ofbiz/trunk/specialpurpose/pos/build.xml - copied, changed from r476485, incubator/ofbiz/trunk/applications/pos/build.xml incubator/ofbiz/trunk/specialpurpose/pos/config/ - copied from r476485, incubator/ofbiz/trunk/applications/pos/config/ incubator/ofbiz/trunk/specialpurpose/pos/data/ - copied from r476485, incubator/ofbiz/trunk/applications/pos/data/ incubator/ofbiz/trunk/specialpurpose/pos/dtd/ - copied from r476485, incubator/ofbiz/trunk/applications/pos/dtd/ incubator/ofbiz/trunk/specialpurpose/pos/entitydef/ - copied from r476485, incubator/ofbiz/trunk/applications/pos/entitydef/ incubator/ofbiz/trunk/specialpurpose/pos/lib/ - copied from r476485, incubator/ofbiz/trunk/applications/pos/lib/ incubator/ofbiz/trunk/specialpurpose/pos/ofbiz-component.xml - copied unchanged from r476485, incubator/ofbiz/trunk/applications/pos/ofbiz-component.xml incubator/ofbiz/trunk/specialpurpose/pos/screens/ - copied from r476485, incubator/ofbiz/trunk/applications/pos/screens/ incubator/ofbiz/trunk/specialpurpose/pos/src/ - copied from r476485, incubator/ofbiz/trunk/applications/pos/src/ incubator/ofbiz/trunk/specialpurpose/pos/styles/ - copied from r476485, incubator/ofbiz/trunk/applications/pos/styles/ Removed: incubator/ofbiz/trunk/applications/pos/ Modified: incubator/ofbiz/trunk/applications/build.xml incubator/ofbiz/trunk/applications/component-load.xml incubator/ofbiz/trunk/build.xml incubator/ofbiz/trunk/framework/base/config/component-load.xml Modified: incubator/ofbiz/trunk/applications/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/build.xml?view=diff&rev=476486&r1=476485&r2=476486 ============================================================================== --- incubator/ofbiz/trunk/applications/build.xml (original) +++ incubator/ofbiz/trunk/applications/build.xml Sat Nov 18 02:32:43 2006 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright 2001-2006 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -17,14 +16,12 @@ --> <project name="OFBiz Applications Build" default="build" basedir="."> - <filelist id="application-builds" dir="." files="content/build.xml,party/build.xml, workeffort/build.xml,product/build.xml,marketing/build.xml, order/build.xml,manufacturing/build.xml, accounting/build.xml,ecommerce/build.xml, - securityext/build.xml, - pos/build.xml"/> + securityext/build.xml"/> <!-- ================================================================== --> <!-- Removes all created files and directories --> Modified: incubator/ofbiz/trunk/applications/component-load.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/component-load.xml?view=diff&rev=476486&r1=476485&r2=476486 ============================================================================== --- incubator/ofbiz/trunk/applications/component-load.xml (original) +++ incubator/ofbiz/trunk/applications/component-load.xml Sat Nov 18 02:32:43 2006 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright 2001-2006 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -18,7 +17,6 @@ <component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/component-loader.xsd"> - <load-component component-location="${ofbiz.home}/applications/party"/> <load-component component-location="${ofbiz.home}/applications/securityext"/> <load-component component-location="${ofbiz.home}/applications/content"/> @@ -30,5 +28,4 @@ <load-component component-location="${ofbiz.home}/applications/order"/> <load-component component-location="${ofbiz.home}/applications/marketing"/> <load-component component-location="${ofbiz.home}/applications/ecommerce"/> - <load-component component-location="${ofbiz.home}/applications/pos"/> </component-loader> Modified: incubator/ofbiz/trunk/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/build.xml?view=diff&rev=476486&r1=476485&r2=476486 ============================================================================== --- incubator/ofbiz/trunk/build.xml (original) +++ incubator/ofbiz/trunk/build.xml Sat Nov 18 02:32:43 2006 @@ -16,7 +16,6 @@ --> <project name="OFBiz Main Build" default="build" basedir="."> - <property name="site.dir" value="../site"/> <property name="memory.max.param" value="-Xmx384M"/> @@ -77,14 +76,19 @@ <target name="clean"> <subant target="clean"> - <filelist dir="." files="framework/build.xml"/> <fileset dir="${basedir}/hot-deploy" casesensitive="no"> <include name="**/build.xml"/> </fileset> </subant> + <subant target="clean" failonerror="false"> <!-- use failonerror=false in case the specialpurpose directory is not there --> + <filelist dir="." files="specialpurpose/build.xml"/> + </subant> <subant target="clean" failonerror="false"> <!-- use failonerror=false in case the applications directory is not there --> <filelist dir="." files="applications/build.xml"/> </subant> + <subant target="clean"> + <filelist dir="." files="framework/build.xml"/> + </subant> <delete file="ofbiz.jar"/> <echo message="[clean] ========== Done Cleaning =========="/> </target> @@ -102,6 +106,9 @@ <subant inheritall="false" failonerror="false"> <filelist dir="." files="applications/build.xml"/> </subant> + <subant inheritall="false" failonerror="false"> + <filelist dir="." files="specialpurpose/build.xml"/> + </subant> <subant inheritall="false"> <fileset dir="${basedir}/hot-deploy" casesensitive="no"> <include name="**/build.xml"/> @@ -124,6 +131,9 @@ <subant target="docs" failonerror="false"> <filelist dir="." files="applications/build.xml"/> </subant> + <subant target="docs" failonerror="false"> + <filelist dir="." files="specialpurpose/build.xml"/> + </subant> <subant target="docs"> <fileset dir="${basedir}/hot-deploy" casesensitive="no"> <include name="**/build.xml"/> @@ -159,6 +169,7 @@ <mkdir dir="${site.dir}/api"/> <mkdir dir="${site.dir}/api/framework"/> <mkdir dir="${site.dir}/api/applications"/> + <mkdir dir="${site.dir}/api/specialpurpose"/> <copy todir="${site.dir}/api/framework"> <fileset dir="${basedir}/framework" includes="**/build/javadocs/**"/> </copy> @@ -228,3 +239,4 @@ </java> </target> </project> + Modified: incubator/ofbiz/trunk/framework/base/config/component-load.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/base/config/component-load.xml?view=diff&rev=476486&r1=476485&r2=476486 ============================================================================== --- incubator/ofbiz/trunk/framework/base/config/component-load.xml (original) +++ incubator/ofbiz/trunk/framework/base/config/component-load.xml Sat Nov 18 02:32:43 2006 @@ -19,6 +19,6 @@ xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/component-loader.xsd"> <load-components parent-directory="${ofbiz.home}/framework"/> <load-components parent-directory="${ofbiz.home}/applications"/> - <load-components parent-directory="${ofbiz.home}/specialized"/> + <load-components parent-directory="${ofbiz.home}/specialpurpose"/> <load-components parent-directory="${ofbiz.home}/hot-deploy"/> </component-loader> Added: incubator/ofbiz/trunk/specialpurpose/build.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/specialpurpose/build.xml?view=auto&rev=476486 ============================================================================== --- incubator/ofbiz/trunk/specialpurpose/build.xml (added) +++ incubator/ofbiz/trunk/specialpurpose/build.xml Sat Nov 18 02:32:43 2006 @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +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 Special Purpose Applications Build" default="build" basedir="."> + <filelist id="application-builds" dir="." + files="pos/build.xml"/> + + <!-- ================================================================== --> + <!-- Removes all created files and directories --> + <!-- ================================================================== --> + + <target name="refresh"> + <antcall target="clean-all"/> + <antcall target="build"/> + </target> + + <target name="clean-all"> + <antcall target="clean-xtra"/> + <antcall target="clean"/> + </target> + + <target name="clean-xtra" depends=""> + <delete verbose="on"> + <fileset dir="." includes="**/.nbattrs,**/*~,**/.#*,**/.DS_Store,**/*.rej,**/*.orig"/> + </delete> + </target> + + <target name="tests"> + </target> + + <target name="clean"> + <subant target="clean"> + <filelist refid="application-builds"/> + </subant> + <delete file="ofbiz.jar"/> + <echo message="[clean] ========== Done Cleaning Applications =========="/> + </target> + + <!-- ================================================================== --> + <!-- Build Components --> + <!-- ================================================================== --> + + <target name="build" depends=""> + <echo message="[build] ========== Start Building Applications (Compile) =========="/> + + <subant inheritall="false"> + <filelist refid="application-builds"/> + </subant> + + <echo message="[build] ========== Done Building Applications (Compile) =========="/> + </target> + + <!-- ================================================================== --> + <!-- Build JavaDocs --> + <!-- ================================================================== --> + + <target name="docs" depends=""> + <echo message="[docs] ========== Start Building Applications (JavaDoc) =========="/> + + <subant target="docs"> + <filelist refid="application-builds"/> + </subant> + + <echo message="[docs] ========== Done Building Applications (JavaDocs) =========="/> + </target> +</project> Propchange: incubator/ofbiz/trunk/specialpurpose/build.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/ofbiz/trunk/specialpurpose/build.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: incubator/ofbiz/trunk/specialpurpose/build.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: incubator/ofbiz/trunk/specialpurpose/component-load.xml URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/specialpurpose/component-load.xml?view=auto&rev=476486 ============================================================================== --- incubator/ofbiz/trunk/specialpurpose/component-load.xml (added) +++ incubator/ofbiz/trunk/specialpurpose/component-load.xml Sat Nov 18 02:32:43 2006 @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +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. +--> + +<component-loader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/component-loader.xsd"> + <load-component component-location="${ofbiz.home}/specialpurpose/pos"/> +</component-loader> Propchange: incubator/ofbiz/trunk/specialpurpose/component-load.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: incubator/ofbiz/trunk/specialpurpose/component-load.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: incubator/ofbiz/trunk/specialpurpose/component-load.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Copied: incubator/ofbiz/trunk/specialpurpose/pos/build.xml (from r476485, incubator/ofbiz/trunk/applications/pos/build.xml) URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/specialpurpose/pos/build.xml?view=diff&rev=476486&p1=incubator/ofbiz/trunk/applications/pos/build.xml&r1=476485&p2=incubator/ofbiz/trunk/specialpurpose/pos/build.xml&r2=476486 ============================================================================== --- incubator/ofbiz/trunk/applications/pos/build.xml (original) +++ incubator/ofbiz/trunk/specialpurpose/pos/build.xml Sat Nov 18 02:32:43 2006 @@ -48,10 +48,10 @@ <fileset dir="../../framework/entityext/build/lib" includes="*.jar"/> <fileset dir="../../framework/guiapp/lib" includes="*.jar"/> <fileset dir="../../framework/guiapp/build/lib" includes="*.jar"/> - <fileset dir="../party/build/lib" includes="*.jar"/> - <fileset dir="../product/build/lib" includes="*.jar"/> - <fileset dir="../order/build/lib" includes="*.jar"/> - <fileset dir="../accounting/build/lib" includes="*.jar"/> + <fileset dir="../../applications/party/build/lib" includes="*.jar"/> + <fileset dir="../../applications/product/build/lib" includes="*.jar"/> + <fileset dir="../../applications/order/build/lib" includes="*.jar"/> + <fileset dir="../../applications/accounting/build/lib" includes="*.jar"/> </path> </target> |
Free forum by Nabble | Edit this page |