-
Notifications
You must be signed in to change notification settings - Fork 23
/
README
58 lines (47 loc) · 2.14 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License
# v. 1.0 which is available at
# http://www.eclipse.org/org/documents/edl-v10.php.
#
# This Source Code may also be made available under the following Secondary
# Licenses when the conditions for such availability set forth in the Eclipse
# Public License v. 2.0 are satisfied: GNU General Public License v2.0
# w/Classpath exception which is available at
# https://www.gnu.org/software/classpath/license.html.
#
# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause OR GPL-2.0 WITH
# Classpath-exception-2.0
#
How to build ORB .jars for delivery to GlassFish:
---------------------------------------
# to build and run all tests:
cd <ws>
mvn -P all-tests clean install
#
# (temporarily broken) Run dev tests with code coverage enabled.
# Cobertura code coverage report generated at: <ws>/build/cobertura/index.html
ant do-cobertura-test
#
---------------------------------------
# to run a single test with custom arguments:
cd <ws>
mvn -Dtest.args="<args supported by test framework>" install
For example:
1. To run a specific test:
mvn -Dtest.args="-test corba.connectioncache.ConnectionCacheTest" install
2. To debug a test, client process:
mvn -Dtest.args="-test corba.connectioncache.ConnectionCacheTest -rdebug client" install
In the debug mode, the test waits for remote debugger to connect on the port, printed on console. The test continues once the remote debugger connects.
3. To debug a test, server process:
mvn -Dtest.args="-test corba.cdrext.CDRExtTest -rdebug server" install
4. Multiple remote debuggers may also be attached to client, server, and controller processes (this is not well tested):
mvn -Dtest.args=""-test corba.sometest -rdebug client:server:controller" install
---------------------------------------
For details, see
<ws>/make/build.xml
<ws>/make/src-build.xml
Generated Bundles: <ws>/build/rename/ee/build/release/lib/bundles-archive.zip