That is strange.
In netbeans : right-click on project -> properties -> libraries . You should
have a dependancy to
"/home/olivier/applications/glassfish3.1/glassfish/lib/gf-client.jar" . If
you have it then try deleting this dependancy and add it again, if you don't
then just add it. Be sure you have no dependancy to "/dist/lib/gf-client.jar"
Maybe it is a fail from netbeans, try deleting your dist folder and restart
netbeans.
I guess the manifest file you show is the one from the produced jar file
(/dist/toto.jar) ? You can edit the "myproject/manifest.mf" file so that you
don't have to edit the jar after every build, I mean if you see something
like "/lib/gf-client.jar" replace it by
"/home/olivier/applications/glassfish3.1/glassfish/lib/gf-client.jar". (Don't
forget to make a copy of the original manifest.mf)
For the moment don't edit the build.xml file since the original one works for
me.
Fabien.
--
[Message sent by forum member 'fleroy41']
View Post: http://forums.java.net/node/796243