Re: Re: Ozone 1.2 and opp
Per Nyfelt <[email protected]>
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Organization | Resourcing Networks |
| Message-ID | <[email protected]> |
Yes, You need tools.jar (part of JDK) in your classpath. The ant scripts e.g. in the samples dir that uses -ks works but maybe we need to modify the opp scripts? Regards, Per torsdagen den 6 maj 2004 21.22 skrev Aidan Slingsby: > OK, I've fixed my previous problem (my fault - problems with the > classpath). > > I have a new problem now. > If I use -ks, the source code seems to generate fine. But when it tries > to compile I get: > > Generation completed with 0 warnings and 0 errors > java.lang.NoClassDefFoundError: com/sun/tools/javac/Main > at > org.ozoneDB.tools.OPP.compiler.InternalJavaCompiler.compile(Unknown > Source) > at org.ozoneDB.tools.OPP.OPP.compileSource(Unknown Source) > at org.ozoneDB.tools.OPP.OPP.generate(Unknown Source) > at org.ozoneDB.tools.OPP.OPP.main(Unknown Source) > Exception in thread "main" > > If I use -KS, it works fine, but obviously I have to compile it myself. > > I see that someone else had this problem. The solution given was to do > this. Are there any other solutions? > > Thanks, > Aidan. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > _______________________________________________ > Ozone-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ozone-users ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3