Bug 141216 - Creating new project with svn version control fails
Summary: Creating new project with svn version control fails
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: subversion (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-05 12:18 UTC by Martin Brodbeck
Modified: 2008-08-23 22:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Brodbeck 2007-02-05 12:18:22 UTC
Version:           3.4.0 (using KDE 3.5.5, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.17.13

I wanted to create a new cmake-based project with svn version control. After going through the wizard, output says "build files have been written to /home/martin/cpp/MyProject" and the project creation ends with "*** Normal beendet ***" on my german localized system, which means success. But actually nothing has been created. Neither local nor on the subversion server.

thanks a lot,
Martin
Comment 1 Andreas Pakulat 2007-02-05 12:33:46 UTC
cmake project templates are special because cmake is used to generate the kdevelop project file. You need to close and re-open the project.

Also note: Subversion integration in kdevelop is generally lacking and I suggest to do the initial import with a real svn client (as well as any svn related stuff later on)
Comment 2 Martin Brodbeck 2007-02-05 13:02:34 UTC
Thanks for the hints. But close/reopen is not possible because it really doesn't create anything. There is nothing to reopen. So I think this is a svn-plugin related problem. Creating a cmake Project without svn works.

btw, here is the output:
--- snip ---
cmake ./ -GKDevelop3
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Configuring done
-- Generating done
-- Build files have been written to: /home/martin/cpp/MyProject
*** Normal beendet ***
--- snip ---

(But, as mentioned, no build files have been written.)
Comment 3 Andreas Pakulat 2007-02-05 13:20:05 UTC
Hmm, the project is also not imported into the svn repository? IIRC importing a project should work with 3.4.0, so all thats missing is the .kdevelop file which shouldn't be in version control anyway.

As for the message: That run only creates a .kdevelop file, no Makefiles as thats what the -G option is meant to do.
Comment 4 Martin Brodbeck 2007-02-05 13:39:22 UTC
Exactly. There's nothing in the svn repository and nothing on my local disk. Not even a directory for the new project has been created.
Comment 5 stanv 2007-05-03 10:21:05 UTC
There is message on console at moment project creation:
kio (KTrader): WARNING: Parsing ' and [X-KDevelop-Version] == 4' gave syntax error

And please see bug report at Ubuntu bugzilla:
https://bugs.launchpad.net/ubuntu/+source/kdevelop3/+bug/37141
Comment 6 Andreas Pakulat 2007-05-03 10:39:13 UTC
This bug was fixed a few days ago in KDE/3.5 svn.