Eclipse-Related pages:
EclipseCVSWindows EclipseCvs EclipseCVSSupport Eclipse EclipseFAQ
How do I setup Support.Eclipse with astrogrid and compile everyting?
- Create an empty Java Project.
- Go to your CVS in Support.Eclipse and right click on "astrogrid" and choose "Check Project Into" and choose your empty Java Project.
- Now at this stage look back at your Java Project and you will see everything unfortunately thousands of errors are showing everywhere.
- Right click on your Java Project and choose "Properties"
- Click on "Java Build Path" on the left side.
- Go to the "Source" tab.
- Click on "Add Folder" and start going through all the subdirectories of your Project and choose the src/java folder. ex of mine: AstroProj/astrogrid/datacenter/src/java, same for myspace, registry, jes, and all the other sub directories.
- Now click "Okay" it will ask do you do you want to make an output directory "bin" just say "Yes" on the dialogs your asked. You can change the output folder if you want to.
- Well now you have all the compiling going to your output folder instead of your local directories. But still many compile errors. Now all that is left is to point to the jar files needed.
- Go back to the "Build Path" in your "Properties" this time click on "Libraries" click on "Add JARs" (do not try to add external Jars it would be nice to have all libraries in CVS for everybody.)
- Now again go through all the various lib directories and add all the "Jar" files (In the PortalB use the jar files from the axis version you are using do not add both directories jar files.)
- Your done and you can now build your project and see everything nice and neat in your output directory under the "bin" directory in eclipse.
How do I setup my environment on just the area I am working in such as registry only?
This can be done by following the same steps as #2 just focus on registry and not all of astrogrid.
How do I stop Support.Eclipse trying to compile everything every time?
You can select "Window->Preferences" then in the tab menu select "Workbench". You will see a checkbox saying "Perform build automatically on every resource modification" uncheck this and it should help.
Eclipse saying it cannot find "javac" when I run "Ant" commands, how do I fix it?
Yep small bug sometimes with Support.Eclipse. Go to Window->Preferences and click on the "Ant->Runtime" tab on the left side index. Choose the "Classpath" tab then hit "Add Jars" button. You need to hadd your java sdk "tools.jar" file. Normally found in your $JAVA_HOME/lib directory.
Put below here other questions you would like to have answered
Topic revision: r8 - 2004-02-10 - 12:45:00 -
MartinHill