Menu

SiteCapturer sample not compiling?

Help
bec
2005-04-08
2013-04-27
  • bec

    bec - 2005-04-08

    Hi,

    I have successfully ran the SiteCapturer batch file, and have attempted to compile the source code so i could have a play with it. It will not compile however, and complains of htmlparser.Tag method deprecations in inherited classes.. Is there a workaround for this or does the sample need updating?

    thanks,
    Bec.

     
    • Derrick Oswald

      Derrick Oswald - 2005-04-08

      It compiles OK using the ant compile target in build.xml under Java 5. However that target uses  source="1.3"  to revert back to JDK 1.3 compatibility, otherwise you get messages like:

      Note: /htmlparser/src/org/htmlparser/parserapplications/SiteCapturer.java uses or overrides a deprecated API.
      Note: Recompile with -Xlint:deprecation for details.
      Note: /htmlparser/src/org/htmlparser/parserapplications/SiteCapturer.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.

      Is that what you mean? It still generates a class file though. Deprecations don't stop it compiling.

       
    • bec

      bec - 2005-04-11

      Hi,
      Sorry, the problem was with JBuilder doing something odd...I have recompiled using a different method and it is fine.

      thanks,
      Bec.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.