Re: Need advice on building a project [message #33417 is a reply to message #33319] |
Thu, 19 December 2002 11:11   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
M. Katz (MKatz843@onebox.com) writes:
> Atle at RSI Tech support has given me some good advice.
> I was able to build an IDL runtime application without adding each and
> every file to the project. Amen. I included only the main procedure,
> plus all of the object definition files, because IDL can't "see" that
> it needs those at compile-time. By selecting output as .sav, IDL's
> project built procedure automatically appended a RESOLVE_ALL command
> to the end of the compile. It appears that that takes care of all of
> the obvious links to other functions and procedures automatically.
Right. This certainly works with run-time files you wish
to ship to colleagues who only work with that run-time application.
The problem I have is that the projects I work with are
collaborative efforts between people at several locations
(even across the world). To be sure what I see on my machine
is what they see on their machine, we have to be careful
about source code, too. Thus, it is important to me that
each project file be in a particular location in the
"project" directory structure.
This is quite easy to get out of whack, especially if you
have a number of "releases", and results in all kinds of
head scratching and muttering until I realize what is going
on. :-(
> Allow me to second Pavel's question about the importance of
> build-order that you mentioned.
Build order is almost never a problem in files I write.
After a long career writing IDL programs I sorta, mostly,
know what I'm doing. The problem, really, is with all
the legacy code we sometimes have to deal with. A lot of
that code is not... well, very well written. (Probably the
reason they have hired us in the first place, to be honest.)
Sometimes we just re-write the darn things the way they
should be written, but sometimes we have to live with what
we have. The result is a lot of trouble sometimes. :-)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|