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 90202 - Dialog box for Output property incorrectly processes the carriage return
Summary: Dialog box for Output property incorrectly processes the carriage return
Status: VERIFIED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-28 15:59 UTC by dnikitin
Modified: 2007-06-15 16:11 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 dnikitin 2006-11-28 15:59:40 UTC
Dialog box for Output property incorrectly processes the carriage return.

to reproduce: 
1) create any c/c++ project
2) open project properties dialog box 
3) select Linker-General on the left side 
4) click the button "..." for output property on the right side of the panel.

Dialog box will appear where you can edit directory 

5) Go to the end of the line and press ENTER 
6) Close properties dialog box and build or clean project

You will get the following error:
-------------
Running "make -f Makefile CONF=Debug clean" in C:\Documents and
Settings\tester\Args3

make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .clean-conf
make[1]: Entering directory `/cygdrive/c/Documents and Settings/tester/Args3'
nbproject/Makefile-Debug.mk:42: *** missing separator.  Stop.
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/tester/Args3'
make: *** [.clean-impl] Error 2

Clean failed. Exit value 2.
---------------------------------

Because Makefile-<conf>.mk file is wrong:
-------
dist/Debug/GNU-Windows/args3   # it should be ...
.exe: ${OBJECTFILES}           #                  ... one line
	${MKDIR} -p dist/Debug/GNU-Windows
	${LINK.c} -o dist/Debug/GNU-Windows/args3 ${OBJECTFILES} ${LDLIBSOPTIONS} 
------
Comment 1 Thomas Preisler 2007-05-24 00:18:56 UTC
I cannot reproduce this bug. I believe I have actually done this many, many
times, so I'm puzzeled that it canfail. Are you using a special JDK? Or on a
non-standard system? Will close as worksforme. Please reopen with specifics if
you can reproduce it.
Comment 2 dnikitin 2007-05-25 17:17:00 UTC
I can still reproduce this bug

Test machine: sqao15.sfbay
Op.System   : SunOS version 5.10 running on x86
NB_Home     : /export/home/tester/netbeans-5.5.1dev (Build 200704122300, C/C++
Pack 20070525)
Java_Home   : /usr/jdk/instances/jdk1.5.0/jre
Java version: 1.5.0_11

Also can reproduce this bug on intel-Linux and sparc-S2 (sqa45.sfbay) with
latest CND
Comment 3 Thomas Preisler 2007-05-25 18:36:59 UTC
Sorry, I just cannot reproduce. I tried everything including running with same
jdk version as you but no able to. You must do it in a slightly different way
that I do. Here is *exactly* what I try:

1) bring up properties dialog
2) click Linker/General node
3) position cursor at end of Output argument
4) hit Enter
5) Click OK button

Everything seems fine. Which steps do you do?
Comment 4 Thomas Preisler 2007-06-14 22:41:08 UTC
Pls provide exact steps to reproduce.
Comment 5 dnikitin 2007-06-15 15:57:29 UTC
Now you can not enter special characters including spaces and return carriage in Output. Error dialog box appears.

Verified in build 20070615  
Comment 6 dnikitin 2007-06-15 16:11:08 UTC
See also Issue106837