Re: Re: compiling error

"Shash Chatterjee" <[email protected]>
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
Stefan,

> it fails at the same place. where can i get a clean copy of the 
> keel-core-jar?
I'm stumped.  I don't have Keel-2.0 installed to generate one.  Can you try
doing this on a new machine?  What has perplexed me even more is that app-hoj
causes this problem?  Maybe you can try again, without Eclipse, with a clean
unjar from the keel-distribution and report back the exact steps you took. 
Build with the default-deploy.properties first.  If that succeeds, then unjar
app-hoj somewhere completely different from this keel tree.  Manually create
the directory structure for app-hoj (the PDF shows how to), and then just
populate the .java files from the app-hoj distribution. 

> and is it normal that in keel-core/lib 10 jars are but no keel-core-
> jar? i ask because under keel-core/build/lib are the same 10 jars 
> AND a keel-core-jar...
keel-core.jar is generated from src/java in the keel-core module. 
keel-core/build/lib/*.jar, except keel-core-2.0.jar, are copied from
keel-core/lib.  What happens is, the build.xml in each module copies out JARs
to either build/lib or build/clientlib.  Later in the buil-process all the
build/lib JARs are collected and packaged for the server-side, and all the
build/clientlib JARs are collected for WEB-INF/lib. 

Shash

> 
> Shash Chatterjee wrote:
> > Stefan,
> > 
> > 
> >>hi keel-users
> >>
> >>i've got a compiling error (below) - as soon as i try to integrate 
> >>the helloworld-application from the hands-on-tutorial. if i assemble-
> >>deploy without it, everything runs fine... can anybody help me?
> >>
> > 
> > 
> > cd to keel-build, and do an "ant clean" first.  if it fails delete
> > keel-build/../*/build (i.e. everywhere there is a "build" dir).  
> > Then run "ant assemble-deploy" and see how far you get.  Looks like the
> > keel-core JAR is corrupted, according to the error message.
> 
> >>thanks and greetings
> >>stefan
> >>
> >>----------------------------
> >>
> >>build:
> >>      [echo] Compiling keel-server ...
> >>     [javac] Compiling 75 source files to 
> >>D:\java\Keel\keel-server\build\classes
> >>     [javac] 
> >>D:\java\Keel\keel-server\src\java\org\keel\clients\AbstractClientCon
> >>nector.java:20: cannot access org.keel.services.model.KeelRequest
> >>     [javac] bad class file: 
> >>D:\java\Keel\keel-core\build\lib\keel-core-2.0.jar(o
> >>rg/keel/services/model/KeelRequest.class)
> >>     [javac] class file contains wrong class: 
> >>keel-core.src.java.org.keel.service
> >>s.model.KeelRequest
> >>     [javac] Please remove or make sure it appears in the correct 
> >>subdirectory of
> >>  the classpath.
> >>     [javac] import org.keel.services.model.KeelRequest;
> >>     [javac]                                ^
> >>     [javac] 1 error
> >>
> >>BUILD FAILED
> >>file:D:/java/Keel/keel-build/build-common.xml:145: Compile failed; 
> >>see the compi ler error output for details.
> 
> _______________________________________________
> User mailing list
> [email protected]
> http://lists.keelframework.org/listinfo.cgi/user-keelframework.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.