My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 3: XMLvalidator can't be startet by running jar file
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  julemand101
Closed:  Mar 2011
Cc:  swlass...@gmail.com


 
Project Member Reported by julemand101, Mar 9, 2011
What steps will reproduce the problem?
1. Download version 1.0 of sw6.xmlvalidator.zip from the download section.
2. Unpack the zip archive.
3. Double click on sw6.xmlvalidator.jar.
4. A error window comes with "Could not find the main class: Main. Program will exit."

What is the expected output? What do you see instead?
I expected the program start as it does when I running "sw6.xmlvalidator.exe".

I found the reason for this bug by looking in the manifest file in the jar archive (sw6.xmlvalidator.jar\META-INF\MANIFEST.MF) and found:

Manifest-Version: 1.0
Created-By: Fat Jar Eclipse Plug-In
Main-Class: Main

The Main class is not "Main" but should be "sw6.xmlvalidator.Main".
Mar 9, 2011
Project Member #1 swlass...@gmail.com
Thanks for the bug report and the detailed walk through. I successfully reproduced the problem, and fixed my fat jar settings to build the correct jar file. A new build has been uploaded to the download section, and the source code is corrected.
Status: Fixed

Powered by Google Project Hosting