comp.lang.ada
 help / color / mirror / Atom feed
* Rational Apex imports
@ 1998-08-20  0:00 amendola9343
  1998-08-20  0:00 ` David C. Hoos, Sr.
  1998-08-20  0:00 ` Roy Grimm
  0 siblings, 2 replies; 7+ messages in thread
From: amendola9343 @ 1998-08-20  0:00 UTC (permalink / raw)




     Hello,

     I am trying to learn the Rational Ada environment. I'm having problems
with imports. I am trying to import two views from one subsystem into another,
and Rational only want's to let me import one. Is it possible to import two?

     Jamie

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rational Apex imports
  1998-08-20  0:00 Rational Apex imports amendola9343
  1998-08-20  0:00 ` David C. Hoos, Sr.
@ 1998-08-20  0:00 ` Roy Grimm
  1998-08-21  0:00   ` Gene Ouye
  1 sibling, 1 reply; 7+ messages in thread
From: Roy Grimm @ 1998-08-20  0:00 UTC (permalink / raw)


amendola9343@my-dejanews.com wrote:
> 
>      Hello,
> 
>      I am trying to learn the Rational Ada environment. I'm having problems
> with imports. I am trying to import two views from one subsystem into another,
> and Rational only want's to let me import one. Is it possible to import two?
> 
>      Jamie

Nope.  You can't do that 'cause it has the potential to cause all sorts
of naming conflicts.  

If you have separate sets of files, keep them in separate subsystems. 
Then you can import two views since they are in different subsystems.

Hope this helps.

-- 
Roy A. Grimm             |  Tel:   (319)295-8099
Rockwell Collins, Inc.   |  Fax:   (319)295-8940
Cedar Rapids, Iowa       |  email: ragrimm@collins.rockwell.com

When you think how well basic appliances work, it's
hard to believe anyone ever gets on an airplane.     --Calvin




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rational Apex imports
  1998-08-20  0:00 Rational Apex imports amendola9343
@ 1998-08-20  0:00 ` David C. Hoos, Sr.
  1998-08-21  0:00   ` Corey Ashford
  1998-08-20  0:00 ` Roy Grimm
  1 sibling, 1 reply; 7+ messages in thread
From: David C. Hoos, Sr. @ 1998-08-20  0:00 UTC (permalink / raw)



amendola9343@my-dejanews.com wrote in message
<6ri6i2$a0h$1@nnrp1.dejanews.com>...
>     I am trying to learn the Rational Ada environment. I'm having problems
>with imports. I am trying to import two views from one subsystem into
another,
>and Rational only want's to let me import one. Is it possible to import
two?


You need to do a mutial import.

David C. Hoos, Sr.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rational Apex imports
  1998-08-20  0:00 ` David C. Hoos, Sr.
@ 1998-08-21  0:00   ` Corey Ashford
  1998-08-21  0:00     ` David C. Hoos, Sr.
  0 siblings, 1 reply; 7+ messages in thread
From: Corey Ashford @ 1998-08-21  0:00 UTC (permalink / raw)



David C. Hoos, Sr. wrote in message <6ri990$3si@hacgate2.hac.com>...
>
>amendola9343@my-dejanews.com wrote in message
><6ri6i2$a0h$1@nnrp1.dejanews.com>...
>>     I am trying to learn the Rational Ada environment. I'm having problems
>>with imports. I am trying to import two views from one subsystem into
>another,
>>and Rational only want's to let me import one. Is it possible to import
>two?
>
>
>You need to do a mutial import.
>
>David C. Hoos, Sr.
>
>

No, that won't work.  Mutual imports only work if they are views of
different subsystems.

The earlier response was correct... you cannot import two views of
the same subsystem.

- Corey







^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rational Apex imports
  1998-08-21  0:00   ` Corey Ashford
@ 1998-08-21  0:00     ` David C. Hoos, Sr.
  1998-08-21  0:00       ` Chris Warwick
  0 siblings, 1 reply; 7+ messages in thread
From: David C. Hoos, Sr. @ 1998-08-21  0:00 UTC (permalink / raw)



Corey Ashford wrote in message <6rkc3r$ase$1@usenet.rational.com>...
>
<snip>
>No, that won't work.  Mutual imports only work if they are views of
>different subsystems.
>
>The earlier response was correct... you cannot import two views of
>the same subsystem.
>
You're right -- I read the post too quickly, and thought he was talking
about two subsystems.  Sorry.

David C. Hoos, Sr.







^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rational Apex imports
  1998-08-21  0:00     ` David C. Hoos, Sr.
@ 1998-08-21  0:00       ` Chris Warwick
  0 siblings, 0 replies; 7+ messages in thread
From: Chris Warwick @ 1998-08-21  0:00 UTC (permalink / raw)


Perhaps some explaination is in order... In Rationalese a subsystem is a set 
of objects, and a view is a version of those objects... If you try and import 
two views from the same subsystem, then Rational things you are trying to 
import two version of the same objects, thus it won't let you...

This seems confusing as you may have different objects in the views, but at 
some point you have to check them in, and then things get weird...

Have no fear create more subsystems...




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Rational Apex imports
  1998-08-20  0:00 ` Roy Grimm
@ 1998-08-21  0:00   ` Gene Ouye
  0 siblings, 0 replies; 7+ messages in thread
From: Gene Ouye @ 1998-08-21  0:00 UTC (permalink / raw)


amendola9343@my-dejanews.com wrote:
>      Hello,
>
>      I am trying to learn the Rational Ada environment. I'm having problems
> with imports. I am trying to import two views from one subsystem into another,
> and Rational only want's to let me import one. Is it possible to import two?
>
>      Jamie

Rational Subsystems correspond to logical "chunks" of your application. 
The subsystem views represent exactly that, ie, views into the
subsystem.  On many projects, the views represent snapshots of the
development of the subsystem (eg, older views are older versions of the
subsystem, later views are later versions).  Views are also used to
support team development, eg, each developer can have his/her own view
to use as a "play area" where changes can be made without fear of
negative impacts on the other developers.

When building your application, many subsystems may be linked together,
but only one view from each subsystem may be used.  If you think about
it, trying to link multiple views from the same subsystem into an
application is like saying you want two versions of the same source file
compiled and included in your application -- that's normally not a good
thing to do (to put it nicely :-).  You should contact your local
Rational representative or send email to me (make the obvious fix to my
email address) and we can discuss this further.

Gene Ouye <.g.e.n.e.o.@.r.a.t.i.o.n.a.l...c.o.m.>




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1998-08-21  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-20  0:00 Rational Apex imports amendola9343
1998-08-20  0:00 ` David C. Hoos, Sr.
1998-08-21  0:00   ` Corey Ashford
1998-08-21  0:00     ` David C. Hoos, Sr.
1998-08-21  0:00       ` Chris Warwick
1998-08-20  0:00 ` Roy Grimm
1998-08-21  0:00   ` Gene Ouye

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox