Generating jar 2006-01-07 - By Dirceu Semighini Filho
Back Hi Jeroen, thanks for aswering this: I was mapping them wrongly. In the hibernate config file I put this:
<mapping resource="./hibernate/materiais/idCarimbo.hbm.xml"/>
Excluding the ./ of the begining it works fine.
Now my problem is that I have too many jars on my Class-Path declaration of manifest file. If I put all of than in the class-path declaration, eclipse give me an error that the line is too long. If I divide it with an enter, then there is another error sayng that the header is invalid. If I put two class-path declaration, it reads only the second one.
I solve it, moving some of the jars from my lib directory to the root directory (this made the line shorter) but I would like to put all of my jar inside the lib directory.
Thanks Dirceu Semighini Filho
Jeroen Wenting escreveu:
>If they're on the classpath I don't see why it shouldn't be possible. >How are you designating them to Hibernate and where are they placed in the >jar? > > > >>-- --Original Message-- -- >>From: A mailing list for Java(tm) 2 Platform, Enterprise Edition >>[mailto:J2EE-INTEREST@(protected)]On Behalf Of Dirceu Semighini Filho >>Sent: 30 December 2005 22:32 >>To: J2EE-INTEREST@(protected) >>Subject: Generating jar >> >> >>Hi everyone. >>I am having problems to create a JAR file which can read the hibernate >>mapping files inside it. >>Is it possible? >> >>Thanks >>Dirceu Semighini Filho >> >>============================================================== >>============= >>To unsubscribe, send email to listserv@(protected) and >>include in the body >>of the message "signoff J2EE-INTEREST". For general help, >>send email to >>listserv@(protected) and include in the body of the message "help". >> >> > >=========================================================================== >To unsubscribe, send email to listserv@(protected) and include in the body >of the message "signoff J2EE-INTEREST". For general help, send email to >listserv@(protected) and include in the body of the message "help". > > >
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|