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 115930 - Regression: 2 lines is too short for Options/Misc/Ant/Properties TextArea
Summary: Regression: 2 lines is too short for Options/Misc/Ant/Properties TextArea
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 6.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-09-18 22:55 UTC by nimarukan
Modified: 2007-10-10 20:59 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 nimarukan 2007-09-18 22:55:34 UTC
Textbox for Options/Misc/Ant/Properties is only two lines high.
Was much better in NB6m10, where it was much taller, maybe 6-8 lines high.
Consider making it resizable with a splitter.

The tiny height makes it difficult to navigate when I have several
properties set, such as multiple debug options I don't want to set in
the build.xml file.  (The build.xml is archived to source code
management, and it is harder to navigate to the right part of a large
build.xml than it is to this text box to make changes while debugging.)
Comment 1 Jesse Glick 2007-10-10 20:48:46 UTC
Please bear in mind that the Properties field is only intended to be used as a last resort when there is no possibility
of touching the build script, and for whatever reason you cannot use a wrapper that delegates to a "pristine" build
script using <ant> with <property> subelements (freeform projects support this using the <script> element in
project.xml). The recommended style is to place at the top of your build.xml (perhaps in an init target) e.g.:

  <property file="user.properties"/>

and then put project-specific definitions in this file. These can easily be edited between builds. You can set your VCS
to ignore user.properties so that user-specific or site-specific definitions can be kept there, and it will be skipped
over quietly if missing. More info:

http://wiki.netbeans.org/wiki/view/NetBeansUserFAQ#section-NetBeansUserFAQ-Ant
Comment 2 Jesse Glick 2007-10-10 20:59:03 UTC
Checking in AntCustomizer.form;
/shared/data/ccvs/repository/ant/src/org/apache/tools/ant/module/AntCustomizer.form,v  <--  AntCustomizer.form
new revision: 1.6; previous revision: 1.5
done
Checking in AntCustomizer.java;
/shared/data/ccvs/repository/ant/src/org/apache/tools/ant/module/AntCustomizer.java,v  <--  AntCustomizer.java
new revision: 1.29; previous revision: 1.28
done