This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 83055
Collapse All | Expand All

(-)j2eeserver/ant/antsrc/org/netbeans/modules/j2ee/ant/Deploy.java (+4 lines)
Lines 90-105 Link Here
90
                    String h = sdi.getHost();
90
                    String h = sdi.getHost();
91
                    String transport = sdi.getTransport();
91
                    String transport = sdi.getTransport();
92
                    String address = "";   //NOI18N
92
                    String address = "";   //NOI18N
93
                    String addressClient = "";   //NOI18N
93
94
94
                    if (transport.equals(ServerDebugInfo.TRANSPORT_SHMEM)) {
95
                    if (transport.equals(ServerDebugInfo.TRANSPORT_SHMEM)) {
95
                        address = sdi.getShmemName();
96
                        address = sdi.getShmemName();
97
                        addressClient = address + "Client";
96
                    } else {
98
                    } else {
97
                        address = Integer.toString(sdi.getPort());
99
                        address = Integer.toString(sdi.getPort());
100
                        addressClient = Integer.toString(sdi.getPort() + 1);
98
                    }
101
                    }
99
102
100
                    getProject().setProperty("jpda.transport", transport);
103
                    getProject().setProperty("jpda.transport", transport);
101
                    getProject().setProperty("jpda.host", h);
104
                    getProject().setProperty("jpda.host", h);
102
                    getProject().setProperty("jpda.address", address);
105
                    getProject().setProperty("jpda.address", address);
106
                    getProject().setProperty("jpda.address.appclient", addressClient);
103
                }
107
                }
104
            } catch (Exception ex) {
108
            } catch (Exception ex) {
105
                throw new BuildException(ex);
109
                throw new BuildException(ex);

Return to bug 83055