BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cannot add a new project to the current project group

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OpenToolsAPI
View previous topic :: View next topic  
Author Message
Peter Thornqvist
Guest





PostPosted: Tue Dec 26, 2006 7:05 pm    Post subject: Cannot add a new project to the current project group Reply with quote



I am writing a project wizard and have one problem I don't seem able to
solve. Although I return the current project group in GetOwner for the
IOTAProjectCreator implementor, Delphi still creates a new project group for
the project. Anyone know what might be the problem?

I am using Delphi 7 Professional with all updates.

--
Regards, Peter
Back to top
Erik Berry
Guest





PostPosted: Thu Dec 28, 2006 9:12 am    Post subject: Re: Cannot add a new project to the current project group Reply with quote



Peter Thornqvist wrote:
Quote:
I am writing a project wizard and have one problem I don't seem able to
solve. Although I return the current project group in GetOwner for the
IOTAProjectCreator implementor, Delphi still creates a new project group for
the project. Anyone know what might be the problem?

It sounds like a bug. If you happen to have a more recent BDS version
you can test, that might help narrow down the problem. If it continues even
in a simple test case, I'd put it in QC, and I'll see if I can duplicate it
and be sure it gets promoted if so. You might see if it works for a saved
project group and then an unsaved project group.

In my experience, the creators are a fairly problematic part of the OTA,
so I've often recommended people modify/write the files out manually instead
of using the OTA.

Erik
Back to top
Peter Thornqvist
Guest





PostPosted: Thu Dec 28, 2006 8:53 pm    Post subject: Re: Cannot add a new project to the current project group Reply with quote



Quote:
It sounds like a bug. If you happen to have a more recent BDS version
you can test, that might help narrow down the problem. If it continues
even in a simple test case, I'd put it in QC, and I'll see if I can
duplicate it and be sure it gets promoted if so. You might see if it
works for a saved project group and then an unsaved project group.


I created the most basic repository wizard I could, but I still have the
same problem. It doesn't matter if I have a saved project group or not.

There doesn't seem to be anywhere to upload files on this newsgroup server,
otherwise you could have tried the test case on your system (it's only two
files, 1k zipped). I don't have a newer Delphi on this machine, so can't
test it here.

Quote:
In my experience, the creators are a fairly problematic part of the OTA,
so I've often recommended people modify/write the files out manually
instead of using the OTA.

Do you have an example of this in your FAQ?

--
Regards, Peter

Quote:

Erik
Back to top
Peter Thornqvist
Guest





PostPosted: Thu Dec 28, 2006 10:19 pm    Post subject: Re: Cannot add a new project to the current project group (u Reply with quote

Update:

I just discovered that the only time a project is added to the current
group, is when I return sPackage in GetCreatorType.

--
Regards, Peter
Back to top
Florent Ouchet
Guest





PostPosted: Fri Dec 29, 2006 12:54 am    Post subject: Re: Cannot add a new project to the current project group Reply with quote

Peter Thornqvist a écrit :
Quote:
There doesn't seem to be anywhere to upload files on this newsgroup server,
otherwise you could have tried the test case on your system (it's only two
files, 1k zipped). I don't have a newer Delphi on this machine, so can't
test it here.

Peter,

This group is dedicated to binaries:
news://newsgroups.borland.com:119/borland.public.attachments

--
Florent Ouchet
What I am listening http://www.pandora.com/people/outch
Back to top
Peter Thornqvist
Guest





PostPosted: Fri Dec 29, 2006 3:14 am    Post subject: Re: Cannot add a new project to the current project group Reply with quote

Quote:
This group is dedicated to binaries:
news://newsgroups.borland.com:119/borland.public.attachments

Ah! Thanks Florent, I was looking for groups with "binaries" in the name...

I've uploaded the test project to attachments. Please try it out and let me
know how it goes for you

--
Regards, Peter
Back to top
Erik Berry
Guest





PostPosted: Wed Jan 03, 2007 12:24 am    Post subject: Re: Cannot add a new project to the current project group Reply with quote

Peter Thornqvist wrote:
Quote:
I created the most basic repository wizard I could, but I still have the
same problem. It doesn't matter if I have a saved project group or not.

OK, I'd create a QC bug with your test case, and I'll promote it from there.

Quote:
Do you have an example of this in your FAQ?

No, sorry. You basically write lines to a TStringList, save the newly
created files to the HD, and then add them to the appropriate project/group
using the OTA.

Erik
Back to top
Peter Thornqvist
Guest





PostPosted: Wed Jan 03, 2007 4:17 pm    Post subject: Re: Cannot add a new project to the current project group Reply with quote

Quote:
OK, I'd create a QC bug with your test case, and I'll promote it from
there.

Thanks Erik, the QC numbers #38281


Quote:
No, sorry. You basically write lines to a TStringList, save the newly
created files to the HD, and then add them to the appropriate
project/group using the OTA.

I'll have a look into that, thanks

--
Regards, Peter
Back to top
Peter Thornqvist
Guest





PostPosted: Thu Jan 11, 2007 4:21 pm    Post subject: Re: Cannot add a new project to the current project group Reply with quote

Quote:
OK, I'd create a QC bug with your test case, and I'll promote it from
there.

Thanks Erik, the QC numbers #38281

Erik, did you have a chance to take a look at this?

--
Regards, Peter
Back to top
Erik Berry
Guest





PostPosted: Fri Jan 19, 2007 9:12 am    Post subject: Re: Cannot add a new project to the current project group Reply with quote

Peter Thornqvist wrote:
Quote:
Thanks Erik, the QC numbers #38281

I made some minor edits. Here is is now:

Report No: 38281 ( RAID: 244156 ) Status: Open
Adding a project to the existing project group fails unless the project is a
package
http://qc.borland.com/wc/qcmain.aspx?d=38281

Hope certainly isn't lost, but sadly, OTA creator bugs aren't often things
that get fixed quickly, even open ones with a test case and clear steps.

Thanks,
Erik
Back to top
Youseful Support
Guest





PostPosted: Wed Feb 14, 2007 9:12 am    Post subject: Re: Cannot add a new project to the current project group Reply with quote

Erik

Could you put in QC my issue above about AddFile??


Joe Mele

--
Youseful Software
London Number
+44 (0)20 8090 4340.
Toll Free US 1-(866)-387-1998
www.fmplugin.net
FSA Associate Member
www.youseful.com
forums.youseful.com


"Erik Berry" <eb (AT) techie (DOT) ZZZcom> wrote in message
news:45935918$1 (AT) newsgroups (DOT) borland.com...
Quote:
Peter Thornqvist wrote:
I am writing a project wizard and have one problem I don't seem able to
solve. Although I return the current project group in GetOwner for the
IOTAProjectCreator implementor, Delphi still creates a new project group
for the project. Anyone know what might be the problem?

It sounds like a bug. If you happen to have a more recent BDS version
you can test, that might help narrow down the problem. If it continues
even in a simple test case, I'd put it in QC, and I'll see if I can
duplicate it and be sure it gets promoted if so. You might see if it
works for a saved project group and then an unsaved project group.

In my experience, the creators are a fairly problematic part of the OTA,
so I've often recommended people modify/write the files out manually
instead of using the OTA.

Erik
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OpenToolsAPI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.