Bug 68760 - Add existing subprojects option not working in Automake Manager
Summary: Add existing subprojects option not working in Automake Manager
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Automake (show other bugs)
Version: 3.0.0a7
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-22 00:23 UTC by Gary Cramblitt
Modified: 2003-11-29 19:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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