Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 29th, 2012  |  syntax: None  |  size: 0.47 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Executable JAR ignores its own Class-Path attribute
  2. Manifest-Version: 1.0
  3. Class-Path: jace-runtime.jar
  4. Main-Class: org.jace.examples.Test
  5.        
  6. public class Test
  7. {
  8.     public static void main(String[] args)
  9.     {
  10.         System.out.println("classpath: " + System.getProperty("java.class.path"));
  11.         System.out.println("PeerExample: " + Class.forName("org.jace.util.ShutdownHook"));
  12.     }
  13. }
  14.        
  15. <configuration>
  16.   <archive>
  17.     <index>true</index>
  18.   </archive>
  19. </configuration>