Home > Archive > EAserver > March 2006 > EAS 5.3 Stub Generation Question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author EAS 5.3 Stub Generation Question
Marty Jones

2006-03-16, 9:31 am

I am using Jaguar Manager to generate stubs for a package and noticed that
even though I tell the stubs wizard that the code base is
C:\Sybase5. 3\EAServer\java\clas
ses it also generates the stub java files and
classes in the C:\Sybase5. 3\EAServer\html\clas
ses folder.

Is there a reason for this? We are migrating from 4.2 and this issue is not
in 4.2.

Just wondering,

Marty


Jim Egan

2006-03-16, 8:25 pm

marty_jones@dailyacc
ess.com wrote...
> I am using Jaguar Manager to generate stubs for a package and noticed that
> even though I tell the stubs wizard that the code base is
> C:\Sybase5. 3\EAServer\java\clas
ses it also generates the stub java files and
> classes in the C:\Sybase5. 3\EAServer\html\clas
ses folder.
>
> Is there a reason for this? We are migrating from 4.2 and this issue is not
> in 4.2.


I think what you are seeing in html\classes are the skeletons. Are you sure you aren't
generating the skeletons also by mistake?
--
Jim Egan [TeamSybase]
Sybase product enhancement requests:
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
Marty Jones

2006-03-17, 7:25 am

Jim,

They are not skeletons, They are the stubs. I see the _st_ files as well
as the helper and operation classes. By default stubs are generated to the
html/classes folder. For some reason Jaguar Manager will generate stubs to
the base folder that you tell it to and also generate them in the
html/classes as well. Give it a try and you will see. :)

"Jim Egan" < eganjp_nospam@compus
erve.com> wrote in message
news:4419d37d$1@foru
ms-2-dub...
> marty_jones@dailyacc
ess.com wrote...
>
> I think what you are seeing in html\classes are the skeletons. Are you
> sure you aren't
> generating the skeletons also by mistake?
> --
> Jim Egan [TeamSybase]
> Sybase product enhancement requests:
> http://www.isug.com/cgi-bin/ISUG2/submit_enhancement



Jim Egan

2006-03-17, 11:24 am

marty_jones@dailyacc
ess.com wrote...
> They are not skeletons, They are the stubs. I see the _st_ files as well
> as the helper and operation classes. By default stubs are generated to the
> html/classes folder. For some reason Jaguar Manager will generate stubs to
> the base folder that you tell it to and also generate them in the
> html/classes as well. Give it a try and you will see. :)
>


Yes, I had my directories backwards. Stubs go in html\classes.

I have had a problem for a while now with old skeletons (or something) hanging around. I
have been very careful with looking at my java\classes and html\classes directories before
and after generating just the stubs. We still have a production problem where we have no
choice but to generate the skeletons in addition to the stubs. But that may be a different
topic for discussion.

I went through this exercise again now:
1. Clear out all files from html/classes/packagename
2. Clear out all files from java/classes/packagename
3. Generate just the stubs for a component.

What I am seeing is the stubs are generated to html\classes as I would expect them to. Why
are you trying to put the stubs in java\classes? It does sound odd that EAServer would do
what you tell it to and then also put the stubs in the directory that it normally does.
--
Jim Egan [TeamSybase]
Sybase product enhancement requests:
http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com