1 |
|
//---PACKAGE DECLARATION--- |
2 |
|
|
3 |
|
//---IMPORTS--- |
4 |
< |
import core.*; |
4 |
> |
import uk.ac.ukc.iscream.core.*; |
5 |
|
import org.omg.CORBA.*; |
6 |
|
import org.omg.CosNaming.*; |
7 |
|
import org.omg.PortableServer.*; |
36 |
|
* @param args the command line arguments |
37 |
|
*/ |
38 |
|
public static void main(String[] args) { |
39 |
< |
System.out.println("I-Scream CORE:" + REVISION + ": coming up"); |
39 |
> |
System.out.println("--- I-Scream ---"); |
40 |
> |
|
41 |
> |
// can't have a real toString() :) |
42 |
> |
String toString = "CORE(" + REVISION.substring(11, REVISION.length() - 2) + ")"; |
43 |
> |
|
44 |
> |
System.out.println(toString + ": coming up"); |
45 |
> |
|
46 |
|
try { |
47 |
|
// start the ORB |
48 |
|
ORB orb = ORB.init(args, null); |
75 |
|
|
76 |
|
// start the POA off |
77 |
|
poa.the_POAManager().activate(); |
78 |
< |
|
73 |
< |
// can't have a real toString() :) |
74 |
< |
String toString = "I-Scream CORE:" + REVISION; |
78 |
> |
|
79 |
|
logRef.write(toString, "started"); |
80 |
|
|
81 |
|
// now we are running, we just need to serve |