[cosmic-users] idl_to_picml issue

Jeff Parsons j.parsons at vanderbilt.edu
Wed Apr 18 21:34:51 CDT 2007


Hi,

That's right, for that context I don't think you really need
the file includes. I included them in the model only because
I wasn't sure the IDL generator model interpreter would be able
to easily pick up all the file dependencies by traversing the 
model. If we ever got to the point where we were sure that
feature is robust, I suppose the FileRefs could be removed
from the metamodel.

Jeff 

> -----Original Message-----
> From: Sowayan, Abdullah (N-DUA) [mailto:abdullah.sowayan at lmco.com] 
> Sent: Wednesday, April 18, 2007 6:11 PM
> To: Jeff Parsons; Will_Otte
> Cc: cosmic-users at list.isis.vanderbilt.edu
> Subject: RE: [cosmic-users] idl_to_picml issue
> 
> Jeff,
> 
> Thanks for looking into this. This is very low priority for us, since
> we're not using CoSMIC at the moment. I was hoping that got fixed so I
> can remove the clunky workaround from the CIAO tutorial.
> $CIAO_ROOT\docs\tutorials\Quoter\Simple\03.html
> 
> 
> I found out that if you include the directory explicitly like this:
> idl_to_picml -x MyQuoter -r . -I .\Stock_Base
> 
> Then the FileRef gets generated for StockBroker. So right now, for
> things to work correctly, a user would have to include every directory
> that has IDL via -I option. This gets tedious if you have many
> directories.
> 
> I have a question about this though, are there any 
> consequences for not
> having that FileRef? If all I'm trying to do is generate the XML
> descriptors to use DAnCE, which is what the tutorial is about, then I
> think I should be fine, right? That way I wouldn't have to include the
> work around in the tutorial.
> 
> Thanks,
> Abdul
> 
> -----Original Message-----
> From: Jeff Parsons [mailto:j.parsons at vanderbilt.edu] 
> Sent: Wednesday, April 18, 2007 6:59 PM
> To: Sowayan, Abdullah (N-DUA); Will_Otte
> Cc: cosmic-users at list.isis.vanderbilt.edu
> Subject: RE: [cosmic-users] idl_to_picml issue
> 
> Hi,
> 
> In my workspace, I'm not getting any FileRef generated for
> File Broker. For some reason, when processing that file,
> I see that idl_to_picml hasn't stored any included filenames.
> I'll keep working on it tomorrow.
> 
> Jeff 
> 
> > -----Original Message-----
> > From: cosmic-users-bounces at list.isis.vanderbilt.edu 
> > [mailto:cosmic-users-bounces at list.isis.vanderbilt.edu] On 
> > Behalf Of Sowayan, Abdullah (N-DUA)
> > Sent: Wednesday, April 18, 2007 5:02 PM
> > To: Will_Otte
> > Cc: cosmic-users at list.isis.vanderbilt.edu
> > Subject: RE: [cosmic-users] idl_to_picml issue
> > 
> > 
> > Will,
> > 
> > How can I file a bug report? There is no bugzilla for CoSMIC. Should
> > CoSMIC related bugs be filed under CIAO?
> > 
> > Thanks,
> > Abdul
> > 
> > -----Original Message-----
> > From: William Otte [mailto:wotte at dre.vanderbilt.edu] 
> > Sent: Wednesday, April 18, 2007 5:41 PM
> > To: Sowayan, Abdullah (N-DUA)
> > Cc: cosmic-users at list.isis.vanderbilt.edu
> > Subject: Re: [cosmic-users] idl_to_picml issue
> > 
> > Hi Abdul -
> > 
> > Could you please file a bug report and assign it to Jeff Parsons?
> > 
> > Thanks,
> > /-Will
> > 
> > On Apr 18, 2007, at 4:33 PM, Sowayan, Abdullah (N-DUA) wrote:
> > 
> > > CoSMIC VERSION: 0.5.7
> > >
> > > (By the way, the PRF form still says CoSMIC VERSION: 0.4.5, 
> > this might
> > > need to be updated).
> > >
> > > I'm in the process of updating the tutorial to CoSMIC 0.5.7
> > > $CIAO_ROOT/docs/tutorial/Quoter/Simple
> > >
> > > I had reported this issue a while back for CosMIC 0.4.8 I 
> think. The
> > > problem still exists under 0.5.7.
> > >
> > > I'm working off the example in the CIAO distribution
> > > $CIAO_ROOT/docs/tutorial/Quoter/Simple
> > >
> > > In that example, there are three IDL files, Distributor.idl,  
> > > Broker.idl,
> > > and Stock_Base.idl
> > >
> > > Both Distributor.idl and Broker.idl include Stock_Base.idl
> > >
> > > When we run idl_to_picml:
> > > idl_to_picml -x MyQuoter -r .
> > >
> > > it generates the CosMIC project. If we look into the  
> > > InterfaceDefinitons
> > > folder in GME, the Distributor file has a FileRef to StockBase.  
> > > However,
> > > Broker does not have a FileRef to StockBase (but the IDL 
> > does include
> > > Stock_Base.idl).
> > >
> > > Thanks,
> > > Abdul
> > > _______________________________________________
> > > cosmic-users mailing list
> > > cosmic-users at list.isis.vanderbilt.edu
> > > http://list.isis.vanderbilt.edu/mailman/listinfo/cosmic-users
> > 
> > _______________________________________________
> > cosmic-users mailing list
> > cosmic-users at list.isis.vanderbilt.edu
> > http://list.isis.vanderbilt.edu/mailman/listinfo/cosmic-users
> > 
> 


More information about the cosmic-users mailing list