compilation error

[email protected] Wed, 22 Sep 2004 15:54:09 +0530 (IST)
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
Hi,

When I compile sample programs thru ozoneAnt (using build.xml), I get
following error :
E:\ozone-1.2\samples\test_person>ozoneAnt
Buildfile: build.xml
prepare:
classes:
proxies:
     [java] Begin OPP...
     [java]    Processing class: PersonInfo2Impl
     [java]    Begin Processing PersonInfo2Impl...
     [java]       Begin Resolving update methods...
     [java]          No ocd was found!
     [java]       End Resolving update methods
     [java]       Begin Generating factory for: PersonInfo2Impl... [java]
End Generating factory for: PersonInfo2Impl
     [java]       Begin Generating proxy for: PersonInfo2Impl...
     [java]       End Generating proxy for: PersonInfo2Impl
     [java]    End Processing PersonInfo2Impl generated in 0.37 seconds.
[java]    Generation completed with 0 warnings and 0 errors
     [java]    Processing class: OzoneTest
     [java]    Begin Processing OzoneTest...
     [java]       Begin Resolving update methods...
     [java]          No ocd was found!
     [java]       End Resolving update methods
     [java]    End Processing OzoneTest generated in 0.051 seconds. [java]
   Generation completed with 0 warnings and 0 errors
     [java] java.lang.ArrayIndexOutOfBoundsException: 0
     [java]     at
org.ozoneDB.tools.OPP.srcgen.builder.FactoryBuilder.beginClas
s(Unknown Source)
     [java]     at
org.ozoneDB.tools.OPP.srcgen.builder.CompositeBuilder.beginCl
ass(Unknown Source)
     [java]     at
org.ozoneDB.tools.OPP.srcgen.direct.ReflectionClassDirector.b
uild(Unknown Source)
     [java]     at
org.ozoneDB.tools.OPP.OPP.makeProxiesAndFactories(Unknown Sou
rce)
     [java]     at org.ozoneDB.tools.OPP.OPP.generate(Unknown Source)
[java]     at org.ozoneDB.tools.OPP.OPP.main(Unknown Source)

BUILD FAILED.
E:\ozone-1.2\samples\test_person>

Infact this error I am getting for nearly all the sample examples. PL.
EXPLAIN and how to rectify it.

regards,
Neeta




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php