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