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.

Bug 33565 - Run profile data are not stored reliably
Summary: Run profile data are not stored reliably
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-13 15:45 UTC by _ rkubacki
Modified: 2006-06-05 00:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2003-05-13 15:45:53 UTC
Projects context menu | Run profiles | Edit opens
profile customizer that doesn't store the data
correctly. Often settings for deployment (do fast
deploy, full deploy, do not deploy) is not saved.
Comment 1 Pavel Buzek 2003-05-14 10:28:18 UTC
I cannot reporoduce this. I created several profiles and set
deployment methods to different values. When I reopen the profiles
editor the values are set correctly. When I close/reopen project they
are still set. What's your test case?
Comment 2 _ rkubacki 2003-05-14 13:33:23 UTC
Download and install Tomcat5.0.2 (sorry bundling into IDE is not done
yet) -
http://jakarta.apache.org/builds/jakarta-tomcat/release/v5.0.2-alpha/

Update its conf/tomcat-users.xml file to add some user with manager
role and start it using bin/startup.* launcher.

Then start the IDE and add Tomcat to server registry
(uri=tomcat:http://localhost:8080/manager/) and try to deploy simple
web application. Othen the setting used for execution doesn't match to
one shown in customizer. Maybe that the customizer is OK but execution
uses wrong search.
Comment 3 _ rkubacki 2003-05-15 12:35:46 UTC
Sorry for wasting your time. == used for string comparision instead of
String.equals().

Checking in
j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/projects/DeploymentTargetImpl.java;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/projects/Attic/DeploymentTargetImpl.java,v
 <--  DeploymentTargetImpl.java
new revision: 1.1.2.2; previous revision: 1.1.2.1