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 - Catalina Script file chooser default folder
Summary: Catalina Script file chooser default folder
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2007-03-20 09:07 UTC by Martin Schovanek
Modified: 2007-08-07 11:38 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 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