1. Installation Windows Xp Sur Hp Probook 450 G2
  2. Apache Ofbiz Installation Windows Xp Download
  3. Apache Installation Windows
  • Apache OFBiz 0.94 is a brilliant enterprise automation software project licensed under the Apache License Version 2.0. By open source enterprise automation we mean: Open Source ERP, Open Source CRM, Open Source E-Business / E-Commerce, Open Source. ..

    • apache-ofbiz-09.04.zip
    • Apache Software Foundation
    • Apache ($)
    • Linux , Mac OS , BSD , Solaris
  • IBM OmniFind Yahoo Edition 8.4 is designed to provide you with a handy entry-level enterprise search software solution which makes it possible for rapid deployment of intranet and file system search for both employees and. ..

    • IBM OmniFind Yahoo Edition
    • IBM Daksh
    • Freeware (Free)
    • 83 Mb
    • Windows XP
  • Revit Structure software integrates a multimaterial physical and an independently editable analytical model for efficient structural analysis, design, and documentation. Improve coordination with architects using AutoCAD Architecturesoftware or. ..

    • Revit Structure
    • Autodesk
    • Shareware ($5295.00)
    • 486 Mb
    • Windows Vista, XP
  • Tito Web Studio is a feature rich and extremely effective quality assurance tool for web developers and QA analyst. This enterprise grade software consists of JavaScript debugging and profiling functions. Tito Web Studios JavaScript profiler is the. ..

    • Tito Web Studio
    • Tito Software Corporation
    • Shareware ($150.00)
    • 6.75 Mb
    • Windows 2003, XP, 2000
  • Transform PDF documents to AFP with enterprise class software in high volume environment. The software allows users to convert PDF to AFP by dropping or uploading PDF files into a hot folder and getting the converted AFP in the output folder. It's a. ..

    • PDF2AFP_Server_Setup.exe
    • IPDS Printing Solutions Inc
    • Shareware ($950.00)
    • 1.31 Mb
    • WinServer, Win7 x32, Win7 x64, WinVista, WinVista x64, WinXP, Win2000
  • Transform AFP documents to PDF files with enterprise class software in high volume environment. The software enables PC users to convert AFP to PDF files by uploading or dropping AFP files into a hot folder and obtaining the conversion result in. ..

    • AFP2PDF_Server_Setup.exe
    • IPDS Printing Solutions Inc
    • Shareware ($500.00)
    • 1.71 Mb
    • WinServer, Win7 x32, Win7 x64, WinVista, WinVista x64, WinXP, Win2000
  • A client-server architecturesoftware for easy playing the Diplomacy A client-server architecture software for easy playing the Diplomacy Game.

    • diplo-win32-r40.zip
    • diplomacystudio
    • Freeware (Free)
    • 4.96 Mb
    • N/A
  • iteraplan is a web-based EnterpriseArchitecture Management tool for IT landscape modelling and visualization. You can document, analyse, plan and control your IT landscape in accordance to business goals. Test the feasibility & effects of business. ..

    • iteraplan-ce-bundle-bankdata-3.0.0.zip
    • iteraplan
    • Freeware (Free)
    • 88.72 Mb
    • Windows; Mac; Linux
  • Structs and Nodes Development for Java. An alternative approach to enterprise-class software development using a message oriented execution model and code generation. Deploys to servlet container + db. ..

    • sandev_1_42.zip
    • sandev
    • Freeware (Free)
    • 1.89 Mb
    • Windows; Mac; Linux
  • The definition of the metamodel for TRAK (allowed AD elements and relationships). TRAK is a general systems-thinkers'/system engineering enterprisearchitecture framework. It is simple, user-friendly, pragmatic and not limited to. ..

    • TRAK_metamodel.pdf
    • trakmetamodel
    • Freeware (Free)
    • 529 Kb
    • N/A
  • UML profile for The Rail Architecture Framework (TRAK) that provides the objects and relationships needed for a UML enterprisearchitecture modelling tool. TRAK is a general systems enterprisearchitecture framework based on. ..

    • TRAK UML Profile
    • trakumlprofile
    • Freeware (Free)
    • 92 Kb
    • Windows; Mac; Linux
  • The architecture viewpoints (specifications for architecture views iaw ISO 42010) for TRAK. TRAK is a general systems-thinkers'/system engineering enterprisearchitecture framework. It is simple, user-friendly, pragmatic and not limited to IT.

    To disable the 'Software Protection' service of Windows 7, follow the below procedure: Click on Start > type 'services.msc' in the search field and press enter. In the 'Services' window, look for the following entry: Software Protection Double click and set the 'Startup type' as 'Disabled' Click on OK to validate. What is software protection service. Display name: Software Protection Description: Enables the download, installation and enforcement of digital licenses for Windows and Windows applications. If the service is disabled, the operating system and licensed applications may run in a notification mode. It is strongly recommended that you not disable the Software Protection service.

    If you have not heard of zeroinstall it is a way of running software without installing. How to install fluxbox on debian jessie. I do not have any prior experience with it (zero install) and there may be some security concerns. Several distros are promoting it (dyne:bolic and others).

    • TRAK_ArchitectureViewpoints.pdf
    • trakviewpoints
    • Freeware (Free)
    • 2.25 Mb
    • N/A

Installation Windows Xp Sur Hp Probook 450 G2


Related:Enterprise Architecture Software - Enterprise Architecture Lite - Export Enterprise Architecture - Enterprise Information Architecture - Enterprise Architecture Excel

You should contact the local Epson sales company to get that. 3.Using the Epson SetupPOS utiliy to edit the jpos.xml file, and the CheckHealth tool to check the setting is correct! 4.Then copy the related jpos item you need, such as POSprinter, CashDrawer into the jpos.xml file OFBiz applications pos config. 5.Remove the JavaPOS old v1.8 jar. After completion of installation, below are simple steps to be followed for creation of Ofbiz Component. Steps for Creation of OFBiz Component Ofbiz components resides in the specialpurpose directory.

  • English Persian - Farsi online dictionary for mobile phones, Windows Mobile, Blackberry and Palm The English Persian - Farsi Online Translator is a tiny and absolutely FREE language software solution. It can be used to translate from English to Persian - Farsi and from Persian - Farsi to English using the internet connection on your device.
  • OFBiz is an open source enterprise automation software project licensed under the Apache License. It means you are not alone and can work with many others.

Apache Ofbiz Installation Windows Xp Download


Pages : <1 2 3>
Permalink

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Apache Installation Windows

Sign up
Find file Copy path
Cannot retrieve contributors at this time
<?xml version='1.0' encoding='UTF-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
<projectname='OFBiz Main Build'default='build'basedir='.'
xmlns:ivy='antlib:org.apache.ivy.ant'
xmlns:sonar='antlib:org.sonar.ant:sonar'>
<importfile='macros.xml'/>
<propertyname='site.dir'value='./site'/>
<propertyname='memory.initial.param'value='-Xms512M'/>
<propertyname='memory.max.param'value='-Xmx2048M'/>
<propertyname='memory.maxpermsize.param'value='-XX:MaxPermSize=2048M'/>
<importfile='framework/build.xml'optional='false'/>
<availablefile='applications/build.xml'property='applications.present'/>
<importfile='applications/build.xml'optional='true'/>
<availablefile='specialpurpose/build.xml'property='specialpurpose.present'/>
<importfile='specialpurpose/build.xml'optional='true'/>
<!---->
<!-- Initialization of all property settings -->
<!---->
<targetname='ofbiz-init'depends='dir-init'>
<propertyenvironment='env'/>
</target>
<targetname='dir-init'>
<mkdirdir='runtime'/>
<mkdirdir='runtime/output'/>
<mkdirdir='runtime/logs'/>
<mkdirdir='runtime/logs/test-results'/>
<mkdirdir='runtime/data'/>
<mkdirdir='runtime/data/derby'/>
<conditionproperty='isMac'>
<osfamily='mac'/>
</condition>
<antcalltarget='copy-derby-props'inheritall='true'/>
</target>
<targetname='copy-derby-props'if='isMac'>
<copyfile='runtime/data/derby.properties'todir='runtime/data/derby'/>
</target>
<targetname='ivy-init'>
<taskdefresource='org/apache/ivy/ant/antlib.xml'
uri='antlib:org.apache.ivy.ant'>
<classpath>
<pathelementlocation='framework/base/lib/ivy-2.2.0.jar' />
</classpath>
</taskdef>
</target>
<targetname='sonar-init'>
<taskdefuri='antlib:org.sonar.ant:sonar'resource='org/sonar/ant/antlib.xml'>
<classpath>
<pathelementlocation='framework/base/lib/sonar-ant-task-1.3.jar' />
</classpath>
</taskdef>
</target>
<!---->
<!-- Removes all created files and directories -->
<!---->
<targetname='refresh'
description='Clean all and rebuild'>
<antcalltarget='clean-all'/>
<antcalltarget='build'/>
</target>
<targetname='clean-all'
description='Clean all DB, Catalina and caches data, logs, and runtime subdirectories and all specific files like .rej, .orig'>
<antcalltarget='clean-data'/>
<antcalltarget='clean-logs'/>
<antcalltarget='clean-output'/>
<antcalltarget='clean-xtra'/>
<antcalltarget='clean-catalina'/>
<antcalltarget='clean-cache'/>
<antcalltarget='clean-tempfiles'/>
<antcalltarget='clean-search-indexes'/>
<!-- FIXME: clean-downloads introduces some issues: with cobertura (on Windows can't be deleted, not sure why),
but especially with postgresql drivers -->
<!-- antcall target='clean-downloads'/ -->
<antcalltarget='clean'/>
</target>
<targetname='clean-downloads'
description='Clean all downloaded files'>
<delete>
<filesetdir='framework/base/lib'includes='cobertura-*.jar'/>
<filesetdir='framework/base/lib'includes='sonar-*.jar'/>
<filesetdir='framework/entity/lib/jdbc'includes='postgresql-*.jar'/>
</delete>
</target>
<targetname='clean-data'
description='Clean all DB data (Derby) under runtime/data'>
<deleteverbose='on'includeemptydirs='true'>
<filesetdir='runtime/data'includes='**/*'>
<excludename='README'/>
<excludename='derby.properties'/>
</fileset>
</delete>
<deletefile='runtime/data.zip'/>
<deletefile='runtime/test-list-build.xml'/>
</target>
<targetname='clean-logs'
description='Clean all logs in runtime/logs'>
<deleteverbose='on'includeemptydirs='true'>
<filesetdir='runtime/logs'includes='**/*'>
<excludename='README'/>
</fileset>
</delete>
</target>
<targetname='clean-output'
description='Clean runtime/output directory'>
<deleteverbose='on'includeemptydirs='true'>
<filesetdir='runtime/output'includes='**/*'/>
</delete>
</target>
<targetname='clean-xtra'
description='Clean all other files like .rej, .orig, etc.'>
<deleteverbose='on'>
<filesetdir='.'includes='**/.nbattrs,**/*~,**/.#*,**/.DS_Store,**/*.rej,**/*.orig'/>
</delete>
</target>
<targetname='clean-catalina'
description='Clean Catalina data in runtime/catalina/work'>
<deletedir='runtime/catalina/work'/>
</target>
<targetname='clean-cache'
description='Clean the UtilCache file if errors found with old objects in the cache (Java runtime error something like 'local class incompatible')'>
<propertyfile='framework/base/config/cache.properties'/>
<echomessage='NOTICE: deleting ${cache.file.store}.db'/>
<deletefile='${cache.file.store}.db'verbose='true'/>
</target>
<targetname='clean-tempfiles'
description='Remove files located in runtime/tempfiles (captcha, etc..)'>
<deleteincludeemptydirs='true'>
<filesetdir='./runtime/tempfiles'includes='**/*'/>
</delete>
</target>
<targetname='clean-search-indexes'
description='Remove search indexes (e.g. Lucene indexes) created under runtime/indexes'>
<deleteincludeemptydirs='true'>
<filesetdir='./runtime/indexes'includes='**/*'erroronmissingdir='false' />
</delete>
</target>
<targetname='tests'depends='ofbiz-init'>
<iteratetarget='tests'filelist='test-builds'/>
</target>
<targetname='clean'>
<hotdeployanttarget='clean'/>
<antcalltarget='clean-specialpurpose'/>
<antcalltarget='clean-applications'/>
<antcalltarget='clean-framework'/>
<deletefile='ofbiz.jar'/>
<echomessage='[clean] Done Cleaning '/>
</target>
<targetname='clean-framework'>
<iteratetarget='clean'filelist='framework-builds'/>
</target>
<targetname='clean-applications'if='${applications.present}'>
<iteratetarget='clean'filelist='application-builds'/>
</target>
<targetname='clean-specialpurpose'if='${specialpurpose.present}'>
<iteratetarget='clean'filelist='specialpurpose-builds'/>
</target>
<targetname='svninfo'
description='Update the Release-revision info in the footer. Note that you need a valid Internet connection and Subversion connected to the OFBiz repository for that '>
<echomessage='Creating svninfo..'/>
<execexecutable='svn'dir='.'output='runtime/svninfo_tmp.xml'>
<argvalue='info'/>
<argvalue='--xml'/>
</exec>
<xmlpropertyfile='runtime/svninfo_tmp.xml'/>
<echomessage='Rev:${info.entry.commit(revision)}'/>
<basenameproperty='releasePath'file='${info.entry.url}'/>
<tstamp>
<formatproperty='dateTime'pattern='yyyy-MM-dd HH:mm:ss'/>
</tstamp>
<echomessage=' - Release-revision : ${releasePath}-r${info.entry.commit(revision)}, ${uiLabelMap.CommonBuiltOn}${dateTime}'file='runtime/svninfo.ftl'/>
<deletefile='runtime/svninfo_tmp.xml'/>
<echomessage='Done!'/>
</target>
<targetname='clean-svninfo'>
<echomessage='Resetting svninfo..'/>
<echomessage=''file='runtime/svninfo.ftl'/>
<echomessage='Done!'/>
</target>
<!---->
<!-- Build Components -->
<!---->
<targetname='build'depends='ofbiz-init'>
<echomessage='[build] Start Building (Compile) '/>
<antcalltarget='build-framework'/>
<antcalltarget='build-applications'/>
<antcalltarget='build-specialpurpose'/>
<externalsubant>
<filesetdir='${basedir}/themes'>
<includename='*/build.xml' />
</fileset>
</externalsubant>
<hotdeployant/>
<antcalltarget='clean-svninfo'/>
<echomessage='[build] Done Building (Compile) '/>
</target>
<targetname='build-framework'>
<iteratetarget='jar'filelist='framework-builds'/>
</target>
<targetname='build-applications'if='${applications.present}'>
<iteratetarget='jar'filelist='application-builds'/>
</target>
<targetname='build-specialpurpose'if='${specialpurpose.present}'>
<iteratetarget='jar'filelist='specialpurpose-builds'/>
</target>
<macrodefname='hotdeployant'>
<attributename='target'default=''/>
<sequential>
<!-- a check is done, if no build.xml file is present in hot-deploy dir,
then the build.xml files - if present - in hot-deploy sub-dirs will be used.
So the previous, simpler, behaviour is kept as long as you don't need
to build hot-deploy components in a specific order. -->
<if>
<availablefile='hot-deploy/build.xml'property='useHotDeployBuild'/>
<then>
<externalsubanttarget='@{target}'>
<filelistdir='.'files='hot-deploy/build.xml'/>
</externalsubant>
</then>
<else>
<externalsubanttarget='@{target}'>
<filesetdir='${basedir}/hot-deploy'casesensitive='no'>
<excludename='disabled/**'/>
<includename='*/build.xml'/>
</fileset>
</externalsubant>
</else>
</if>
</sequential>
</macrodef>
<!---->
<!-- Build JavaDocs -->
<!---->
<targetname='docs'depends='ofbiz-init'>
<echomessage='[docs] Start Building (JavaDoc) '/>
<antcalltarget='docs-framework'/>
<antcalltarget='docs-applications'/>
<antcalltarget='docs-specialpurpose'/>
<hotdeployanttarget='docs'/>
<echomessage='[docs] Done Building (JavaDocs) '/>
</target>
<targetname='docs-framework'>
<iteratetarget='docs'filelist='framework-builds'/>
</target>
<targetname='docs-applications'if='${applications.present}'>
<iteratetarget='docs'filelist='application-builds'/>
</target>
<targetname='docs-specialpurpose'if='${specialpurpose.present}'>
<iteratetarget='docs'filelist='specialpurpose-builds'/>
</target>
<targetname='docs-all'depends='build,ofbiz-init'
description='For committers : Build all javadoc into one tree for easier viewing by the community'>
<echomessage='[docs-all] Start Building (JavaDoc) '/>
<mkdirdir='${site.dir}/javadocs'/>
<pathid='local.class.path'>
<filesetdir='${ofbiz.home.dir}/framework/base/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/framework/base/lib/commons'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/framework/base/lib/j2eespecs'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/framework/base/lib/scripting'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/framework/catalina/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/framework/entity/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/framework/geronimo/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/framework/service/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/framework/testtools/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/framework/webapp/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/framework/webapp/build/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/specialpurpose/birt/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/specialpurpose/ebaystore/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/specialpurpose/googlecheckout/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/specialpurpose/ldap/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/specialpurpose/pos/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/specialpurpose/jetty/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/applications/content/lib'includes='*.jar'/>
<filesetdir='${ofbiz.home.dir}/applications/product/lib'includes='*.jar'/>
</path>
<propertyname='desc'value='API'/>
<propertyname='build.dir'value='${site.dir}'/>
<default-javadoc/>
<echomessage='[docs-all] Done Building (JavaDocs) '/>
</target>
<!---->
<!-- Contrib Targets -->
<!---->
<targetname='copy-contrib'>
<copytodir='${basedir}'overwrite='true'verbose='true'>
<filesetdir='${basedir}/contrib'excludes='contrib/**,**/*.class'/>
</copy>
</target>
<targetname='build-contrib'depends='copy-contrib,refresh'/>
<!---->
<!-- WebSite Targets -->
<!---->
<targetname='build-website'
description='For committers : Update dtds from OFBiz instance to site'>
<antcalltarget='copy-dtds'/>
<!-- now deprecated since Buildbot creates and updates those automatically
<antcall target='docs'/>
<antcall target='copy-apis'/-->
</target>
<targetname='copy-apis'>
<mkdirdir='${site.dir}/api'/>
<mkdirdir='${site.dir}/api/framework'/>
<mkdirdir='${site.dir}/api/applications'/>
<mkdirdir='${site.dir}/api/specialpurpose'/>
<copytodir='${site.dir}/api/framework'>
<filesetdir='${basedir}/framework'includes='*/build/javadocs/**'/>
</copy>
<copytodir='${site.dir}/api/applications'>
<filesetdir='${basedir}/applications'includes='*/build/javadocs/**'/>
</copy>
<copytodir='${site.dir}/api/specialpurpose'>
<filesetdir='${basedir}/specialpurpose'includes='*/build/javadocs/**'/>
</copy>
</target>
<targetname='copy-dtds'
description='For committers : Copy all dtds from OFBiz instance to website'>
<mkdirdir='${site.dir}/dtds'/>
<copytodir='${site.dir}/dtds'flatten='true'overwrite='true'>
<filesetdir='${basedir}'includes='**/*.dtd'/>
<filesetdir='${basedir}'defaultexcludes='yes'> <!-- all but oagis and external in general -->
<includename='**/*.xsd'/>
<excludename='**/002*.xsd'/>
<excludename='**/068*.xsd'/>
<excludename='**/161*.xsd'/>
<excludename='**/196*.xsd'/>
<excludename='**/197*.xsd'/>
</fileset>
</copy>
</target>
<!---->
<!-- Script Targets -->
<!---->
<targetname='scriptfix'>
<fixcrlfsrcdir='${basedir}'eol='lf'eof='remove'includes='**/*.sh'/>
<fixcrlfsrcdir='${basedir}'eol='crlf'includes='**/*.bat'/>
</target>
<!---->
<!-- Start and Stop OFBiz -->
<!---->
<targetname='start'
description='Start OFBiz (use -Dportoffset=portNumber to shift all ports with the portNumber value)'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<jvmargvalue='-Dfile.encoding=UTF-8'/>
<argvalue='start'/>
<argvalue='-portoffset=${portoffset}'/>
</java>
</target>
<targetname='start-batch'
description='Start OFBiz as a separate process. Use -Dportoffset=portNumber to shift all ports with the portNumber value.'>
<javajar='ofbiz.jar'fork='true'spawn='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='start-batch'/>
<argvalue='-portoffset=${portoffset}'/>
</java>
</target>
<targetname='start-debug'
description='Start OFBiz in debugging mode. It uses the 8091 port by default. Use -Dportoffset=portNumber to shift all ports with the portNumber value.'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<jvmargvalue='-Dfile.encoding=UTF-8'/>
<jvmargvalue='-Xnoagent'/>
<jvmargvalue='-Djava.compiler=NONE'/>
<jvmargvalue='-Xdebug'/>
<jvmargvalue='-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8091'/>
<argvalue='start-debug'/>
<argvalue='-portoffset=${portoffset}'/>
</java>
</target>
<targetname='start-pos'
description='Start OFBiz POS (Point of sale). Use -Dportoffset=portNumber to shift all ports with the portNumber value.'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='pos'/>
<argvalue='-portoffset=${portoffset}'/><!-- Not sure this makes sense and is useful at all -->
</java>
</target>
<targetname='start-both'
description='Start OFBiz in both Web and POS (Point of sale) modes. Use -Dportoffset=portNumber to shift all ports with the portNumber value.'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='both'/>
<argvalue='-portoffset=${portoffset}'/>
</java>
</target>
<targetname='stop'
description='Stop OFBiz. Use -Dportoffset=portNumber to shift all ports with the portNumber value.'>
<javajar='ofbiz.jar'fork='true'>
<argvalue='-shutdown'/>
<argvalue='-portoffset=${portoffset}'/>
</java>
</target>
<targetname='status'
description='Display status of OFBiz. Use -Dportoffset=portNumber to shift all ports with the portNumber value.'>
<javajar='ofbiz.jar'fork='true'>
<argvalue='-status'/>
<argvalue='-portoffset=${portoffset}'/>
</java>
</target>
<!---->
<!-- Setup OFBiz Data -->
<!---->
<targetname='load-demo'depends='build'
description='Load all data; meant for generic OFBiz development, testing, demonstration, etc purposes'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
</java>
</target>
<targetname='load-demo-multitenant'depends='build'
description='Load all data needed for the multi-tenancy demonstration. Caution: this creates three databases, with each one loaded with all demo data.'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
</java>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='delegator=default#DEMO1'/>
</java>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='delegator=default#DEMO2'/>
</java>
</target>
<targetname='load-seed'depends='build'
description='Load ONLY the seed data (not seed-initial, demo, ext* or anything else); meant for use after an update of the code to reload the seed data as it is generally maintained along with the code and needs to be in sync for operation'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='readers=seed'/>
</java>
</target>
<targetname='load-extseed'depends='build'
description='Load seed, seed-initial and ext data; meant for manual/generic testing, development, or going into production with a derived system based on stock OFBiz where the ext data basically replaces the demo data'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='readers=seed,seed-initial,ext'/>
</java>
</target>
<targetname='load-exttest'depends='build'
description='Load seed, seed-initial, ext and ext-test data; meant for automated testing with a derived system based on stock OFBiz'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='readers=seed,seed-initial,ext,ext-test'/>
</java>
</target>
<targetname='load-readers'depends='build'
description='Load data using the command line argument'>
<javajar='ofbiz.jar'fork='true' >
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='readers=${data-readers}'/>
</java>
</target>
<targetname='load-file'depends='build'
description='Load data using the command line argument 'data-file' to load data from a given file using the 'default' delegator or a delegator specified in the command line argument 'delegator''>
<propertyname='delegator'value='default' />
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='delegator=${delegator}'/>
<argvalue='file=${data-file}'/>
</java>
</target>
<!--
target: load-tenant
-->
<targetname='load-tenant'depends='build,load-tenant-all,load-tenant-reader,load-tenant-component-all,load-tenant-component-reader'
description='Load data using tenantId, syntax eg: ant load-tenant -DtenantId=DEMO1 (needs multitenant=Y in general.properties)'>
</target>
<targetname='check-tenant-id'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='readers=tenant'/>
</java>
<conditionproperty='hasTenant'>
<and>
<lengthstring='${tenantId}'trim='true'when='greater'length='0'/>
<not><containsstring='${tenantId}'substring='tenantId'/></not>
<or>
<lengthstring='${component}'trim='true'when='equal'length='0'/>
<containsstring='${component}'substring='component'/>
</or>
</and>
</condition>
<conditionproperty='hasTenantComponent'>
<and>
<lengthstring='${tenantId}'trim='true'when='greater'length='0'/>
<not><containsstring='${tenantId}'substring='tenantId'/></not>
<lengthstring='${component}'trim='true'when='greater'length='0'/>
<not><containsstring='${component}'substring='component'/></not>
</and>
</condition>
</target>
<targetname='check-tenant-reader'depends='check-tenant-id'if='hasTenant'>
<conditionproperty='hasReader'>
<and>
<lengthstring='${data-readers}'trim='true'when='greater'length='0'/>
<not><containsstring='${data-readers}'substring='data-readers'/></not>
</and>
</condition>
<conditionproperty='noReader'>
<or>
<lengthstring='${data-readers}'trim='true'when='equal'length='0'/>
<containsstring='${data-readers}'substring='data-readers'/>
</or>
</condition>
</target>
<targetname='load-tenant-all'depends='check-tenant-reader'if='noReader'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='delegator=default#${tenantId}'/>
</java>
</target>
<targetname='load-tenant-reader'depends='check-tenant-reader'if='hasReader'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='delegator=default#${tenantId}'/>
<argvalue='readers=${data-readers}'/>
</java>
</target>
<!-- load-tenant-component -->
<targetname='load-tenant-component'if='hasTenantComponent'depends='check-tenant-id'>
<conditionproperty='hasComponentReader'>
<and>
<lengthstring='${data-readers}'trim='true'when='greater'length='0'/>
<not><containsstring='${data-readers}'substring='data-readers'/></not>
</and>
</condition>
<conditionproperty='noComponentReader'>
<or>
<lengthstring='${data-readers}'trim='true'when='equal'length='0'/>
<containsstring='${data-readers}'substring='data-readers'/>
</or>
</condition>
</target>
<targetname='load-tenant-component-all'depends='load-tenant-component'if='noComponentReader'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='delegator=default#${tenantId}'/>
<argvalue='component=${component}'/>
</java>
</target>
<targetname='load-tenant-component-reader'depends='load-tenant-component'if='hasComponentReader'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='delegator=default#${tenantId}'/>
<argvalue='readers=${data-readers}'/>
<argvalue='component=${component}'/>
</java>
</target>
<!--
target: load-all-tenants
-->
<targetname='load-all-tenants'depends='build,load-tenants-all,load-tenants-reader'
description='Load data for all tenants, syntax eg: ant load-all-tenants (needs multitenant=Y in general.properties)'>
</target>
<targetname='check-tenants-reader'>
<propertyname='delegator'value='all-tenants'/>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='readers=tenant'/>
</java>
<conditionproperty='hasReader'>
<and>
<lengthstring='${data-readers}'trim='true'when='greater'length='0'/>
<not><containsstring='${data-readers}'substring='data-readers'/></not>
</and>
</condition>
<conditionproperty='noReader'>
<or>
<lengthstring='${data-readers}'trim='true'when='equal'length='0'/>
<containsstring='${data-readers}'substring='data-readers'/>
</or>
</condition>
</target>
<targetname='load-tenants-all'depends='check-tenants-reader'if='noReader'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='delegator=${delegator}'/>
</java>
</target>
<targetname='load-tenants-reader'depends='check-tenants-reader'if='hasReader'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='readers=${data-readers}'/>
<argvalue='delegator=${delegator}'/>
</java>
</target>
<!--
target: create-tenant
-->
<targetname='create-tenant'
depends='create-tenant-on-Derby,create-tenant-on-MySQL,create-tenant-on-Oracle,create-tenant-on-PostgreSQL'
description='Create a new tenant in your environment, create the delegator, load initial data with admin-user and password (needs multitenant=Y in general.properties)'>
<tstamp/>
</target>
<!-- description='This creates entity Tenant and TenantDataSource in default, installs data in the delegator and creates the admin-user and password for the tenant'
sub-target of create-tenant, can't used alone => no description, to not clutter 'ant -p' -->
<targetname='get-tenant-data'>
<inputaddproperty='tenantId'message='Enter Id for the tenant: '/>
<inputaddproperty='tenantName'message='Enter name for tenant: '/>
<inputaddproperty='data-readers'message='Enter data to install.
Choices are e.g. seed,seed-initial,ext,demo.
Multipe datasets must be separated with a comma: '/>
<inputaddproperty='db-Platform'message='Select your default database platform, D = Derby,M = MySQL, O = Oracle, P = PostgreSQL'
validargs='D,M,O,P'/>
<echomessage='Please make sure that the driver of the platform is installed and that the databases have been created (in function of the entityengine.xml datasource-names)'/>
<inputaddproperty='db-IP'message='Enter IP address of the database server (you may add a port number)'/>
<inputaddproperty='db-User'message='Enter userID of database user: '/>
<inputaddproperty='db-Password'message='Enter password of database user: '/>
<conditionproperty='isDerby'>
<equals arg1='${db-Platform}' arg2='D'/>
</condition>
<conditionproperty='isMySQL'>
<equals arg1='${db-Platform}' arg2='M'/>
</condition>
<conditionproperty='isOracle'>
<equals arg1='${db-Platform}' arg2='O'/>
</condition>
<conditionproperty='isPostgreSQL'>
<equals arg1='${db-Platform}' arg2='P'/>
</condition>
<antcalltarget='tenant-data-entry'/>
</target>
<!-- description='Creates tenant data and instance'
sub-target of create-tenant, can't used alone => no description, to not clutter 'ant -p' -->
<targetname='create-tenant-on-Derby'depends='get-tenant-data'if='isDerby'>
<echomessage='Installing on Derby'/>
<copyfile='${basedir}/framework/resources/templates/AdminNewTenantData-Derby.xml'tofile='runtime/tmp/tmpTenantData.xml'>
<filterset>
<filtertoken='tenantId'value='${tenantId}'/>
<filtertoken='tenantName'value='${tenantName}'/>
</filterset>
</copy>
<antcalltarget='load-file'>
<paramname='data-file'value='runtime/tmp/tmpTenantData.xml'/>
</antcall>
<deletefile='runtime/tmp/tmpTenantData.xml'/>
<antcalltarget='load-tenant-data-readers'/>
<antcalltarget='load-tenant-admin-user-login'>
<paramname='userLoginId'value='${tenantId}-admin'/>
<paramname='delegatorId'value='default#${tenantId}'/>
</antcall>
</target>
<!-- description='Creates tenant data and instance. Don't forget db driver(s) and already created DBs in function of the entityengine.xml datasource-names'
sub-target of create-tenant, can't used alone => no description, to not clutter 'ant -p' -->
<targetname='create-tenant-on-MySQL'depends='get-tenant-data'if='isMySQL'>
<echomessage='Installing on MySQL'/>
<copyfile='${basedir}/framework/resources/templates/AdminNewTenantData-MySQL.xml'tofile='runtime/tmp/tmpTenantData.xml'>
<filterset>
<filtertoken='tenantId'value='${tenantId}'/>
<filtertoken='tenantName'value='${tenantName}'/>
<filtertoken='db-IP'value='${db-IP}'/>
<filtertoken='db-User'value='${db-User}'/>
<filtertoken='db-Password'value='${db-Password}'/>
</filterset>
</copy>
<antcalltarget='load-file'>
<paramname='data-file'value='runtime/tmp/tmpTenantData.xml'/>
</antcall>
<deletefile='runtime/tmp/tmpTenantData.xml'/>
<antcalltarget='load-tenant-data-readers'/>
<antcalltarget='load-tenant-admin-user-login'>
<paramname='userLoginId'value='${tenantId}-admin'/>
<paramname='delegatorId'value='default#${tenantId}'/>
</antcall>
</target>
<!-- description='Creates tenant data and instance. Don't forget db driver(s) and already created DBs in function of the entityengine.xml datasource-names'
sub-target of create-tenant, can't used alone => no description, to not clutter 'ant -p' -->
<targetname='create-tenant-on-Oracle'depends='get-tenant-data'if='isOracle'>
<echomessage='Installing on Oracle'/>
<copyfile='${basedir}/framework/resources/templates/AdminNewTenantData-Oracle.xml'tofile='runtime/tmp/tmpTenantData.xml'>
<filterset>
<filtertoken='tenantId'value='${tenantId}'/>
<filtertoken='tenantName'value='${tenantName}'/>
<filtertoken='db-IP'value='${db-IP}'/>
<filtertoken='db-User'value='${db-User}'/>
<filtertoken='db-Password'value='${db-Password}'/>
</filterset>
</copy>
<antcalltarget='load-file'>
<paramname='data-file'value='runtime/tmp/tmpTenantData.xml'/>
</antcall>
<deletefile='runtime/tmp/tmpTenantData.xml'/>
<antcalltarget='load-tenant-data-readers'/>
<antcalltarget='load-tenant-admin-user-login'>
<paramname='userLoginId'value='${tenantId}-admin'/>
<paramname='delegatorId'value='default#${tenantId}'/>
</antcall>
</target>
<!-- description='Creates tenant data and instance. Don't forget db driver(s) and already created DBs in function of the entityengine.xml datasource-names'
sub-target of create-tenant, can't used alone => no description, to not clutter 'ant -p' -->
<targetname='create-tenant-on-PostgreSQL'depends='get-tenant-data'if='isPostgreSQL'>
<echomessage='Installing on PostgreSQL'/>
<copyfile='${basedir}/framework/resources/templates/AdminNewTenantData-PostgreSQL.xml'tofile='runtime/tmp/tmpTenantData.xml'>
<filterset>
<filtertoken='tenantId'value='${tenantId}'/>
<filtertoken='tenantName'value='${tenantName}'/>
<filtertoken='db-IP'value='${db-IP}'/>
<filtertoken='db-User'value='${db-User}'/>
<filtertoken='db-Password'value='${db-Password}'/>
</filterset>
</copy>
<antcalltarget='load-file'>
<paramname='data-file'value='runtime/tmp/tmpTenantData.xml'/>
</antcall>
<deletefile='runtime/tmp/tmpTenantData.xml'/>
<antcalltarget='load-tenant-data-readers'/>
<antcalltarget='load-tenant-admin-user-login'>
<paramname='userLoginId'value='${tenantId}-admin'/>
<paramname='delegatorId'value='default#${tenantId}'/>
</antcall>
</target>
<!-- description='displays tenant data' sub-target of get-tenant-data, can't used alone => no description, to not clutter 'ant -p' -->
<targetname='tenant-data-entry'>
<echo>------------------------------------</echo>
<echomessage='tenantId = ${tenantId}'/>
<echo>tenantName = ${tenantName}</echo>
<echo>db-Platform = ${db-Platform}</echo>
<echo>db-IP = ${db-IP}</echo>
<echo>db-User = ${db-User}</echo>
<echo>db-Password = ${db-Password}</echo>
<echo>------------------------------------</echo>
<echo>database for tenant data will be 'ofbiz_${tenantId}'</echo>
<echo>database for tenant olap data will be 'ofbizolap_${tenantId}</echo>
<echomessage='Please make sure that the driver of the platform is installed and that the databases have been created (Check names just above)'/>
<echo>------------------------------------</echo>
<inputaddproperty='continueYN'message='Continue Y or N'validargs='N,n,Y,y'/>
</target>
<targetname='load-tenant-admin-user-login'
description='Create the admin login for the tenant with admin privileges, and a temporay password equal to 'ofbiz'. Password must be changed on first login'>
<echo>------------------------------------</echo>
<echomessage='Installing the admin for the tenant'/>
<echomessage='Delegator = ${delegatorId}'/>
<echomessage='Tenant admin = '${userLoginId}''/>
<echomessage='Password for tenant admin is 'ofbiz' must change on first login'/>
<echo>------------------------------------</echo>
<inputaddproperty='continueYN'message='Continue Y or N'validargs='N,n,Y,y'/>
<copyfile='${basedir}/framework/resources/templates/AdminUserLoginData.xml'tofile='runtime/tmp/tmpUserLogin.xml'>
<filterset>
<filtertoken='userLoginId'value='${userLoginId}'/>
</filterset>
</copy>
<antcalltarget='load-file'>
<paramname='data-file'value='runtime/tmp/tmpUserLogin.xml'/>
<paramname='delegator'value='${delegatorId}'/>
</antcall>
<deletefile='runtime/tmp/tmpUserLogin.xml'/>
</target>
<targetname='load-tenant-data-readers'
description='Load data of given886'> <echo>------------------------------------</echo>
<echomessage='Loading selected888'> <echomessage='Delegator = default#${tenantId}'/>
<echomessage='Data-readers = ${data-readers}'/>
<echo>------------------------------------</echo>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='install'/>
<argvalue='readers=${data-readers}'/>
<argvalue='delegator=default#${tenantId}'/>
</java>
</target>
<targetname='load-admin-user-login'
description='Create a user login with admin privileges and a temporary password equal to 'ofbiz'; after a successful login the user will be prompted for a new password. Example command for the userLogin 'admin': ./ant load-admin-user-login -DuserLoginId=admin'>
<failmessage='userLoginId parameter is required. To add the parameter to the command for user admin: -DuserLoginId=admin'>
<condition>
<not><issetproperty='userLoginId'/></not>
</condition>
</fail>
<copyfile='${basedir}/framework/resources/templates/AdminUserLoginData.xml'tofile='runtime/tmp/tmpUserLogin.xml'>
<filterset>
<filtertoken='userLoginId'value='${userLoginId}'/>
</filterset>
</copy>
<antcalltarget='load-file'>
<paramname='data-file'value='runtime/tmp/tmpUserLogin.xml'/>
</antcall>
<deletefile='runtime/tmp/tmpUserLogin.xml'/>
</target>
<targetname='create-admin-user-login'
description='Prompt for a user name, then create a user login with admin privileges and a temporary password equal to 'ofbiz'. After a successful login the user will be prompted for a new password. Note: this uses load-admin-user-login target'>
<inputaddproperty='userLoginId'message='Enter user name (log in with the temporary password 'ofbiz'):'/>
<antcalltarget='load-admin-user-login'/>
</target>
<targetname='run-tests'
description='Run OFBiz default tests; you have to manually execute 'ant load-demo' before and see results in runtime/logs/test-results/html/all-tests.html.'>
<javajar='ofbiz.jar'fork='true'resultproperty='test.result'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='test'/>
<envkey='LC_ALL'value='C'/>
</java>
<mkdirdir='runtime/logs/test-results/html'/>
<junitreporttodir='runtime/logs/test-results'>
<filesetdir='runtime/logs/test-results/'>
<includename='*.xml'/>
</fileset>
<reportformat='frames'todir='runtime/logs/test-results/html'/>
</junitreport>
<failmessage='Test run was unsuccessful'>
<condition>
<not>
<equals arg1='${test.result}' arg2='0'/>
</not>
</condition>
</fail>
</target>
<targetname='run-tests-with-cobertura'depends='download-cobertura, run-tests'
description='Download Cobertura and perform code coverage (same as run-tests). You will need a valid Internet connection to download cobertura'/>
<targetname='_check-separated-tests-already-setup'>
<availablefile='runtime/test-list-build.xml'property='_separated-tests-already-setup'/>
</target>
<targetname='_setup-separated-test-run'depends='_check-separated-tests-already-setup'unless='_separated-tests-already-setup'>
<javajar='ofbiz.jar'fork='true'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='testlist'/>
<argfile='runtime/test-list-build.xml'/>
<argvalue='-ant'/>
<envkey='LC_ALL'value='C'/>
</java>
</target>
<targetname='run-test'
description='Run a single test, syntax eg: ant run-test -Dtest.component=service -Dtest.case=service-soap-tests'>
<failunless='test.component'>test.component is a required parameter: -Dtest.component=componentname</fail>
<failunless='test.case'>test.case is a required parameter: -Dtest.case=testcasename</fail>
<javajar='ofbiz.jar'fork='true'resultproperty='test.result'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='test'/>
<argvalue='-component=${test.component}'/>
<argvalue='-case=${test.case}'/>
<envkey='LC_ALL'value='C'/>
</java>
<deletedir='runtime/logs/test-results/${test.component}-${test.case}'/>
<mkdirdir='runtime/logs/test-results/${test.component}-${test.case}'/>
<movetodir='runtime/logs/test-results/${test.component}-${test.case}'>
<filesetdir='runtime/logs/test-results'includes='*.xml'/>
</move>
<failmessage='Test run was unsuccessful'>
<condition>
<not>
<equals arg1='${test.result}' arg2='0'/>
</not>
</condition>
</fail>
</target>
<targetname='run-test-debug'
description='Run a single test in debug mode, syntax eg: ant run-test-debug -Dtest.component=service -Dtest.case=service-soap-tests'>
<failunless='test.component'>test.component is a required parameter: -Dtest.component=componentname</fail>
<failunless='test.case'>test.case is a required parameter: -Dtest.case=testcasename</fail>
<javajar='ofbiz.jar'fork='true'resultproperty='test.result'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<jvmargvalue='-Xnoagent'/>
<jvmargvalue='-Djava.compiler=NONE'/>
<jvmargvalue='-Xdebug'/>
<jvmargvalue='-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8091'/>
<argvalue='test'/>
<argvalue='-component=${test.component}'/>
<argvalue='-case=${test.case}'/>
<envkey='LC_ALL'value='C'/>
</java>
<deletedir='runtime/logs/test-results/${test.component}-${test.case}'/>
<mkdirdir='runtime/logs/test-results/${test.component}-${test.case}'/>
<movetodir='runtime/logs/test-results/${test.component}-${test.case}'>
<filesetdir='runtime/logs/test-results'includes='*.xml'/>
</move>
<failmessage='Test run was unsuccessful'>
<condition>
<not>
<equals arg1='${test.result}' arg2='0'/>
</not>
</condition>
</fail>
</target>
<targetname='run-test-suite'
description='Run a single test suite, syntax eg: ant run-test-suite -Dtest.component=mycomponent -Dtest.suiteName=mytests'>
<failunless='test.component'>test.component is a required parameter: -Dtest.component=componentname</fail>
<failunless='test.suiteName'>test.suiteName is a required parameter: -Dtest.suiteName=testsuitename</fail>
<javajar='ofbiz.jar'fork='true'resultproperty='test.result'>
<jvmargvalue='${memory.initial.param}'/>
<jvmargvalue='${memory.max.param}'/>
<jvmargvalue='${memory.maxpermsize.param}'/>
<argvalue='test'/>
<argvalue='-component=${test.component}'/>
<argvalue='-suitename=${test.suiteName}'/>
<envkey='LC_ALL'value='C'/>
</java>
<failmessage='Test run was unsuccessful'>
<condition>
<not>
<equals arg1='${test.result}' arg2='0'/>
</not>
</condition>
</fail>
</target>
<targetname='run-test-list'depends='_setup-separated-test-run'
description='Run all configured tests, stopping/starting ofbiz between each test'>
<deletedir='runtime/logs/test-results'/>
<antantfile='runtime/test-list-build.xml'target='all-tests'/>
</target>
<targetname='cobertura-report'
description='Generate a HTML code coverage report with cobertura, can be found in runtime/logs/cobertura-report'>
<deletedir='runtime/logs/cobertura-report'/>
<mkdirdir='runtime/logs/cobertura-report'/>
<taskdefresource='tasks.properties'>
<classpath>
<filesetdir='framework/base/lib'>
<includename='cobertura-1.9.4.1.jar' />
<includename='log4j-1.2.17.jar' />
<includename='scripting/asm*.jar' />
<includename='scripting/jakarta-oro-2.0.8.jar' />
</fileset>
</classpath>
</taskdef>
<cobertura-mergedatafile='runtime/logs/cobertura.dat'>
<filesetdir='runtime/logs'>
<includename='cobertura-base.dat'/>
<includename='cobertura-components.dat'/>
</fileset>
</cobertura-merge>
<cobertura-reportdatafile='runtime/logs/cobertura.dat'destdir='runtime/logs/cobertura-report'>
<dirsetdir='.'>
<includename='*/*/src'/>
</dirset>
<includename='**/*.java'/>
</cobertura-report>
</target>
<targetname='cobertura-report-xml'
description='Generate a XML file from the cobertura report, this will be use by sonar'>
<deletedir='runtime/logs/cobertura-report'/>
<mkdirdir='runtime/logs/cobertura-report'/>
<taskdefresource='tasks.properties'>
<classpath>
<filesetdir='framework/base/lib'>
<includename='cobertura-1.9.4.1.jar' />
<includename='log4j-1.2.17.jar' />
<includename='scripting/asm*.jar' />
<includename='scripting/jakarta-oro-2.0.8.jar' />
</fileset>
</classpath>
</taskdef>
<cobertura-mergedatafile='runtime/logs/cobertura.dat'>
<filesetdir='runtime/logs'>
<includename='cobertura-base.dat'/>
<includename='cobertura-components.dat'/>
</fileset>
</cobertura-merge>
<cobertura-reportformat='xml'datafile='runtime/logs/cobertura.dat'destdir='runtime/logs/cobertura-report'>
<dirsetdir='.'>
<includename='*/*/src'/>
</dirset>
<includename='**/*.java'/>
</cobertura-report>
</target>
<targetname='sonar'depends='download-sonar-ant-task, sonar-init'
description='Sonar code analysis. You need a Sonar instance running to use it. More info on http://www.sonarsource.org/'>
<execexecutable='svn'dir='.'output='runtime/svninfo_tmp.xml'>
<argvalue='info'/>
<argvalue='--xml'/>
</exec>
<xmlpropertyfile='runtime/svninfo_tmp.xml'/>
<propertyname='sonar.sources'value='specialpurpose/appserver/src, framework/base/src, framework/bi/src,
framework/catalina/src, framework/common/src, framework/datafile/src, framework/entity/src, framework/entityext/src,
framework/example/src, framework/geronimo/src, framework/jetty/src,
framework/minilang/src, framework/security/src, framework/service/src, framework/sql/src, framework/start/src,
framework/testtools/src, framework/webapp/src, framework/webtools/src, framework/widget/src,
applications/accounting/src, applications/commonext/src, applications/content/src, applications/humanres/src,
applications/manufacturing/src, applications/marketing/src, applications/order/src, applications/party/src,
applications/product/src, applications/securityext/src, applications/workeffort/src, specialpurpose/assetmaint/src,
specialpurpose/ebay/src, specialpurpose/ebaystore/src, specialpurpose/ecommerce/src, specialpurpose/googlebase/src,
specialpurpose/googlecheckout/src, specialpurpose/hhfacility/src, specialpurpose/oagis/src, specialpurpose/pos/src,
specialpurpose/scrum/src, specialpurpose/birt/src' />
<propertyname='sonar.tests'value='framework/base/src/org/ofbiz/base/test, framework/entity/src/org/ofbiz/entity/test,
framework/service/src/org/ofbiz/service/test, framework/sql/src/org/ofbiz/sql/test,
applications/accounting/src/org/ofbiz/accounting/test, applications/content/src/org/ofbiz/content/test,
applications/product/src/org/ofbiz/product/test, applications/product/src/org/ofbiz/shipment/test,
applications/securityext/src/org/ofbiz/securityext/test' />
<!-- list of optional Sonar properties -->
<propertyname='sonar.projectName'value='Apache OFBiz' />
<sonar:sonarkey='org.apache:ofbiz'version='${info.entry.commit(revision)}'xmlns:sonar='antlib:org.sonar.ant:sonar'/>
<propertyname='sonar.dynamicAnalysis'value='reuseReports' />
<propertyname='sonar.cobertura.reportPath'value='runtime/logs/cobertura-report/coverage.xml'/>
<propertyname='sonar.java.source'value='1.6' />
<propertyname='sonar.java.target'value='1.6' />
<!-- default for jdbc url: jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf8-->
<propertyname='sonar.jdbc.url'value='${sonar.jdbc.url}'/>
<propertyname='sonar.jdbc.driverClassName'value='com.mysql.jdbc.Driver' />
<propertyname='sonar.jdbc.username'value='${sonar.jdbc.username}' />
<propertyname='sonar.jdbc.password'value='${sonar.jdbc.password}' />
<!-- SERVER ON A REMOTE HOST -->
<propertyname='sonar.host.url'value='${sonar.host.url}' />
</target>
<targetname='full-sonar'>
<antcalltarget='clean-all'/>
<antcalltarget='load-demo'/>
<antcalltarget='run-tests'/>
<antcalltarget='cobertura-report-xml'/>
<antcalltarget='sonar'/>
</target>
<!---->
<!-- Ivy targets, more info at http://ant.apache.org/ivy/ -->
<!---->
<targetname='download-cobertura'depends='ivy-init'>
<ivy:retrievepattern='framework/base/lib/[artifact]-[revision].[ext]'conf='cobertura'/>
</target>
<targetname='download-PG-JDBC'depends='ivy-init'description='Download postgres jdbc driver'>
<ivy:retrievepattern='framework/entity/lib/jdbc/[artifact]-[revision].[ext]'conf='postgres'/>
</target>
<targetname='download-sonar-ant-task'depends='ivy-init'>
<ivy:retrievepattern='framework/base/lib/[artifact]-[revision].[ext]'conf='sonar-ant-task'/>
</target>
<targetname='download-mySQL-JDBC'depends='ivy-init'description='Download mySQL jdbc driver'>
<ivy:retrievepattern='framework/entity/lib/jdbc/[artifact]-[revision].[ext]'conf='mysql'/>
</target>
<!---->
<!-- Create New Component. This target will create basic directory structure for an OFBiz component in hot-deploy directory. -->
<!---->
<targetname='create-component'
description='Create the layout of an OFBiz component in the hot-deploy folder.'>
<inputaddproperty='component-name'message='Component name: (e.g. mycomponent) [Mandatory]'/>
<inputaddproperty='component-resource-name'message='Component resource name: (e.g. MyComponent) [Mandatory]'/>
<inputaddproperty='webapp-name'message='Webapp name: (e.g. mycomponent) [Mandatory]'/>
<inputaddproperty='base-permission'message='Base permission: (e.g. MYCOMPONENT) [Mandatory]'/>
<echo>The following hot-deploy component will be created:
Name: ${component-name}
Resource Name: ${component-resource-name}
Webapp Name: ${webapp-name}
Base permission: ${base-permission}
Folder: ${basedir}/hot-deploy/${component-name}
</echo>
<inputaddproperty='confirm-component-creation'message='Confirm: 'defaultvalue='N'validargs='Y,N,y,n'/>
<failmessage='Component creation cancelled by the user.'>
<condition>
<equals arg1='${confirm-component-creation}' arg2='N'casesensitive='false'/>
</condition>
</fail>
<failmessage='Component name is mandatory'>
<condition>
<equals arg1='${component-name}' arg2=''casesensitive='false'trim='yes'/>
</condition>
</fail>
<failmessage='Resource name is mandatory'>
<condition>
<equals arg1='${component-resource-name}' arg2=''casesensitive='false'trim='yes'/>
</condition>
</fail>
<failmessage='Webapp name is mandatory'>
<condition>
<equals arg1='${webapp-name}' arg2=''casesensitive='false'trim='yes'/>
</condition>
</fail>
<failmessage='Base permission is mandatory'>
<condition>
<equals arg1='${base-permission}' arg2=''casesensitive='false'trim='yes'/>
</condition>
</fail>
<filtersetid='replacePlaceholders'>
<filtertoken='component-name'value='${component-name}'/>
<filtertoken='component-resource-name'value='${component-resource-name}'/>
<filtertoken='base-permission'value='${base-permission}'/>
<filtertoken='webapp-name'value='${webapp-name}'/>
</filterset>
<mkdirdir='${basedir}/hot-deploy/${component-name}'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/config'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/data'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/data/helpdata'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/dtd'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/documents'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/entitydef'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/lib'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/patches'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/patches/staging'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/patches/production'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/script'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/servicedef'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/src'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/testdef'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/webapp'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/webapp/${webapp-name}'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/webapp/${webapp-name}/error'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/webapp/${webapp-name}/WEB-INF'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/webapp/${webapp-name}/WEB-INF/actions'/>
<mkdirdir='${basedir}/hot-deploy/${component-name}/widget/'/>
<copyfile='${basedir}/framework/resources/templates/ofbiz-component.xml'tofile='${basedir}/hot-deploy/${component-name}/ofbiz-component.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/build.xml'tofile='${basedir}/hot-deploy/${component-name}/build.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/TypeData.xml'tofile='${basedir}/hot-deploy/${component-name}/data/${component-resource-name}TypeData.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/SecurityPermissionSeedData.xml'tofile='${basedir}/hot-deploy/${component-name}/data/${component-resource-name}SecurityPermissionSeedData.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/SecurityGroupDemoData.xml'tofile='${basedir}/hot-deploy/${component-name}/data/${component-resource-name}SecurityGroupDemoData.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/DemoData.xml'tofile='${basedir}/hot-deploy/${component-name}/data/${component-resource-name}DemoData.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/HELP.xml'tofile='${basedir}/hot-deploy/${component-name}/data/helpdata/HELP_${component-resource-name}.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/document.xml'tofile='${basedir}/hot-deploy/${component-name}/documents/${component-resource-name}.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/entitymodel.xml'tofile='${basedir}/hot-deploy/${component-name}/entitydef/entitymodel.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/services.xml'tofile='${basedir}/hot-deploy/${component-name}/servicedef/services.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/Tests.xml'tofile='${basedir}/hot-deploy/${component-name}/testdef/${component-resource-name}Tests.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/UiLabels.xml'tofile='${basedir}/hot-deploy/${component-name}/config/${component-resource-name}UiLabels.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/index.jsp'tofile='${basedir}/hot-deploy/${component-name}/webapp/${webapp-name}/index.jsp'encoding='iso-8859-1'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/error.jsp'tofile='${basedir}/hot-deploy/${component-name}/webapp/${webapp-name}/error/error.jsp'encoding='iso-8859-1'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/controller.xml'tofile='${basedir}/hot-deploy/${component-name}/webapp/${webapp-name}/WEB-INF/controller.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/web.xml'tofile='${basedir}/hot-deploy/${component-name}/webapp/${webapp-name}/WEB-INF/web.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/CommonScreens.xml'tofile='${basedir}/hot-deploy/${component-name}/widget/CommonScreens.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/Screens.xml'tofile='${basedir}/hot-deploy/${component-name}/widget/${component-resource-name}Screens.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/Menus.xml'tofile='${basedir}/hot-deploy/${component-name}/widget/${component-resource-name}Menus.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<copyfile='${basedir}/framework/resources/templates/Forms.xml'tofile='${basedir}/hot-deploy/${component-name}/widget/${component-resource-name}Forms.xml'encoding='utf-8'>
<filtersetrefid='replacePlaceholders'/>
</copy>
<echo>Component successfully created in folder ${basedir}/hot-deploy/${component-name}.
Restart OFBiz and then visit the URL: http://localhost:8080/${webapp-name}
</echo>
</target>
<!---->
<!-- kek helper -->
<!---->
<targetname='gen-kek'
description='Generate a new key-encrypting-key for use in entityengine.xml'>
<javaclassname='org.ofbiz.base.crypto.Main'fork='false'>
<argvalue='-kek'/>
<classpath>
<pathlocation='framework/base/build/lib/ofbiz-base.jar'/>
<pathlocation='framework/base/lib/commons/commons-codec-1.4.jar'/>
</classpath>
</java>
</target>
<!---->
<!-- Old tasks. -->
<!---->
<targetname='run'>
<echomessage='The 'run' command has been renamed 'start'; please use 'ant start' to start OFBiz.'/>
</target>
<targetname='run-debug'>
<echomessage='The 'run-debug' command has been renamed 'start-debug'; please use 'ant start-debug' to start OFBiz in debug mode.'/>
</target>
<targetname='run-pos'>
<echomessage='The 'run-pos' command has been renamed 'start-pos'; please use 'ant start-pos' to start the OFBiz POS.'/>
</target>
<targetname='run-install'>
<echomessage='The 'run-install' command has been renamed 'load-demo'; please use 'ant load-demo' to load seed and demo data.'/>
</target>
<targetname='run-install-multitenant'>
<echomessage='The 'run-install-multitenant' command has been renamed 'load-demo-multitenant'; please use 'ant load-demo-multitenant' to load seed and demo data for multi-tenancy.'/>
</target>
<targetname='run-install-seed'>
<echomessage='The 'run-install-seed' command has been renamed 'load-seed'; please use 'ant load-seed' to load seed data.'/>
</target>
<targetname='run-install-extseed'>
<echomessage='The 'run-install-extseed' command has been renamed 'load-extseed'; please use 'ant load-extseed' to load seed, seed-initial and ext data.'/>
</target>
<targetname='run-install-exttest'>
<echomessage='The 'run-install-exttest' command has been renamed 'load-exttest'; please use 'ant load-exttest' to load seed, seed-initial, ext and ext-test data.'/>
</target>
<targetname='run-install-readers'>
<echomessage='The 'run-install-readers' command has been renamed 'load-readers'; please use 'ant load-readers' to load data using the command line argument1354'> </target>
<targetname='run-install-file'>
<echomessage='The 'run-install-file' command has been renamed 'load-file'; please use 'ant load-file' to load data from a given file.'/>
</target>
<targetname='run-install-file-in-delegator'>
<echomessage='The 'run-install-file-in-delegator' command has been renamed 'load-file'; please use 'ant load-file' to load data from a given file.'/>
</target>
</project>
  • Copy lines
  • Copy permalink