- Get Eclipse for Java EE.
- Get Tomcat 6 binary distribution, unpack in known directory.
- Create new server in Eclipse. Choose Tomcat 6 and the directory where you've downloaded it.
- Import the project directory in Eclipse.
- Create empty "classes"-folders in any WEB-INF directory inside the project directory.
- Clean everything up, just to make sure nothing goes wrong.
- Run on server using the server you just created. Now Eclipse should run the
- Create bookmarklet "javascript:location.href='http://localhost:8080/DisRESTractor/?url='+escape(document.location.href)" and name it "DisRESTract this!" or something.
- Go to the website you want to build a web scraper service for and click on the bookmarklet we just made.
- Select resources and attributes of interest and click create service. Check Eclipse console output for irregularities. Now DisRESTractor wants to run the newly created service but fails, because it's not installed on the currently running Tomcat server.
- Go to known directory and traverse into the "bin" directory. Run startup.sh. Now use the link to the new service.
I'm a student of computer science at a german university with interest in game programming and mathematics. Also sometimes I make music.
24.6.10
Setting up and running DisRESTractor...
Subscribe to:
Post Comments (Atom)
0 Comments:
Post a Comment