User forums > Using Code::Blocks

Script C::B

<< < (5/6) > >>

LETARTARE:
@jens
I'm sorry, but my previous tests were incomplete.
both methods :

--- Quote ---  ===> 'int ProjectBuildTarget::GetFilesCount ()' <===
  ===> 'ProjectFile * ProjectBuildTarget::GetFile (int)' <===
--- End quote ---
do not work properly.
I used a very simple project with a file 'main.cpp' and two targets
here's the result at the beginning (with my plugin script )

--- Quote ---Project : 'wxProjetVide' : 1 files, 2 targets :

Target 0 : 'wxProjetVide - Release'
   0 : 'main.cpp'

Target 1 : 'wxProjetVide - Debug'
   0 : 'main.cpp'

Total files associated to targets : 2
--- End quote ---
then I delete the 'main.cpp and add it again', the result: two 'main.cpp'!

--- Quote ---Total files associated to targets : 2
Project : 'wxProjetVide' : 1 files, 2 targets :

Target 0 : 'wxProjetVide - Release'
   0 : 'main.cpp'
   1 : 'main.cpp'

Target 1 : 'wxProjetVide - Debug'
   0 : 'main.cpp'
   1 : 'main.cpp'

Total files associated to targets : 4

--- End quote ---
it is a fantastic result. I think they do not like 'HASH'!
enough joking, I apologize for any inconvenience.

Jenna:

--- Quote from: LETARTARE on December 12, 2011, 08:08:08 am ---@jens
I'm sorry, but my previous tests were incomplete.
both methods :

--- Quote ---  ===> 'int ProjectBuildTarget::GetFilesCount ()' <===
  ===> 'ProjectFile * ProjectBuildTarget::GetFile (int)' <===
--- End quote ---
do not work properly.
I used a very simple project with a file 'main.cpp' and two targets
here's the result at the beginning (with my plugin script )


--- End quote ---
I have seen it already.

The attached patch should fix this (and similar issues).

MortenMacFly:

--- Quote from: jens on December 13, 2011, 12:03:19 am ---The attached patch should fix this (and similar issues).

--- End quote ---
I don't know what's wrong again. While the latest patches of you did work, these two show an error: "Chunk info expected". :-( I even tried to convert them to Windows line-feed etc... it doesn't help.

Did you do something different this time?

Jenna:

--- Quote from: MortenMacFly on December 13, 2011, 07:16:46 am ---
--- Quote from: jens on December 13, 2011, 12:03:19 am ---The attached patch should fix this (and similar issues).

--- End quote ---
I don't know what's wrong again. While the latest patches of you did work, these two show an error: "Chunk info expected". :-( I even tried to convert them to Windows line-feed etc... it doesn't help.

Did you do something different this time?

--- End quote ---
I just tested it with TortoiseSVN (1.7.1) on XP and it works without any errors.

LETARTARE:
with the two previous scripts plugin.
I just tested it with svn 7633 and it works without any errors.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version