hi ilias,

you have to add a proper manifest-file to your jar.

see http://ant.apache.org/manual/index.html

jakob

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?

.


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



Reply via email to