I am using Eclipse 3.1 and Hibernate 3. My application is working very well. But now I want to use this application in another computer (with Windows OS). I will use Java Web Start, but firstly I need to export my application into a .jar file or into a file that lets me to use it without eclipse.
I was looking for some tutorial about how to create this package in order to be used by users in several different machines.
I tried to export my project into a jar file but I have problems with the xml files. If I export only the .java file I do not have any problem, but when I try to export the org/revenge directory (that contains the .java and hbm.xml files with the databse objetcs), the jar generation failed. Some of the errors are:
--------------
JAR creation failed. See details for additional information.
Exported with compile warnings: /investigacion/src/java/AsignarEstimulo.java
Problem writing /investigacion/bin/AsignarEstimulo.class to JAR: duplicate entry: AsignarEstimulo.class
Exported with compile warnings: /investigacion/src/java/ConsultaCategorizacionesDocentes.java
Problem writing /investigacion/bin/ConsultaCategorizacionesDocentes.class to JAR: duplicate entry: ConsultaCategorizacionesDocentes.class
Exported with compile warnings: /investigacion/src/java/ConsultaDocentes.java
Problem writing /investigacion/bin/ConsultaDocentes.class to JAR: duplicate entry: ConsultaDocentes.class
--------------------------------
And so on....
Thanks !!!
Agustina
|