Inner classes not being found.

Help
2003-05-15
2003-05-25
  • Peter S. Morris

    Peter S. Morris - 2003-05-15

    Hi -

    Is there a problem with inner classes in GenJar? If I replace the '$' in the file name with something else it works.

    Peter

    BUILD FAILED
    file:J:/gage/dev/build.xml:73: Unable to resolve: null
            at org.apache.tools.ant.taskdefs.optional.genjar.GenJar.execute(GenJar.j
    ava:211)
            at org.apache.tools.ant.Task.perform(Task.java:341)
            at org.apache.tools.ant.Target.execute(Target.java:309)
            at org.apache.tools.ant.Target.performTasks(Target.java:336)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
            at org.apache.tools.ant.Main.runBuild(Main.java:609)
            at org.apache.tools.ant.Main.start(Main.java:196)
            at org.apache.tools.ant.Main.main(Main.java:235)
    Caused by: java.io.FileNotFoundException: gage/AppletLoginJDialog$SymAction.clas
    s
            at org.apache.tools.ant.taskdefs.optional.genjar.GenJar.generateClassDep
    endancies(GenJar.java:716)
            at org.apache.tools.ant.taskdefs.optional.genjar.GenJar.generateDependan
    cies(GenJar.java:691)
            at org.apache.tools.ant.taskdefs.optional.genjar.ClassSpec.resolve(Class
    Spec.java:204)
            at org.apache.tools.ant.taskdefs.optional.genjar.GenJar.execute(GenJar.j
    ava:207)
            ... 8 more
    --- Nested Exception ---
    java.io.FileNotFoundException: gage/AppletLoginJDialog$SymAction.class
            at org.apache.tools.ant.taskdefs.optional.genjar.GenJar.generateClassDep
    endancies(GenJar.java:716)
            at org.apache.tools.ant.taskdefs.optional.genjar.GenJar.generateDependan
    cies(GenJar.java:691)
            at org.apache.tools.ant.taskdefs.optional.genjar.ClassSpec.resolve(Class
    Spec.java:204)
            at org.apache.tools.ant.taskdefs.optional.genjar.GenJar.execute(GenJar.j
    ava:207)
            at org.apache.tools.ant.Task.perform(Task.java:341)
            at org.apache.tools.ant.Target.execute(Target.java:309)
            at org.apache.tools.ant.Target.performTasks(Target.java:336)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
            at org.apache.tools.ant.Main.runBuild(Main.java:609)
            at org.apache.tools.ant.Main.start(Main.java:196)
            at org.apache.tools.ant.Main.main(Main.java:235)

    Total time: 1 second

     
    • Peter S. Morris

      Peter S. Morris - 2003-05-25

      Fixed it, my classpath was incorrectly defined.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks