Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Ok here's what I did to succesfully import the sources found in the "accesss" folder of you code samples:</p> <ol> <li>Download the javassist jar as per Bruce's instructions, from here:</li> </ol> <p><a href="http://repo2.maven.org/maven2/javassist/javassist/3.9.0.GA/javassist-3.9.0.GA.jar">http://repo2.maven.org/maven2/javassist/javassist/3.9.0.GA/javassist-3.9.0.GA.jar</a></p> <ol> <li><p>You must create an Eclipse project for the sources that are used as dependencies for most of the examples, that's the sources in the "net" folder:</p> <ul> <li>in eclipse make new java project.</li> <li>select the "net" directory, copy it, then in eclipse select the "src" entry in the project you just made, right click on it and select paste. </li> <li>after eclipse finishes and auto-builds, it will complain about the missing javaassist jar. Right click on the project ->properties->java build path (on the left)->libraries (on the top)-> add external jars... (on the right), browse and select the javassist jar from where you down load it.</li> <li>now the "net" project should be ok in eclipse</li> </ul></li> <li><p>Now let's create the project for the sources in the "access" folder:</p> <ul> <li>create a new java project in eclipse</li> <li>Now, because Bruce structured his classes like crap, we'll have to make the proper structure in eclipse for them. This means: a.create a new package called "access"</li> <li>go to where your the access folder is on your drive, open it, select ONLY the folders (cookie2, desser, mypackage), copy them, then return to eclipse, right click on the "access" package u just made and click paste</li> <li>now go back to the access dir on your drive, select ONLY the .java files (all of them, not the dirs), copy them, the back to eclipse, click on the src entry in the access project and click paste.</li> </ul></li> <li><p>The access project in elcipse will still complain about missing classes form the "net" resouce. Right click on the project in eclipse->properties->java build path->projects (on the top)-> add(on the right)-> check the net project you created earlier-> click ok twice.</p></li> </ol> <p>Now it should be ok</p> <p>I hope you got the idea on how dependencies work in eclipse with this example.</p> <p>For the other parts of you code samples, create separate java projects, add the classes to the proper package (create the packages if Bruce forgot to), and if you are missing external jars, go to <a href="http://search.maven.org">http://search.maven.org</a> search and download the jars. Good luck</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload