It's all about the answers!

Ask a question

VB6 Integration into RTC build


g k (17148) | asked May 22 '13, 7:31 a.m.
edited May 22 '13, 7:37 p.m. by Millard Ellingsworth (2.5k12431)

Hi,

Anyone had experience of integrating VB6 projects into RTC?

Looking to see if i can use msbuild and configurate the RTC VS build defenition to achieve this.

<Project DefaultTargets="Execute" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="FreeToDev.MSBuildTasks.tasks"/>
<ItemGroup>
     <ProjectsToBuild Include="C:\MyVB6Project.vbp">
          <OutDir>c:\bob</OutDir>
     </ProjectsToBuild>
     <ProjectsToBuild Include="C:\MyVB6Project2.vbp"/>
</ItemGroup>
<Target Name="Execute">
     <BuildVB6 Projects="@(ProjectsToBuild)"/>
</Target>
</Project>

Accepted answer


permanent link
Krzysztof Kaźmierczyk (7.4k369102) | answered May 24 '13, 2:29 a.m.
I have also noticed that there is Visual Studio build definition. See this link:
https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.team.concert.dotnet.build.tutorial.doc/topics/rtc_build_tut_lesson1.html&scope=null
g k selected this answer as the correct answer

2 other answers



permanent link
Krzysztof Kaźmierczyk (7.4k369102) | answered May 23 '13, 4:41 a.m.
Hello gk,
You can try configuring command line build definition for that. You will find more info on https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.build.doc%2Ftopics%2Ftcreatebuilddefinition.html

Comments
g k commented May 23 '13, 10:18 p.m.

Hi,


Not sure what you mean.

Are you saying I can use command line definition to execute msbuild script?

Thanks
 


Krzysztof Kaźmierczyk commented May 24 '13, 2:27 a.m.

Hello gk,
Yes, this is how I would do that.


permanent link
Ralph Schoon (62.7k33643) | answered May 24 '13, 2:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I think you should be able to use the ANT exec task to run any executable build and compile tool from the ANT script. Krzysztof's suggestion is also a good one, but once you need to do more automation/tasks than what is supported there you will end up having to use ANT anyway.

Your answer


Register or to post your answer.