Skip to main content

Source code stubs

6 replies [Last post]
vividlogic
Offline
Joined: 2008-03-20

Wher do I find the source code stubs for OCAP 1.0.1?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
billf
Offline
Joined: 2004-02-13

One by one? Typically, I do something the following, assuming the source is rooted at the current working directory, and I want the classes to go to ../classes...

javac -bootclasspath ../classes -d ../classes `find . -name '*.java'`

Now, maybe you're on Windows without something like cygwin, but even there you ought to be able to just enter the following from a command promp:

javac -bootclasspath ../classes -d ../classes */*/*.java */*/*/*.java */*/*/*/*.java */*/*/*/*/*.java

four levels of directory hierarchy ought to do it :-) If this runs into a silly Windows limitation in length of the command line or something, you might be forced to write a couple of lines of ant script or something, but anyway, the real point is: use wildcards.

Cheers,

Bill

tintin1010
Offline
Joined: 2008-06-21

The stubs I found are in java source code. I want them In class byte code. otherwise i have to compile the files one by one. Please help

thanks

krishnaveni17
Offline
Joined: 2008-09-24

Hi,

the .class byte code files for OCAP1.0.1 are not available at this time.
But we can expect them in the next release.

Thanks,
krishna.

dirkse
Offline
Joined: 2003-09-09

The stubs are actually at

http://www.opencable.com/ocap/opencable_platform_downloads.html
(the link above is missing the .html)

Anne

vividlogic
Offline
Joined: 2008-03-20

Thank you. I found them

- Rajasree

pbender66
Offline
Joined: 2007-11-30

OCAP 1.0.1 stubs are located from Home Page under OpenCable Platform Downloads -- http://www.opencable.com/ocap/opencable_platform_downloads.