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 98288

Summary: Catalina Script file chooser default folder
Product: serverplugins Reporter: Martin Schovanek <mschovanek>
Component: TomcatAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Martin Schovanek 2007-03-20 09:07:49 UTC
[#200703181900, jdk1.5.0]

to reproduce:
-------------
1) right-click a Tomcat node in the Runtime tab
2) choose 'Customize > Startup'
3) check 'Use Custom Catalina Script' check-box
4) click Browse button
ERROR: the file chooser is opened in $HOME folder by default. But last used
folder or $CATALINA_HOME will be much useful.
Comment 1 Sherold Dev 2007-03-20 10:36:15 UTC
TM -> 6.0
Comment 2 Petr Hejl 2007-08-07 11:38:57 UTC
Catalina home of the registered server is used as the default directory.

Checking in tomcat5/src/org/netbeans/modules/tomcat5/customizer/Customizer.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/customizer/Customizer.java,v  <--  Customizer.java
new revision: 1.11; previous revision: 1.10
done
Checking in tomcat5/src/org/netbeans/modules/tomcat5/customizer/CustomizerStartup.java;
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/customizer/CustomizerStartup.java,v  <--  CustomizerStartup.java
new revision: 1.9; previous revision: 1.8
done