| <?xml version="1.0"?> |
| <!-- |
| 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. |
| --> |
| |
| <project name="OFBiz - Product Component" default="jar" basedir="."> |
| <import file="../../common.xml"/> |
| |
| <!-- ================================================================== --> |
| <!-- Initialization of all property settings --> |
| <!-- ================================================================== --> |
| |
| <property name="desc" value="Product Component"/> |
| <property name="name" value="ofbiz-product"/> |
| <property name="ofbiz.home.dir" value="../.."/> |
| |
| <path id="local.class.path"> |
| <!--<fileset dir="${lib.dir}" includes="*.jar"/>--> |
| <fileset dir="../../framework/base/lib" includes="*.jar"/> |
| <fileset dir="../../framework/base/lib/commons" includes="*.jar"/> |
| <fileset dir="../../framework/base/lib/j2eespecs" includes="*.jar"/> |
| <fileset dir="../../framework/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/webapp/lib" includes="*.jar"/> |
| <fileset dir="../../framework/webapp/build/lib" includes="*.jar"/> |
| <fileset dir="../../framework/common/build/lib" includes="*.jar"/> |
| <fileset dir="../content/lib" includes="*.jar"/> |
| <fileset dir="../content/build/lib" includes="*.jar"/> |
| <fileset dir="../party/build/lib" includes="*.jar"/> |
| </path> |
| |
| <!-- ================================================================== --> |
| <!-- Compilation of the source files --> |
| <!-- ================================================================== --> |
| |
| <target name="classes" depends="prepare"> |
| <!-- check for applet required classes --> |
| <condition property="noapplet" value="ShipmentScaleApplet.java"> |
| <not> |
| <and> |
| <available classname="javax.comm.SerialPort" classpathref="local.class.path"/> |
| <available classname="netscape.javascript.JSObject" classpathref="local.class.path" property="jsobject.avail"/> |
| </and> |
| </not> |
| </condition> |
| |
| <javac15> |
| <exclude name="${noapplet}"/> |
| </javac15> |
| </target> |
| |
| <!-- ================================================================== --> |
| <!-- Build JavaDoc --> |
| <!-- ================================================================== --> |
| |
| <target name="docs" depends="prepare-docs"> |
| <javadoc packagenames="org.ofbiz.product.*,org.ofbiz.shipment.*" |
| classpathref="local.class.path" |
| destdir="${build.dir}/javadocs" |
| Windowtitle="Open for Business - ${desc}"> |
| <sourcepath path="${src.dir}"/> |
| </javadoc> |
| </target> |
| </project> |