[Ace-users] [tao-users] Just a quick MPC question

Jules Colding colding at 42tools.com
Thu Jan 17 06:07:43 CST 2008


Hi again,

> > > I want to tell MPC that it should never accept "-type automake" when
> > > generating output files from any of my mpc files. 
> > >
> > > My top-level mwc file currently looks like this:
> > >
> > >
> > > ############################
> > > workspace(lorica) {
> > >   cmdline += -include src
> > >
> > >   src/OCI/AsynchProxyTools.mpc
> > >   src/lorica/lorica_Client.mpc
> > >   src/lorica/lorica_EvaluatorBase.mpc
> > >   src/lorica/lorica_GenericEvaluator.mpc
> > >   src/proxy/proxy.mpc
> > > }
> > > ############################
> > >
> > >
> > > So to make MPC deny making automake files, but otherwise work just like
> > > above, I could do this:
> > >
> > > ############################
> > > workspace(lorica) {
> > >   cmdline += -include src
> > >
> > >   exclude(automake) {
> > >     src/OCI/AsynchProxyTools.mpc
> > >     src/lorica/lorica_Client.mpc
> > >     src/lorica/lorica_EvaluatorBase.mpc
> > >     src/lorica/lorica_GenericEvaluator.mpc
> > >     src/proxy/proxy.mpc
> > >   }
> > > }
> > > ############################
> > >
> > > Right?
> > >   
> > 
> > That will work.  However it won't stop some one from generating with the 
> > automake type without your workspace.

OK, I've now attempted to make MPC deny making the automake target. That
doesn't work :-(

The top-level mwc file below is processed in less than one second with
MPC:

############################
workspace(lorica) {
  cmdline += -include src

  src/OCI/AsynchProxyTools.mpc
  src/lorica/lorica_Client.mpc
  src/lorica/lorica_EvaluatorBase.mpc
  src/lorica/lorica_GenericEvaluator.mpc
  src/proxy/proxy.mpc
}
############################


But this mwc file never completes:

############################
workspace(lorica) {
  cmdline += -include src

  exclude(automake) {
    src/OCI/AsynchProxyTools.mpc
    src/lorica/lorica_Client.mpc
    src/lorica/lorica_EvaluatorBase.mpc
    src/lorica/lorica_GenericEvaluator.mpc
    src/proxy/proxy.mpc
  }
}
############################

On the contrary it starts doing this:

Using .../lorica-autotools/ACE_wrappers/bin/MakeProjectCreator/config/MPC.cfg
CIAO_ROOT was used in the configuration file, but was not defined.
DDS_ROOT was used in the configuration file, but was not defined.
Generating 'gnuace' output using lorica.mwc
Skipping Log_Msg_MFC (Log_Msg_MFC.mpc), it requires mfc.
Skipping ConfigViewer (ConfigViewer.mpc), it requires wxWindows.
Skipping Misc_Test_XtReactor1 (Misc.mpc), it requires motif.
Skipping Misc_Test_XtReactor2 (Misc.mpc), it requires motif.
Skipping QOS_Diffserv_Client (QOS_Diffserv.mpc), it requires qos.


It never finish but apparently freezes after about 20 lines of the
above. 

I've most likely done something stupid, but what?

Thanks,
  jules







More information about the Ace-users mailing list