- This topic has 2 replies, 2 voices, and was last updated 17 years, 3 months ago by Loyal Water.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
Curt KingParticipantI’ve got a jardesc file in one of my projects and I’ve also got a saved manifest file. I’ve instructed the JAR packager to use the saved manifest when creating a JAR file, but the saved manifest isn’t being used.
Here’s my jardesc file:
<?xml version="1.0" encoding="UTF-8"?> <jardesc> <jar path="D:/Special/Desktop/DirectoryCleaner.jar" /> <options buildIfNeeded="true" compress="true" descriptionLocation="/Utilities/DirectoryCleaner.jardesc" exportErrors="true" exportWarnings="true" overwrite="false" saveDescription="true" useSourceFolders="false" /> <manifest generateManifest="false" manifestLocation="/Utilities/DirectoryCleanerManifest" manifestVersion="1.0" reuseManifest="false" saveManifest="true" usesManifest="true"> <sealing sealJar="false"> <packagesToSeal /> <packagesToUnSeal /> </sealing> </manifest> <selectedElements exportClassFiles="true" exportJavaFiles="true"> <javaElement handleIdentifier="=Utilities/<net.hctx.jp.directorycleaner" /> </selectedElements> </jardesc>
And here’s the saved manifest:
Manifest-Version: 1.0 Main-Class: net.hctx.jp.directorycleaner.DirectoryCleaner Class-Path: log4j-1.2.13.jar
And here’s the manifest file that gets included in the JAR file after it’s been created by the JAR Packager:
Manifest-Version: 1.0 Main-Class: net.hctx.jp.directorycleaner.DirectoryCleaner
Any ideas on why this might be happening?
Thanks,
Curt*** Date: Thursday, September 6, 2007 9:49:37 AM CDT ** System properties: OS=WindowsXP OS version=5.1 Java version=1.5.0_11 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 6.0.0 GA Build id: 6.0.0-GA-200708 *** Eclipse details: MyEclipse Enterprise Workbench Version: 6.0.0 GA Build id: 6.0.0-GA-200708 Eclipse Graphical Editing Framework Version: 3.3.0.v20070620 Build id: 20070620-1021 Eclipse Platform Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G Build id: I20070625-1500 Eclipse RCP Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG Build id: I20070625-1500 Eclipse Java Development Tools Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR Build id: I20070625-1500 Eclipse Plug-in Development Environment Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC Build id: I20070625-1500 Eclipse Project SDK Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO Build id: I20070625-1500 Eclipse startup command=-os win32 -ws win32 -arch x86 -showsplash -launcher C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe -name Eclipse --launcher.library C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll -startup C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar -exitdata e58_60 -vm C:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe
Curt KingParticipantNevermind…
This was a really frustrating problem. Turns out that the saved manifest didn’t have a blank line at the end.
Really, really frustrating. There should be some sort of warning, error, something…
Curt
Loyal WaterMemberThanks for letting us know ..
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)