Max

Something similar.

A number of classes were ported from one Machine to a production machine by
means of a single CDL file.
When compiling the classes, Cach� would complain about not finding classes -
embedded (serial classes) only. No such complaints about persistent classes.
 I had logged it with ISC support and was awaiting reply when I ported to a
third machine, no such problems were encountered. OS and everything else was
the same. As I was busy , I asked them to close the case. Would take up the
matter later.

Try the following (if you have not already tried it).
1. Turn off compile option during import and.
2. Export/import classes by XML (the default as recommended by ISC) for
versions 5.0+. I suspect, the CDL file may  have some errors (like missing
lines, etc).
3. Turn on/off the compile dependent classes in the studio.
4. Import classes in another machine or a namespace
5. Do a command line compilation from Cach� terminal.
6. This could be a pain ( as you mentioned and tried) - you would need to
find the correct sequence of classes - generally starting with classes not
referencing another class(es), embedded classes (of course an embedded class
could be referencing some persistent classes) and so on.


Regards
--
Sukesh Hoogan
e-Linear Enterprise Solutions
Bombay, India
http//personal.vsnl.com/sukesh_hoogan (updated : June12 , 2004)



Max Sebastiani <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Has anyone experienced class dependency troubles ?
> I mean, as our project is getting bigger (we have about 320 classes at
> present) the compiler fails to find the right sequence in order to compile
> them properly, resulting in an error like "Table xxx not found " often
> trying to compile some queries. There are not errors in the classes.
> Filling the compileafter attribute correctly is becoming a nightmare for
us
> as the number of classes grows, being too complicated to do it manually.
In
> addition, queries changes often as a result of feedback from our
customers,
> adding new tables, and sometimes they get stuck.
>
> It seems that the "compile dependent classes" flag can't easily find out
the
> classes needed, especially when there's an implicit join in SQL. We asked
> support one year ago, and we got a patch, but the problem has appeared
> again.
>
>
> Is anyone using Cache' with many intricated classes ? We're a bit worried
> about this, it's a waste of time and money: at present , it takes three
days
> to find the correct sequence manually if it exists (there are many classes
> which depend each other), for a compilation which is half an hour
> long...sometimes we need to move code from one class to another one.
>
> Any hint is really appreciated.
> Max
>
>



Reply via email to