Menu ▾ ▴

#20 unable to resolve

open
nobody
5
2010-11-28
2010-11-28
Roedy Green
No

I get a message unable to resolve com/mindprod/stomp/Stomp.class, but the class is there. Very similar build scripts work with other projects and similar class files. I have fiddled with this for hours. I can't see why Stomp.class is any different from any other class.

I have attacked the project.

Discussion

  • Roedy Green

    Roedy Green - 2010-11-28

    stomp project all files.

     
  • Roedy Green

    Roedy Green - 2010-12-09

    I discovered that adding the following to the ant script fixed things:
    <class>
    <fileset dir="${basedir}" >
    <!-- include all the classes in com.mindprod.stomp dir, genjar seems to have trouble otherwise -->
    <include name="${package.dir}/*.class" />
    <!-- all dependent classes will be automatically included -->
    </fileset>
    </class>

    Apparently genJar was not able to find all the class files it needed in the current directory, and complained about man rather than the class file it was having trouble with.

     

Log in to post a comment.