db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Waibel <arm...@apache.org>
Subject Re: can't compile ejb examples
Date Wed, 18 Feb 2004 18:19:32 GMT
Michael Mogley wrote:

> Hi Armin,
> 
> Here's what I do:
> 
> 1) ant prepare-jboss
> 2) ant all
> 3) ant jar-debug
> 4) ant ejb-examples

If I do

ant prepare-jboss jar ejb-examples

all passed without problems. Think "ant all" will be the problem. Where 
in docs do we request this target to run the ejb-examples (should be fixed)

regards,
Armin

> 
> And I get:
> 
> compile_beans:
>    [delete] Deleting directory /usr/java/jakarta/ojb/target/classesejb/bean
>     [mkdir] Created dir: /usr/java/jakarta/ojb/target/classesejb/bean
>     [mkdir] Created dir:
> /usr/java/jakarta/ojb/target/classesejb/bean/META-INF
>     [javac] Compiling 47 source files to
> /usr/java/jakarta/ojb/target/classesejb/bean
>     [javac]
> /usr/java/jakarta/ojb/target/srcejb/beans/org/apache/ojb/ejb/ODMGBaseBeanImp
> l.java:64: package org.apache.ojb.jboss does not exist
>     [javac] import org.apache.ojb.jboss.ODMGFactory;
>     [javac]                             ^
>     [javac]
> /usr/java/jakarta/ojb/target/srcejb/beans/org/apache/ojb/ejb/ODMGSessionBean
> .java:75: package org.apache.ojb.jboss does not exist
>     [javac] import org.apache.ojb.jboss.ODMGFactory;
>     [javac]                             ^
>     [javac]
> /usr/java/jakarta/ojb/target/srcejb/beans/org/apache/ojb/ejb/ODMGBaseBeanImp
> l.java:235: cannot resolve symbol
>     [javac] symbol  : class ODMGFactory
>     [javac] location: class org.apache.ojb.ejb.ODMGBaseBeanImpl
>     [javac]         ODMGFactory factory = null;
>     [javac]         ^
>     [javac]
> /usr/java/jakarta/ojb/target/srcejb/beans/org/apache/ojb/ejb/ODMGBaseBeanImp
> l.java:238: cannot resolve symbol
>     [javac] symbol  : class ODMGFactory
>     [javac] location: class org.apache.ojb.ejb.ODMGBaseBeanImpl
>     [javac]             factory = (ODMGFactory)
> context.lookup(BeanConstants.ODMG_FACTORY_LOOKUP);
>     [javac]                        ^
>     [javac]
> /usr/java/jakarta/ojb/target/srcejb/beans/org/apache/ojb/ejb/ODMGSessionBean
> .java:163: cannot resolve symbol
>     [javac] symbol  : class ODMGFactory
>     [javac] location: class org.apache.ojb.ejb.ODMGSessionBean
>     [javac]             ODMGFactory factory = (ODMGFactory)
> context.lookup(BeanConstants.ODMG_FACTORY_LOOKUP);
>     [javac]             ^
>     [javac]
> /usr/java/jakarta/ojb/target/srcejb/beans/org/apache/ojb/ejb/ODMGSessionBean
> .java:163: cannot resolve symbol
>     [javac] symbol  : class ODMGFactory
>     [javac] location: class org.apache.ojb.ejb.ODMGSessionBean
>     [javac]             ODMGFactory factory = (ODMGFactory)
> context.lookup(BeanConstants.ODMG_FACTORY_LOOKUP);
>     [javac]                                    ^
>     [javac] 6 errors
> 
> BUILD FAILED
> /usr/java/jakarta/ojb/build.xml:1292: Following error occured while
> executing this line
> /usr/java/jakarta/ojb/build-xdoclet.xml:103: Compile failed; see the
> compiler error output for details.
> 
> 
> Am I still missing a step?  Thanks for your help.
> 
> Michael
> 
> ----- Original Message ----- 
> From: "Armin Waibel" <arminw@apache.org>
> To: "OJB Developers List" <ojb-dev@db.apache.org>
> Sent: Wednesday, February 18, 2004 1:00 AM
> Subject: Re: can't compile ejb examples
> 
> 
> 
>>Hi Michael,
>>
>>I don't have problems to build the examples.
>>Did you call the 'prepare-jboss' and 'jar' one time before the
>>'ejb-examples' target?
>>
>>regards,
>>Armin
>>
>>Michael Mogley wrote:
>>
>>>I just  did a cvs update and I get a build error after doing 'ant
> 
> ejb-samples'.  I've included the latest xdoclet-1.2 jars in db-ojb/lib.  The
> stack complains:
> 
>>>org.apache.ojb.jboss package does not exist
>>>
>>>Is this is a bug in the build?
>>>
>>>MIchael
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>>For additional commands, e-mail: ojb-dev-help@db.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message