M H pisze:
> Hi,
> 
> I'm trying to compile the libtpproto-java library.
> I tried it with:
> ant -f build.xml
> Buildfile: build.xml
> 
> compile.core:
>     [javac] Compiling 21 source files to
> /home/agon/Desktop/libtpproto-java/classes/core
>     [mkdir] Created dir:
> /home/agon/Desktop/libtpproto-java/classes/core/META-INF
> 
> compile.proto-tp03:
>     [mkdir] Created dir: /home/agon/Desktop/libtpproto-java/classes/proto-tp03
>     [javac] Compiling 77 source files to
> /home/agon/Desktop/libtpproto-java/classes/proto-tp03
>     [mkdir] Created dir:
> /home/agon/Desktop/libtpproto-java/classes/proto-tp03/META-INF
> 
> compile.generator:
>     [mkdir] Created dir: /home/agon/Desktop/libtpproto-java/classes/generator
>     [javac] Compiling 23 source files to
> /home/agon/Desktop/libtpproto-java/classes/generator
>     [mkdir] Created dir:
> /home/agon/Desktop/libtpproto-java/classes/generator/META-INF
> 
> compile.all:
> 
> BUILD SUCCESSFUL
> Total time: 17 seconds
> 
> But I can't find a .jar file. Or I'm wrong that a library in java has
> the .jar ending?
> 
> Hope someone can help me.

By default the Ant script only compiles to class files. There are targets to
build jar files, too, like "jar.all" to build jars for all components. The
library files will be in "jars" directory.

If you think that default action is unintuitive, I think I should change it
:) Actually I haven't given it much thought previously, it just happened...

> I'm trying to compile it because I want to translate it into bytecode
> for a .Net / Mono library with ikvm.

That's interesting... Are there tools to do this automatically?
-- 
KS
"To an engineer, everyone looks like a chimp" - Dilbert

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to