Bug 68760

Summary: Add existing subprojects option not working in Automake Manager
Product: [Applications] kdevelop Reporter: Gary Cramblitt <garycramblitt>
Component: Build tools: AutomakeAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.0.0a7   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gary Cramblitt 2003-11-22 00:23:04 UTC
Version:           3.0.0a7 Using KDE 3.1.92 (CVS -> 20031019) (using KDE KDE 3.1.92)
Installed from:    Compiled From Sources
OS:          Linux

I cannot seem to get the "Add existing subprojects..." option to work in Automake Manager.  I do the following:

cvs co -l kdenonbeta
cvs co kdenonbeta/applets
cvs do kdenonbeta/doc
cd kdenonbeta
ln -s ../kde-common/admin admin
make -f Makefile.cvs

I start KDevelop (version 3.0.0a7 Using KDE 3.1.92 (CVS -> 20031019)) and import dir kdenonbeta as "KDE C++ Project (automake based)".  It automatically adds all the applets and doc subprojects except for kdenonbeta/applets/kclipspellapplet because kdenonbeta/applets/Makefile.am does not list kclipspell applet as a subdir.  This is all what I expected.  But in Automake Manager, I now right-click on applets and select "Add existing subprojects".  I drag kclipspellapplet from the top panel to the bottom panel and nothing
happens.  I try to click on kclipspellapplet and click "Add Selected" and nothing happens.  There is a Makefile.am in kclipspellapplet dir.

Next I try removing subproject kdoomload.  KDevelop warns me this cannot be undone but I click OK, leaving "delete files on disk" unchecked.  Now I can't add kdoomload as a subproject either.

Is this a known problem?  What am I doing wrong?  I searched
bugs.kde.org, kdevelop.org forums, and this mailing list, but not mentioned.
Comment 1 Gary Cramblitt 2003-11-22 01:04:43 UTC
I just found workaround.  Instead of selecting "Add existing
subprojects", select "Add subproject".  Type in name of existing
subproject/directory, KDevelop prompts "subproject already exists.  Add
existing?"  Click Yes.
Comment 2 Amilcar do Carmo Lucas 2003-11-23 14:06:20 UTC
Confirmed in HEAD.
Comment 3 Alexander Dymo 2003-11-29 19:15:27 UTC
Subject: kdevelop/buildtools/autotools

CVS commit by dymo: 

"Add existing subprojects" in Automake manager now works.
CCMAIL: 68760-done@bugs.kde.org


  M +240 -3    addexistingdirectoriesdlg.cpp   1.8
  M +4 -2      addexistingdirectoriesdlg.h   1.3
  M +5 -0      autosubprojectview.cpp   1.21