Hi Pritpal, Well, I didn't mean to include this raw snippet in final code. First of all, it's not needed at all.
Now, if you want to make it absolutely complicated and use a plugin for this purpose, you should _generate_ the plugin code to a temporary file and pass that to hbmk2. Or you can put it into 'resources' dir if you don't mind being less elegant. Otherwise, after this change of yours, suddenly HBIDE needs to be distributed with its own source code, otherwise it won't work. If you look a little bit further, probably you could also easily complete the output name with CURDIR() and CURDRIVE() _inside HBIDE code_ and just use that. There is no magic done in this plugin as I told. If it doesn't work, it means you DO CHANGE the current directory, even if you don't know about it, so in this case you must explore the QT launching stuff to see how to disable it. I'm very sad you only hear the wrong solutions from my mails and I'm a little bit afraid to tell anything, since I'm not happy to help creating bad solutions. Viktor On 2010 May 25, at 21:56, [email protected] wrote: > Revision: 14589 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14589&view=rev > Author: vouchcac > Date: 2010-05-25 19:56:03 +0000 (Tue, 25 May 2010) > > Log Message: > ----------- > 2010-05-25 12:52 UTC-0800 Pritpal Bedi ([email protected]) > + contrib/hbide/idedetect.prg > + Added: -plugin= plugin to detect output target. > > * contrib/hbide/ideprojmanager.prg > + Implemented: -plugin=( hb_dirBase() + "idedetect.prg" ). > > This implementation raises the barrier what was ailing hbIDE > since long to detect the executable properly. > > Thanks Viktor, this is wonderful addition to hbMK2. > > Modified Paths: > -------------- > trunk/harbour/ChangeLog > trunk/harbour/contrib/hbide/ideprojmanager.prg > > Added Paths: > ----------- > trunk/harbour/contrib/hbide/idedetect.prg > > > This was sent by the SourceForge.net collaborative development platform, the > world's largest Open Source development site. > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
