From: joshualross at gmail.com (Joshua Ross) Date: Mon, 9 Oct 2006 11:18:01 -0400 Subject: [Pljava-dev] Deployment Descriptor Problem In-Reply-To: <4529EFCC.3020309@logix-tt.com> References: <341b9b540610061244h263a4476rd192479c475645ad@mail.gmail.com> <341b9b540610061248x222a42cg82fe7c15db14cb1b@mail.gmail.com> <4529EE42.2090207@logix-tt.com> <4529EFCC.3020309@logix-tt.com> Message-ID: <341b9b540610090818w1046f69ct664ca03d8c85dbab@mail.gmail.com> Hi Markus, Thanks for the help and suggestions! Ok, changed my mainfest to: ------------------------------------------------------------- > cat mainClass Mainifest-Version: 1.0 Name: deployment/VinDecoder.ddr SQLJDeploymentDescriptor: TRUE Main-Class: VinDecoderTest I tested this and it failed to read/execute my DeploymentDescriptor file. So I started double checking some things and I found that if I extract the manifest from the JAR it seems Java automatically puts those headers into the manifest during packaging: ------------------------------------------------------------- > jar xvf VinDecoder.jar META-INF/MANIFEST.MF inflated: META-INF/MANIFEST.MF > cat META-INF/MANIFEST.MF Manifest-Version: 1.0 Created-By: 1.5.0_07 (Sun Microsystems Inc.) Main-Class: VinDecoderTest SQLJDeploymentDescriptor: TRUE Mainifest-Version: 1.0 Name: deployment/VinDecoder.ddr What isn't very good here is that the order in which the Name and SQLJDeploymentDescriptor are listed. So I updated the manifest in the file to be like this(including blank line at the end of the file): ------------------------------------------------------------------------ Manifest-Version: 1.0 Created-By: 1.5.0_07 (Sun Microsystems Inc.) Main-Class: VinDecoderTest SQLJDeploymentDescriptor: TRUE Name: deployment/VinDecoder.ddr And then updated the manifest in the jar file: ------------------------------------------------------------------------ > jar uvmf META-INF/MANIFEST.MF VinDecoder.jar updated manifest This still failed to correctly read/execute my DeploymentDescriptor file. :( I tried several different variations on the manifest file and could not get this to work. Help!? Thanks, -Joshua- On 10/9/06, Markus Schaber wrote: > > Hi, Josh, > > Markus Schaber wrote: > > When looking at the examples.jar built with pljava, it looks like this: > > It seems that my mailer has somehow broken the linefeeds, the corrected > version is here: > > > ---- > > Manifest-Version: 1.0 > > > > Name: deployment/examples.ddr > > SQLJDeploymentDescriptor: TRUE > > ---- > > > > -- > Markus Schaber | Logical Tracking&Tracing International AG > Dipl. Inf. | Software Development GIS > > Fight against software patents in Europe! www.ffii.org > www.nosoftwarepatents.org > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: