Jakob Braeuchi wrote:
[move down]

Ilias Lazaridis schrieb:
Ilias Lazaridis wrote:
[...]

An ant target "jar" is available. Within Netbeans 4.0, i've started this.

Try to execute the produced jar:

J:\pj\ojbeval\ojb-blank\target>java -jar my-project.jar
Failed to load Main-Class manifest attribute from
my-project.jar

[...]

Can one tell me the necessary modifications for the build.xml to make the produced jar file start correctly?

> hi ilias,
>
> you have to add a proper manifest-file to your jar.
>
> see http://ant.apache.org/manual/index.html
>
> jakob

Thank you for the link.

The current ojb-tutorials should be corrected, to produce a launchable jar-file.

.

--
http://lazaridis.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to