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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
Hi,
Sorry, the problem was with JBuilder doing something odd...I have recompiled using a different method and it is fine.
thanks,
Bec.