Bug 5813

Summary: User should not be able to rename a project with a new name containing spaces
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Ada Solcan <ada-mihaela.solcan>
Component: eclipse-pluginAssignee: Scott Rifenbark <srifenbark>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: ioanax.grigoropol, jessica.zhang, srifenbark, yp.ep.watcher, yp.watcher
Version: 1.6   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard: 07 March 2014 - RESOLVED
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description Ada Solcan 2014-02-12 14:07:38 UTC
Host: Fedora 20 64-bit & Ubuntu 13.10 64-bit
poky: 1a9226f140f578f11696abf1a3c989fae1d4c14a
eclipse-juno: 26bfc407781aa185f244a47ba63120343cee4a37
eclipse-kepler: c73c6e4510c42601854f3c542ca6e14b4510380c


Users should not be able to rename a project using a new name that contains spaces. Currently, the user can rename existing projects with new names containing spaces in their name.

When trying to Reconfigure a project that has been renamed and now contains spaces in its name the following errors appear in the Eclipse console:  


Cleaning build directory: /home/ada/workspace01-23K2/Cpp Auto 20140211164904/

make distclean 
Making distclean in src
make[1]: Entering directory `/home/ada/workspace01-23K2/Cpp Auto 20140211164904/src'
 rm -f CppAuto20140211164904
test -z "*~" || rm -f *~
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[1]: Leaving directory `/home/ada/workspace01-23K2/Cpp Auto 20140211164904/src'
make[1]: Entering directory `/home/ada/workspace01-23K2/Cpp Auto 20140211164904'
test -z "*~" || rm -f *~
rm -rf .libs _libs
rm -f *.lo
test -z "" || rm -f 
test . = "." || test -z "" || rm -f 
rm -f config.h stamp-h1
rm -f libtool config.lt
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f cscope.out cscope.in.out cscope.po.out cscope.files
make[1]: Leaving directory `/home/ada/workspace01-23K2/Cpp Auto 20140211164904'
rm -f config.status config.cache config.log configure.lineno config.status.lineno
rm -f Makefile
[Operation successful]

Generating Makefile in build directory: /home/ada/workspace01-23K2/Cpp Auto 20140211164904/

Command-line environment variables:
	 CFLAGS=" -g -O0  --sysroot=/home/ada/work/2014-01-23/qemuarm" CXXFLAGS=" -g -O0  --sysroot=/home/ada/work/2014-01-23/qemuarm" LDFLAGS=" --sysroot=/home/ada/work/2014-01-23/qemuarm" CPPFLAGS=" --sysroot=/home/ada/work/2014-01-23/qemuarm"

sh -c "/home/ada/workspace01-23K2/Cpp Auto 20140211164904/configure --with-libtool-sysroot=/home/ada/work/2014-01-23/qemuarm --host=arm-poky-linux-gnueabi --build=x86_64-linux --target=arm-poky-linux-gnueabi" 
sh: /home/ada/workspace01-23K2/Cpp: No such file or directory

Configuration failed with error
Comment 1 Jessica 2014-02-20 18:57:48 UTC
How do you rename a project? It's most likely an upstream underline eclipse plug-in bug
Comment 2 Jessica 2014-02-20 21:13:34 UTC
Same as 5814, we now have a note in doc to inform people project name can't have special character
Comment 3 Scott Rifenbark 2014-03-07 19:43:31 UTC
Note has been added and a review has passed.  Marking this bug as RESOLVED.

Scott
Comment 4 Ada Solcan 2014-03-10 15:29:54 UTC
Verified.