<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5814</bug_id>
          
          <creation_ts>2014-02-12 14:26:56 +0000</creation_ts>
          <short_desc>User should not be able cu select a name containing spaces when copying a project</short_desc>
          <delta_ts>2014-03-10 15:29:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>07 March 2014 - RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ada Solcan">ada-mihaela.solcan</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>ioanax.grigoropol</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>srifenbark</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>40304</commentid>
    <comment_count>0</comment_count>
    <who name="Ada Solcan">ada-mihaela.solcan</who>
    <bug_when>2014-02-12 14:26:56 +0000</bug_when>
    <thetext>Host: Fedora 20 64-bit &amp; Ubuntu 13.10 64-bit
poky: 1a9226f140f578f11696abf1a3c989fae1d4c14a
eclipse-juno: 26bfc407781aa185f244a47ba63120343cee4a37
eclipse-kepler: c73c6e4510c42601854f3c542ca6e14b4510380c

STEPS TO REPRODUCE:
1. Create a project (without spaces in its name)
2. In the Project Explorer right click the name of the project and select Copy
3. In the Project Explorer right click and select Paste
4. In the pop-up window that is displayed click the OK button, without modifying the default project name [Copy of ProjectName] which contains spaces
   Also, if you copy and paste the same project multiple times the default name of the copy will also contain characters like ( and ) [Copy (2) of ProjectName]
5. In the Project Explorer right click the name of the new project and select Reconfigure and the following errors are displayed in the Eclipse console:

Cleaning build directory: /home/ada/workspace01-23K2/Copy of CppAuto20140211152612/

make distclean 
Making distclean in src
make[1]: Entering directory `/home/ada/workspace01-23K2/Copy of CppAuto20140211152612/src&apos;
 rm -f CppAuto20140211152612
test -z &quot;*~&quot; || rm -f *~
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z &quot;&quot; || rm -f 
test . = &quot;.&quot; || test -z &quot;&quot; || 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/Copy of CppAuto20140211152612/src&apos;
make[1]: Entering directory `/home/ada/workspace01-23K2/Copy of CppAuto20140211152612&apos;
test -z &quot;*~&quot; || rm -f *~
rm -rf .libs _libs
rm -f *.lo
test -z &quot;&quot; || rm -f 
test . = &quot;.&quot; || test -z &quot;&quot; || 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/Copy of CppAuto20140211152612&apos;
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/Copy of CppAuto20140211152612/

Command-line environment variables:
	 CFLAGS=&quot; -g -O0  --sysroot=/home/ada/work/2014-01-23/adt-installer/test-yocto/qemux86&quot; CXXFLAGS=&quot; -g -O0  --sysroot=/home/ada/work/2014-01-23/adt-installer/test-yocto/qemux86&quot; LDFLAGS=&quot; --sysroot=/home/ada/work/2014-01-23/adt-installer/test-yocto/qemux86&quot; CPPFLAGS=&quot; --sysroot=/home/ada/work/2014-01-23/adt-installer/test-yocto/qemux86&quot;

sh -c &quot;/home/ada/workspace01-23K2/Copy of CppAuto20140211152612/configure --with-libtool-sysroot=/home/ada/work/2014-01-23/adt-installer/test-yocto/qemux86 --host=i586-poky-linux --build=x86_64-linux --target=i586-poky-linux&quot; 
sh: /home/ada/workspace01-23K2/Copy: No such file or directory

Configuration failed with error</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40533</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2014-02-20 19:01:36 +0000</bug_when>
    <thetext>This is an upstream bug of eclipse project.

Scott,

Can you add a note in our documentation mentioning that for project name don&apos;t use special characters, e.g. space, underbar, etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40536</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-02-20 19:24:54 +0000</bug_when>
    <thetext>Hi, 

I have added a brief note to the section in the development manual that steps the user through a project using Eclipse.  You can see the note at http://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#creating-the-project.

Please review and let me know if it is okay.

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40544</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2014-02-20 21:09:28 +0000</bug_when>
    <thetext>Looks good.  Thx.  - Jessica</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40984</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-03-07 19:39:36 +0000</bug_when>
    <thetext>Setting this to RESOLVED and marking the Documentation change field to &quot;Done&quot;.  Review is complete.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41038</commentid>
    <comment_count>5</comment_count>
    <who name="Ada Solcan">ada-mihaela.solcan</who>
    <bug_when>2014-03-10 15:29:25 +0000</bug_when>
    <thetext>Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>