workspace-how-to revision 984ea967792540448d05fba2ac6fad5dadf91fd6
0N/A#
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
0N/A#
0N/A# Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved.
0N/A#
0N/A# The contents of this file are subject to the terms
0N/A# of the Common Development and Distribution License
0N/A# (the License). You may not use this file except in
0N/A# compliance with the License.
0N/A#
0N/A# You can obtain a copy of the License at
0N/A# https://opensso.dev.java.net/public/CDDLv1.0.html or
0N/A# opensso/legal/CDDLv1.0.txt
0N/A# See the License for the specific language governing
0N/A# permission and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL
873N/A# Header Notice in each file and include the License file
0N/A# at opensso/legal/CDDLv1.0.txt.
0N/A# If applicable, add the following below the CDDL Header,
0N/A# with the fields enclosed by brackets [] replaced by
0N/A# your own identifying information:
0N/A# "Portions Copyrighted [year] [name of copyright owner]"
5065N/A#
0N/A# $Id: workspace-how-to,v 1.1 2009/08/19 05:40:28 veiming Exp $
0N/A#
0N/A
0N/A1. Adding new binary dependencies
0N/A Please do the followings if you need to add new binary dependencies.
0N/A
0N/A 1. Check with opensso-dev@dev.java.net if the binaries can be distributed
0N/A by Sun Microsystems Inc.
0N/A a. yes. Provide information on where/how to get them and the license
0N/A file(s). We will put them in
0N/A http://download.java.net/general/opensso/extlib/latest/opensso-sun-extlib.zip
0N/A b. no, Update the README file under this directory on information on
0N/A where/how to get them.
0N/A
0N/A 2. Check if the binaries are required to be bundled in WAR file under
0N/A WEB-INF/lib or they are to be used for compilation only.
0N/A a. add the binary file names to external.lib property in
0N/A products.properties file under this directory if they need to be
0N/A bundled in WAR
0N/A b. add the binary file names to build.lib property in
0N/A products.properties file under this directory if they are to be
0N/A used for compilation only.
0N/A
0N/A2. Keep ant build XML file clean
0N/A a. Try not to duplicate resources
0N/A Please keep on copy of the resourcs required and not copying them in
0N/A different places in the workspace.
0N/A b. define property in properties file like products.properties and not in
0N/A build XML
0N/A c. use target depends parameter instead of antcall
0N/A