Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

error: NoClassFoundException build project

James
2013-04-11
2013-05-23
  • James
    James
    2013-04-11

    Hello

    I have created my first eclipse project. It builds a dir compiles classes and creates a dist.jar with a MANIFEST.MF that it writes all the info to the manifest necessary to make an executable jar file with dependencies. 

    The manifest points right to the main class yet when I call the command it will not find the Main class.  Why does this always happen? When I look into the dist.jar my project
    Wrote the manifest keyset accurately.
    The Main.class location and the Class-Path dependency  in the MANIFEST.MF are accurate in respect to the dist.jar jar -tvf.

    Please find the MANIFEST.MF output and the error below. I have added a lot of other
    Documentation the <project> creates if it is useful.
    Thanks again.

    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.8.1
    Created-By: Apache Ant version 1.8.1 compiled on April 30 2010
    Built-By: Steves
    Main-Class: build.classes.model.Main 
    Implementation-Version: 1.0-b0
    Built-Date: <tstamp />
    Class-Path: build\lib\jcalendar.jar
    
    Directory of C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ec
    lipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.ci
    summa.build.ant.first
    04/11/2013  03:16 AM    <DIR>          .
    04/11/2013  03:16 AM    <DIR>          ..
    04/07/2013  07:18 AM               864 .classpath
    04/02/2013  06:35 AM               688 .project
    04/10/2013  03:12 AM    <DIR>          bin
    04/11/2013  03:16 AM    <DIR>          build
    04/10/2013  12:47 PM            15,064 build.properties
    04/10/2013  10:43 AM             5,274 build.xml
    04/10/2013  10:23 AM             2,612 build_output.xml
    04/10/2013  12:39 PM             7,195 build_test.xml
    04/11/2013  03:16 AM    <DIR>          dist
    04/11/2013  03:16 AM    <DIR>          docs
    05/14/2011  12:20 AM            68,310 jcalendar.jar
    03/31/2013  06:59 PM           220,183 junit.jar
    04/08/2013  05:53 PM               242 MANIFEST.MF
    04/02/2013  06:35 AM    <DIR>          META-INF
    04/10/2013  03:12 AM             1,418 README.txt
    04/08/2013  05:44 AM    <DIR>          src
    04/05/2013  06:21 PM            44,599 sys.txt
    04/05/2013  06:24 PM               366 temp.txt
                  12 File(s)        366,815 bytes
                   8 Dir(s)  721,097,035,776 bytes free
    C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisu
    mma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.an
    t.first>
    
    C:\Program Files\Java\jdk1.7.0_15\bin>JAVA -jar %TARGET%\dist.jar
    Error: Could not find or load main class build.classes.model.Main.class
    C:\Program Files\Java\jdk1.7.0_15\bin>JAVA -jar %TARGET%\dist.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: build/classes/mo
    del/Main (wrong name: model/Main)
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.ja
    va:142)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java
    :482)
    C:\Program Files\Java\jdk1.7.0_15\bin>
    

    </project output>

    C:\ant\apache-ant-1.8.1\bin>ant -f %TARGET%\build.xml main 
    Buildfile: C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclip
    se\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisum
    ma.build.ant.first\build.xml
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       TEST THE DISTRIBUTION
         [echo] ================================================
         [echo]
         [echo] "
    Main targettest-classpath-jcalendarOutput from buildOutput from build
    Main targets:
     call-output-xml  JUnit test of dist.jar
     call-test-xml    JUnit test of dist.jar
     compile          compile the source
     dist             generate the distribution
    Default target: main
         [echo]
         [echo] "
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build\classes
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build\lib
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build\main
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build\META-INF
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build\test
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\dist
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\docs
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\docs\docs-test
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\docs\resources
    compile:
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       COMPILE
         [echo] ================================================
         [echo]
         [echo] "
         [echo] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
    pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
    mma.build.ant.first\src
         [echo] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
    pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
    mma.build.ant.first\build
        [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
    pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
    mma.build.ant.first\build.xml:116: warning: 'includeantruntime' was not set
    , defaulting to build.sysclasspath=last; set to false for repeatable builds
        [javac] Compiling 3 source files to C:\Users\Steves\Documents\ceyesumma
    \java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisu
    mma.build.ant.first\com.cisumma.build.ant.first\build\classes
        [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
    pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
    mma.build.ant.first\build.xml:117: warning: 'includeantruntime' was not set
    , defaulting to build.sysclasspath=last; set to false for repeatable builds
        [javac] Compiling 3 source files to C:\Users\Steves\Documents\ceyesumma
    \java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisu
    mma.build.ant.first\com.cisumma.build.ant.first\build\test
        [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
    pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
    mma.build.ant.first\build.xml:118: warning: 'includeantruntime' was not set
    , defaulting to build.sysclasspath=last; set to false for repeatable builds
        [javac] Compiling 3 source files to C:\Users\Steves\Documents\ceyesumma
    \java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisu
    mma.build.ant.first\com.cisumma.build.ant.first\build\main
    dist:
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       JAR
         [echo] ================================================
         [echo]
         [echo] "
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       DIST
         [echo] ================================================
         [echo]
         [echo] "
         [echo] "C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecl
    ipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cis
    umma.build.ant.first\dist"
         [copy] Copying 1 file to C:\Users\Steves\Documents\ceyesumma\java_cach
    e\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.
    ant.first\com.cisumma.build.ant.first\build\lib
          [jar] Building jar: C:\Users\Steves\Documents\ceyesumma\java_cache\my
    _projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.
    first\com.cisumma.build.ant.first\dist\dist.jar
    call-test-xml:
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       TEST THE DISTRIBUTION
         [echo] ================================================
         [echo]
         [echo] "
    clean-init:
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       CLEAN INIT
         [echo] ================================================
         [echo]
         [echo] "
       [delete] Deleting directory C:\Users\Steves\Documents\ceyesumma\java_cac
    he\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build
    .ant.first\com.cisumma.build.ant.first\build
       [delete] Deleting directory C:\Users\Steves\Documents\ceyesumma\java_cac
    he\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build
    .ant.first\com.cisumma.build.ant.first\dist
       [delete] Deleting directory C:\Users\Steves\Documents\ceyesumma\java_cac
    he\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build
    .ant.first\com.cisumma.build.ant.first\docs
    init:
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       BASEDIR
         [echo] ================================================
         [echo]
         [echo] "
         [echo] "C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecl
    ipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cis
    umma.build.ant.first
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       BASEDIR
         [echo] ================================================
         [echo]
         [echo] "
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       INIT
         [echo] ================================================
         [echo]
         [echo] "
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build\classes
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build\lib
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build\main
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build\META-INF
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\build\test
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\dist
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\docs
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\docs\docs-test
        [mkdir] Created dir: C:\Users\Steves\Documents\ceyesumma\java_cache\my_
    projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.f
    irst\com.cisumma.build.ant.first\docs\resources
    compile:
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       COMPILE
         [echo] ================================================
         [echo]
         [echo] "
         [echo] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
    pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
    mma.build.ant.first\src
         [echo] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
    pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
    mma.build.ant.first\build
        [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
    pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
    mma.build.ant.first\build.xml:116: warning: 'includeantruntime' was not set
    , defaulting to build.sysclasspath=last; set to false for repeatable builds
        [javac] Compiling 3 source files to C:\Users\Steves\Documents\ceyesumma
    \java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisu
    mma.build.ant.first\com.cisumma.build.ant.first\build\classes
        [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
    pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
    mma.build.ant.first\build.xml:117: warning: 'includeantruntime' was not set
    , defaulting to build.sysclasspath=last; set to false for repeatable builds
        [javac] Compiling 3 source files to C:\Users\Steves\Documents\ceyesumma
    \java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisu
    mma.build.ant.first\com.cisumma.build.ant.first\build\test
        [javac] C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecli
    pse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisu
    mma.build.ant.first\build.xml:118: warning: 'includeantruntime' was not set
    , defaulting to build.sysclasspath=last; set to false for repeatable builds
        [javac] Compiling 3 source files to C:\Users\Steves\Documents\ceyesumma
    \java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisu
    mma.build.ant.first\com.cisumma.build.ant.first\build\main
    dist:
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       JAR
         [echo] ================================================
         [echo]
         [echo] "
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       DIST
         [echo] ================================================
         [echo]
         [echo] "
         [echo] "C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\ecl
    ipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cis
    umma.build.ant.first\dist"
         [copy] Copying 1 file to C:\Users\Steves\Documents\ceyesumma\java_cach
    e\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.
    ant.first\com.cisumma.build.ant.first\build\lib
          [jar] Building jar: C:\Users\Steves\Documents\ceyesumma\java_cache\my
    _projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.
    first\com.cisumma.build.ant.first\dist\dist.jar
    test:
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       USING THE BUILD_TEST_XML
         [echo] ================================================
         [echo]
         [echo] "
    docs:
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       DOCS
         [echo] ================================================
         [echo]
         [echo] "
      [javadoc] Generating Javadoc
      [javadoc] Javadoc execution
      [javadoc] Loading source files for package model...
      [javadoc] Loading source files for package model.math...
      [javadoc] Loading source files for package model.test...
      [javadoc] Constructing Javadoc information...
      [javadoc] Standard Doclet version 1.7.0_15
      [javadoc] Building tree for all the packages and classes...
      [javadoc] Building index for all the packages and classes...
      [javadoc] Building index for all classes...
    junit.test.dist.jar:
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       TEST THE DISTRIBUTION
         [echo] ================================================
         [echo]
         [echo] "
         [echo] "
         [echo]
         [echo] ================================================
         [echo]       Uses Invoker to set up a JUnit test bridge
         [echo] ================================================
         [echo]
         [echo] "
        [junit] Running C:\Users\Steves\Documents\ceyesumma\java_cache\my_proje
    cts\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\
    com.cisumma.build.ant.first\dist
        [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
        [junit] Test C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects
    \eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com
    .cisumma.build.ant.first\dist FAILED
    main:
    BUILD SUCCESSFUL
    Total time: 42 seconds
    C:\ant\apache-ant-1.8.1\bin>
    

    </testsuite>

    <?xml version="1.0" encoding="UTF-8" ?>
    <testsuite errors="1" failures="0" hostname="Steves-PC" name="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\dist" tests="1" time="0.0" timestamp="2013-04-11T08:16:15">
      <properties>
        <property name="ant.file.type.build-test" value="file" />
        <property name="file.encoding.pkg" value="sun.io" />
        <property name="test.jar.name.ext" value="test.jar" />
        <property name="java.home" value="C:\Program Files\Java\jdk1.7.0_15\jre" />
        <property name="resourse.jcalendar.name" value="jcalendar" />
        <property name="comment.misc.block" value="
    ================================================
          MISC        
    ================================================
    " />
        <property name="manifest.main.class" value="Main" />
        <property name="main-class.name" value="Main" />
        <property name="java.endorsed.dirs" value="C:\Program Files\Java\jdk1.7.0_15\jre\lib\endorsed" />
        <property name="main-class.name.ext" value="Main.java" />
        <property name="docs.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\docs" />
        <property name="sun.os.patch.level" value="Service Pack 1" />
        <property name="java.vendor.url" value="http://java.oracle.com/" />
        <property name="build-output.name" value="build_output" />
        <property name="java.version" value="1.7.0_15" />
        <property name="comment.compile.clean" value="COMPILE CLEAN " />
        <property name="build-test.name" value="build_test" />
        <property name="build-test.name.ext" value="build_test.xml" />
        <property name="meta-inf.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build\META-INF" />
        <property name="comment.clean.init.block" value="
    ================================================
          CLEAN INIT        
    ================================================
    " />
        <property name="build-output.file.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build_output.xml" />
        <property name="build.dir.name" value="build" />
        <property name="lib.dir.name" value="lib" />
        <property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/" />
        <property name="comment.output.build.block" value="
    ================================================
          USING THE BUILD_OUTPUT_XML        
    ================================================
    " />
        <property name="ant.project.invoked-targets" value="main" />
        <property name="comment.compile.block" value="
    ================================================
          COMPILE        
    ================================================
    " />
        <property name="main.dir.name" value="main" />
        <property name="user.name" value="Steves" />
        <property name="build.number" value="0" />
        <property name="sun.io.unicode.encoding" value="UnicodeLittle" />
        <property name="build.name" value="build" />
        <property name="comment.clean.block" value="
    ================================================
          CLEAN        
    ================================================
    " />
        <property name="sun.jnu.encoding" value="Cp1252" />
        <property name="java.runtime.name" value="Java(TM) SE Runtime Environment" />
        <property name="mf.name" value="MANIFEST" />
        <property name="java.specification.name" value="Java Platform API Specification" />
        <property name="comment.jar" value="JAR " />
        <property name="user.timezone" value="" />
        <property name="user.script" value="" />
        <property name="path.separator" value=";" />
        <property name="srcdir" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\src" />
        <property name="file.encoding" value="Cp1252" />
        <property name="junit.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build\test\junit" />
        <property name="ant.project.default-target" value="main" />
        <property name="sun.java.command" value="org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\dist filtertrace=true haltOnError=false haltOnFailure=false formatter=org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter showoutput=false outputtoformatters=true logfailedtests=true logtestlistenerevents=true formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build\test\TestDistJarSuite.xml crashfile=C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\junitvmwatcher7107829043962057851.properties propsfile=C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\junit6348755761540150999.properties" />
        <property name="test.dir.name" value="test" />
        <property name="manifest.implementation.version" value="1.0-b0" />
        <property name="main.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build\main" />
        <property name="comment.compile" value="COMPILE " />
        <property name="ant.file" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build.xml" />
        <property name="dist.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\dist" />
        <property name="junit.jar.file.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\junit.jar" />
        <property name="comment.note.block" value="
    ================================================
          NOTE       
    ================================================
    " />
        <property name="resourse.jcalendar.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first" />
        <property name="java.io.tmpdir" value="C:\Users\Steves\AppData\Local\Temp\" />
        <property name="TODAY" value="&lt;tstamp /&gt;" />
        <property name="comment.junit.bridge" value="Uses Invoker to set up a JUnit test bridge " />
        <property name="user.language" value="en" />
        <property name="model.dir.name" value="model" />
        <property name="comment.test.build" value="USING THE BUILD_TEST_XML" />
        <property name="line.separator" value="
    " />
        <property name="build.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build" />
        <property name="ant.file.type" value="file" />
        <property name="comment.clean.init" value="CLEAN INIT " />
        <property name="lib.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build\lib" />
        <property name="resources.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\docs\resources" />
        <property name="comment.test.build.block" value="
    ================================================
          USING THE BUILD_TEST_XML       
    ================================================
    " />
        <property name="java.vm.info" value="mixed mode, sharing" />
        <property name="comment.all.block" value="
    ================================================
          ALL        
    ================================================
    " />
        <property name="mf.file.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build\META-INF\MANIFEST.MF" />
        <property name="sun.desktop" value="windows" />
        <property name="java.vm.specification.name" value="Java Virtual Machine Specification" />
        <property name="comment.manifest.output" value="MANIFEST OUTPUT " />
        <property name="ant.file.type.build-output" value="file" />
        <property name="comment.basedir" value="BASEDIR" />
        <property name="formatter" value="xml" />
        <property name="&lt;!--" value="Compile the java code from ${src} into ${build} --&gt;" />
        <property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob" />
        <property name="one-jar.verbose" value="true" />
        <property name="comment.main-class" value="MAIN-CLASS" />
        <property name="ant.version" value="Apache Ant version 1.8.1 compiled on April 30 2010" />
        <property name="comment.junit.bridge.block" value="
    ================================================
          Uses Invoker to set up a JUnit test bridge        
    ================================================
    " />
        <property name="ant.file.build-structure" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build.xml" />
        <property name="build-test.file.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build_test.xml" />
        <property name="junit.jar.name.ext" value="junit.jar" />
        <property name="line.separator.fill" value="========================" />
        <property name="ant.file.type.build-structure" value="file" />
        <property name="os.name" value="Windows 7" />
        <property name="java.specification.vendor" value="Oracle Corporation" />
        <property name="comment.output.tStamp" value="TIME STAMP " />
        <property name="java.vm.name" value="Java HotSpot(TM) Client VM" />
        <property name="comment.run" value="RUN " />
        <property name="java.library.path" value="C:\Program Files\Java\jdk1.7.0_15\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\MySQL\MySQL Server 5.1\bin;%JAVA_HOME%\bin;%ANT_HOME%\bin;%ANT_HOME%\lib;%MAIL_HOME%\mail.jar;%MAIL_HOME%\lib\mailapi.jar;%MAIL_HOME%\lib\pop3.jar;%MAIL_HOME%\lib\smtp.jar;%MAIL_HOME%\lib\imap.jar;%MAIL_HOME%\lib\dsn.jar;." />
        <property name="resources.dir.name" value="resources" />
        <property name="ant.java.version" value="1.6" />
        <property name="comment.run.block" value="
    ================================================
          RUN        
    ================================================
    " />
        <property name="basedir" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first" />
        <property name="java.class.version" value="51.0" />
        <property name="docs-test.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\docs\docs-test" />
        <property name="manifest.built.by" value="Steves" />
        <property name="ant.home" value="C:\ant\apache-ant-1.8.1" />
        <property name="resourse.jcalendar.file.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\jcalendar.jar" />
        <property name="mf.name.ext" value="MANIFEST.MF" />
        <property name="comment.misc" value="MISC " />
        <property name="ant.file.build-test" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build_test.xml" />
        <property name="comment.dist" value="DIST " />
        <property name="comment.clean" value="CLEAN " />
        <property name="comment.test.dist.block" value="
    ================================================
          TEST THE DISTRIBUTION        
    ================================================
    " />
        <property name="sun.boot.library.path" value="C:\Program Files\Java\jdk1.7.0_15\jre\bin" />
        <property name="view.dir.name" value="view" />
        <property name="target.dir" value="&quot;%ECLIPSE_HOME%%TARGET%&quot;" />
        <property name="sun.management.compiler" value="HotSpot Client Compiler" />
        <property name="manifest.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build\META-INF\${mf.file.name}" />
        <property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment" />
        <property name="manifest.built.date" value="&lt;tstamp /&gt;" />
        <property name="user.variant" value="" />
        <property name="view.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\src\view" />
        <property name="comment.path.container" value="== Create a classpath container ===" />
        <property name="manifest.class.path" value="${mf.classpath}" />
        <property name="build-output.name.ext" value="build_output.xml" />
        <property name="comment.output.build" value="USING THE BUILD_OUTPUT_XML " />
        <property name="comment.note" value="NOTE" />
        <property name="ant.project.name" value="build-structure" />
        <property name="main-class.file.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\src\model\Main" />
        <property name="java.vm.specification.version" value="1.7" />
        <property name="awt.toolkit" value="sun.awt.windows.WToolkit" />
        <property name="sun.cpu.isalist" value="pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86" />
        <property name="resourse.jcalendar.name.ext" value="jcalendar.jar" />
        <property name="manifest.created.by" value="Apache Ant version 1.8.1 compiled on April 30 2010" />
        <property name="java.ext.dirs" value="C:\Program Files\Java\jdk1.7.0_15\jre\lib\ext;C:\Windows\Sun\Java\lib\ext" />
        <property name="os.version" value="6.1" />
        <property name="mf.classpath" value="jcalendar.jar" />
        <property name="user.home" value="C:\Users\Steves" />
        <property name="java.vm.vendor" value="Oracle Corporation" />
        <property name="comment.dist.block" value="
    ================================================
          DIST        
    ================================================
    " />
        <property name="build.name.ext" value="build.xml" />
        <property name="docs-test.dir.name" value="docs-test" />
        <property name="test.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build\test" />
        <property name="comment.jar.clean.block" value="
    ================================================
          JAR CLEAN        
    ================================================
    " />
        <property name="user.dir" value="C:\ant\apache-ant-1.8.1\bin" />
        <property name="classes.dir.name" value="classes" />
        <property name="src.dir.name" value="src" />
        <property name="ant.file.build-output" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build_output.xml" />
        <property name="destdir" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build\classes" />
        <property name="comment.basedir.block" value="
    ================================================
          BASEDIR       
    ================================================
    " />
        <property name="comment.main-class.block" value="
    ================================================
          MAIN-CLASS       
    ================================================
    " />
        <property name="sun.cpu.endian" value="little" />
        <property name="jar.ref.main-class" value="build.classes.model.Main " />
        <property name="comment.jar.clean" value="JAR CLEAN " />
        <property name="java.vm.version" value="23.7-b01" />
        <property name="java.class.path" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\dist;C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\junit.jar;C:\ant\apache-ant-1.8.1\lib\ant-launcher.jar;C:\ant\apache-ant-1.8.1\lib\ant.jar;C:\ant\apache-ant-1.8.1\lib\ant-junit.jar" />
        <property name="src.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\src" />
        <property name="ant.library.dir" value="C:\ant\apache-ant-1.8.1\lib" />
        <property name="os.arch" value="x86" />
        <property name="manifest.dependencies.jar.list.name" value="Dependencies" />
        <property name="comment.docs" value="DOCS" />
        <property name="comment.jar.block" value="
    ================================================
          JAR        
    ================================================
    " />
        <property name="sun.java.launcher" value="SUN_STANDARD" />
        <property name="comment.docs.block" value="
    ================================================
          DOCS       
    ================================================
    " />
        <property name="ant.core.lib" value="C:\ant\apache-ant-1.8.1\lib\ant.jar" />
        <property name="java.vm.specification.vendor" value="Oracle Corporation" />
        <property name="comment.output.tStamp.block" value="
    ================================================
          TIME STAMP        
    ================================================
    " />
        <property name="comment.init.block" value="
    ================================================
          INIT        
    ================================================
    " />
        <property name="file.separator" value="\" />
        <property name="version.number" value="1.0" />
        <property name="java.runtime.version" value="1.7.0_15-b03" />
        <property name="sun.boot.class.path" value="C:\Program Files\Java\jdk1.7.0_15\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_15\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_15\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.7.0_15\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_15\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_15\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_15\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_15\jre\classes" />
        <property name="one-jar.jarname" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\dist\\${dist.dir.name.ext}" />
        <property name="junit.jar.name" value="junit" />
        <property name="comment.manifest.output.block" value="
    ================================================
          MANIFEST OUTPUT        
    ================================================
    " />
        <property name="jar.dist.name.ext" value="dist.jar" />
        <property name="comment.all" value="ALL " />
        <property name="user.country" value="US" />
        <property name="meta-inf.dir.name" value="META-INF" />
        <property name="dist.dir.name" value="dist" />
        <property name="comment.compile.clean.block" value="
    ================================================
          COMPILE CLEAN        
    ================================================
    " />
        <property name="junit.dir.name" value="junit" />
        <property name="comment.init" value="INIT " />
        <property name="java.vendor" value="Oracle Corporation" />
        <property name="model.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\src\model" />
        <property name="docs.dir.name" value="docs" />
        <property name="classes.dir.location" value="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\build\classes" />
        <property name="comment.test.dist" value="TEST THE DISTRIBUTION " />
        <property name="java.specification.version" value="1.7" />
        <property name="sun.arch.data.model" value="32" />
      </properties>
      <error message="C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\dist" type="java.lang.ClassNotFoundException">java.lang.ClassNotFoundException: C:\Users\Steves\Documents\ceyesumma\java_cache\my_projects\eclipse\com.cisumma.build.ant.first\target_com.cisumma.build.ant.first\com.cisumma.build.ant.first\dist
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:188)
    </error>
      <system-out><![CDATA[]]></system-out>
      <system-err><![CDATA[]]></system-err>
    </testsuite>