![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: CG::File::InvokePostProcessor Topic Summary: Created On: 20-Jan-2006 13:23 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I'm trying to run a batch file after I have generated my code by using InvokePostProcessor. I have read all the documentation I can find, and have had some communications with customer service. I'm told it should be as easy as putting "C:\mybatfile.bat" in the CG::File::InvokePostProcessor field. I've done that, yet when I generate the code, nothing is mentioned in the output window, and the batch file is not executed. I have even started a new project, filled in the InvokePostProcessor, then created classes. Still a no-go.
|
|
![]() |
|
![]() |
|
Dustin,
Here is a pretty basic scenario that should work well: 1 - New Project 2 - Add Class A 3 - On A, Set CG::File::InvokePostProcessor to "<BatchFile> $file" (No Quotes) 4 - Generate Code This should execute your post processor. As a test, throw a couple of echos in your batch file, and you should see them printed to the output window inside Rhapsody. -Steve |
|
![]() |
|
![]() |
|
c:\MMA\tools\make_it_pretty.bat $file
The above is in the CG::file::invokepostprocessor field for a new class I created in a new project. I even put in a couple echos in the batch file, but there is no indication in the output window the file is being executed, and the text file that gets created isn't. Also attached is a screenshot. |
|
![]() |
|
![]() |
|
Looks like you are using Rhapsody in Ada.
I could only get this to work in the Rhapsody in C++ tool. I don't think the sodius code generation can invoke a post processor. |
|
![]() |
|
![]() |
|
Yeah, I guess it's not supported with Ada. We'll have to work around it.
|
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
CG::File::InvokePostProcessor
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.