Well, i've resolved my problem with the mailing list and fortunatelly I
resolved the problem with ant. It was a problem with my gentoo that (and i
don't know) have installed some libraries but emerge sais it isn't. I
emerged it and the problem is gone.

Thank you all!!

2006/2/9, Xar <[EMAIL PROTECTED]>:
>
> Eeem, no one knows the answer to my question or my mails didn't arrive?
>
> 2006/2/1, Xar <[EMAIL PROTECTED]>:
> >
> > Hello.
> >
> > I am starting a project that combines both java and C code and I need it
> > to be compiled through ant (because the main aplicattion uses it).
> >
> > I readed the webpage and what's my surprise to see that only version 
> > 1.4supports jni (it's that true? higher versions doesn't support jni?)
> >
> > Well, i tried to download version 1.4 and again I was surprised when I
> > saw that its de 1.6.2 (or it promtps it when i do ant -version):
> >
> >     /usr/software/jakarta-ant-1.4/bin/ant -version
> >     Apache Ant version 1.6.2 compiled on January 3 2006
> >
> > Well, i tried to compile this file with this version and the latest one
> > and this is the result:
> >
> >     ant
> >     Buildfile: build.xml
> >
> >     compile:
> >
> >     BUILD FAILED
> >     /home/xar/Proyecto/temp/build.xml:4: Could not create task or type
> > of type: javah.
> >
> >     Ant could not find the task or a class this task relies upon.
> >
> > The build.xml couldn't be shorter:
> >
> >     <project name="BOI" default="compile" basedir=".">
> >             <target name="compile">
> >                     <javac srcdir="." destdir="." nowarn="off" />
> >                     <javah destdir="." class="HelloWorld" />
> >             </target>
> >     </project>
> >
> > This is a Hello World program to try JNI that compiled separately in
> > command line works fine.
> >
> > I apologize for my poor English.
> >
> > Thank you!
> >
>
>

Reply via email to