Compilation error

Neeta Chauhan <[email protected]> Tue, 21 Sep 2004 22:56:49 -0700 (PDT)
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
Hi,

When I compile sample programs through 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
Infact this error I am getting for nearly all the
sample examples. This error is while compiling the
main ozone application program. If I sepatarely
compile interface and its Impl class, it is
successfully building all class files, proxy file and
factory files (i.e. garage interface and garageImpl
are successfully compiled but when I compile GarageApp
program , above error comes).
PL.EXPLAIN and suggest how to rectify it.

regards,
Neeta






		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


-------------------------------------------------------
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