SourceForge

From Java CoG Kit

Jump to: navigation, search
User Links: Home Forum New Bug Tracker List Bugs Mail Tasks News SVN Code
Admin Links: Admin Info Bugs Tracker Mail 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.

  1. obtain a source forge account
  2. send the complete account name to gregor@mcs.anl.gov
  3. Subscribe to cogkit-svn@lists.sourceforge.net - Postings of SVN checkins (You must use your svn mail account for that).
  4. 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

  1. Download and install the latest version of eclipse from www.eclipse.org
  2. 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"
  1. After you have installed eclipse with the svn plugin, you are ready to download the code from svn.
  2. chose import -> checkout projects from svn
  3. 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

  1. Download and install Eclipse from eclipse.org.
    1. 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.
  2. Download and install Maven from maven.apache.org.
  3. Download and install the Subclipse plugin for Eclipse to enable subversion support (additional installation information here):
    1. GoTo Help -> Software Updates -> Find and Install
    2. Select 'Search for new features to install'
    3. Click 'Next'
    4. Click 'New Remote Site'
    5. Enter the name 'Subclipse' and the URL http://subclipse.tigris.org/update_1.0.x
    6. Click 'Ok'
    7. Confirm there is a check mark next to 'Subclipse' and ONLY 'Subclipse'
    8. Click 'Finish'
    9. A new screen will pop up. Place a check mark next to 'Subclipse'
    10. Click 'Next'
    11. Accept the terms of the agreement and click 'Next'
    12. Click 'Finish'
    13. The Subclipse plugin will now download. This will take some time.
    14. Another window, 'Feature Verification' will pop up.
    15. Click 'Install All'
    16. Click 'Yes' on the dialog asking to restart the workbench.
  4. Download and install the Maven 2.x plugin for Eclipse (additonal installation information here):
    1. Go to Help -> Software Updates -> Find and Install
    2. Select 'Search for new features to install'
    3. Click 'Next'
    4. Click 'New Remote Site'
    5. Enter the name 'Maven' and the URL http://m2eclipse.codehaus.org/
    6. Click 'Ok'
    7. Confirm there is a check mark next to 'Maven' and ONLY 'Maven'
    8. Click 'Finish'
    9. A new screen will pop up. Place a check mark next to 'Maven'
    10. Click 'Next'
    11. Accept the terms of the agreement and click 'Next'
    12. Click 'Finish'
    13. The Maven plugin will now download. This will take some time.
    14. Another window, 'Feature Verification' will pop up.
    15. Click 'Install All'
    16. Click 'Yes' on the dialog asking to restart the workbench.
  5. Configure the Maven plugin:
    1. Go to Eclipse -> Preferences
    2. Select 'Maven 2'
    3. Enter or browse for your local repository folder. By default this will be in /Users/YOUR_USER_NAME/.m2/repository
    4. Click 'Ok'
  6. Download the repository from sourceforge
    1. Go to File -> New -> Other -> SVN -> Checkout Projects from SVN
    2. Create new location https://svn.sourceforge.net/svnroot/cogkit/trunk/maven
    3. Click on it and proceed
    4. Select the cogkit directory
    5. Next
    6. Create a Java Project with the name "ProjectMaven"
    7. Remember the workspace directory because you will need the location
    8. Watch the download
    9. 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

  1. cd to the workspace directory (by default this is ~/workspace/ProjectMaven).
  2. say "make local" If you do not have makefiles installed say mvn clean compile site
  3. Run 'make pack' or 'mvn clean compile package'
  4. If this builds successfully run 'java -jar target/cogkit-1.0-SNAPSHOT.jar' to start the CoG Shell.
  5. 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

Statistics

Personal tools
Collaboration and Jobs