SourceForge
From Java CoG Kit
| User Links: | Home | Forum | New Bug | Tracker | List Bugs | Tasks | News | SVN | Code | |||
| Admin Links: | Admin | Info | Bugs | Tracker | Tasks | SVN | Stats | Members | SF Status |
New developers
You can only become a developer if you elect to work on a project. You must be familar with svn.
- obtain a source forge account
- send the complete account name to gregor@mcs.anl.gov
- Subscribe to cogkit-svn@lists.sourceforge.net - Postings of SVN checkins (You must use your svn mail account for that).
- send yor primary e-mail such a s agmail account in the same mail. Gregor wil add you to a mailinglist called team@cogkit.org. This is a HIGH volume mailinglist and for internal project discussions only.
SVN from the command line
USE svn co https://cogkit.svn.sourceforge.net/svnroot/cogkit/trunk/current cogkit
Development Repository
The development projects are typically maintained as part of the SVN repository at:
http://sourceforge.net/projects/cogkit.
Please note that our main repository is still a CVS and can be downloaded if you follow the download page after you have registered! Some smaller student exercises and other modules are staring to appear at:
http://svn.sourceforge.net/viewcvs.cgi/cogkit/trunk/examples http://svn.sourceforge.net/viewcvs.cgi/cogkit/trunk/maven
If you like to check out everything which takes quite a while you can use:
svn co https://svn.sourceforge.net/svnroot/cogkit cd cogkit/trunk/src
However we do recommend that you select just the directories you need. To assist you in this, you can browse the repository at:
http://svn.sourceforge.net/viewcvs.cgi/cogkit/trunk/
Using SVN with Eclipse
- Download and install the latest version of eclipse from www.eclipse.org
- Download and install the svn plugin for eclipse. Please follow the install instractions specified in http://subclipse.tigris.org/install.html.
The location for the plugin is http://subclipse.tigris.org/update_1.0.x"
- After you have installed eclipse with the svn plugin, you are ready to download the code from svn.
- chose import -> checkout projects from svn
- select the repository location to be https://svn.sourceforge.net/svnroot/cogkit/trunk/src/
The last command will take a while to complete and is in most cases not necessary. At this time we are working on a subranch caled maven. You can obain it by choosing
If you instead prefer to use svn from the command line you need to import the project into eclipse from the file location.
A couple of screenshots on how to import an svn directory can be found here.
Downloading and Running the SVN Repository with Eclipse and Maven -- Mac OS X
- Download and install Eclipse from eclipse.org.
- In case you have an Intel based Mac, you need for the 3.1.2 release download also the universal binary for SWT and place it in the plugins directory of eclipse. The file is called org.eclipse.swt.carbon.macosx.ppc_3.1.0.jar. Make a Google search. You will find the link when you follow to no 45 in the bugzilla fro this eclipse bug.
- Download and install Maven from maven.apache.org.
- Download and install the Subclipse plugin for Eclipse to enable subversion support (additional installation information here):
- GoTo Help -> Software Updates -> Find and Install
- Select 'Search for new features to install'
- Click 'Next'
- Click 'New Remote Site'
- Enter the name 'Subclipse' and the URL http://subclipse.tigris.org/update_1.0.x
- Click 'Ok'
- Confirm there is a check mark next to 'Subclipse' and ONLY 'Subclipse'
- Click 'Finish'
- A new screen will pop up. Place a check mark next to 'Subclipse'
- Click 'Next'
- Accept the terms of the agreement and click 'Next'
- Click 'Finish'
- The Subclipse plugin will now download. This will take some time.
- Another window, 'Feature Verification' will pop up.
- Click 'Install All'
- Click 'Yes' on the dialog asking to restart the workbench.
- Download and install the Maven 2.x plugin for Eclipse (additonal installation information here):
- Go to Help -> Software Updates -> Find and Install
- Select 'Search for new features to install'
- Click 'Next'
- Click 'New Remote Site'
- Enter the name 'Maven' and the URL http://m2eclipse.codehaus.org/
- Click 'Ok'
- Confirm there is a check mark next to 'Maven' and ONLY 'Maven'
- Click 'Finish'
- A new screen will pop up. Place a check mark next to 'Maven'
- Click 'Next'
- Accept the terms of the agreement and click 'Next'
- Click 'Finish'
- The Maven plugin will now download. This will take some time.
- Another window, 'Feature Verification' will pop up.
- Click 'Install All'
- Click 'Yes' on the dialog asking to restart the workbench.
- Configure the Maven plugin:
- Go to Eclipse -> Preferences
- Select 'Maven 2'
- Enter or browse for your local repository folder. By default this will be in /Users/YOUR_USER_NAME/.m2/repository
- Click 'Ok'
- Download the repository from sourceforge
- Go to File -> New -> Other -> SVN -> Checkout Projects from SVN
- Create new location https://svn.sourceforge.net/svnroot/cogkit/trunk/maven
- Click on it and proceed
- Select the cogkit directory
- Next
- Create a Java Project with the name "ProjectMaven"
- Remember the workspace directory because you will need the location
- Watch the download
- When the download is complete the workspace will build. This may take some time. If it is your first time running Maven this process will take even longer as some dependencies will have to be downloaded in the background, too.
Building with Maven & Starting the CoG Shell from the command line
- cd to the workspace directory (by default this is ~/workspace/ProjectMaven).
- say "make local" If you do not have makefiles installed say mvn clean compile site
- Run 'make pack' or 'mvn clean compile package'
- If this builds successfully run 'java -jar target/cogkit-1.0-SNAPSHOT.jar' to start the CoG Shell.
- Type 'about' and hit return to test the about screen.
Using SVN with Tortose SVN from Windows: For Committers
Following are some fundamental steps before anyone can even attempt to checkout the files:
- Step1: Get a sourceforge account.
- Step2: Get your Sourceforge account registered for the projects you are interested in. This can be done be contacting the respective project administrators.
NOTE: They will decide the rights (read/write) to granted for you depending on your role in the project(s).
- Step 3: Install a SVN client.
Tortoise SVN is one such simple SVN client s/w.
- After installation (assuming Windows), choose a folder which will hold the checkout files. E.g. C:\Temp.
- Right click in the folder and choose SVN Checkout (refer to Figure 1).
- Enter the path to the file/folder which has to be checked-out and hit ok.
http://wiki.cogkit.org/images/0/04/Mpiab-tortoisesvn-guru.PNG
- Figure1: SVN Check-out steps using Tortoise SVN.
NOTE: Please make sure the SVNUpdate is performed periodically to keep the local repository up-to-date with the svn server. Future checkins can be performed by using SVNCommit.
Unused Links to SF
Unused User Links: CVS Project Files Documents Screenshots
Unused links admin: Recruitment CVS DocManager Screenshots File Releases Donations Backups Publicity Registration Audit| Shell/DB/Web
