Svn is pre-installed on leopard, and should already be on your path. The steps that follow setup a repository and test it using Netbeans.
We need to create our repository (local) first,
17864397:dist anujseth$ svnadmin create ~/Desktop/research/SVNRep
17864397:dist anujseth$ ls ~/Desktop/research/SVNRep/
README.txt conf dav db format hooks locks
The above creates our repository named SVNRep in the research folder on the users desktop. We then import our project(s) into this repository.
17864397:dist anujseth$ svn import /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS file:///Users/anujseth/Desktop/research/SVNRep/DFS -m "Initial Import"Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/simulator
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/simulator/ForwardBoundPeerFactory.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/simulator/BackwardBoundPeer.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/simulator/PeerFactory.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/simulator/RandomBoundPeer.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/simulator/ForwardBoundPeer.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/simulator/OverlayGenerator.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/simulator/LookupSimulator.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/simulator/BackwardBoundPeerFactory.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/simulator/Peer.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/simulator/RandomBoundPeerFactory.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/logging
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/logging/FileLogger.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/logging/Logger.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/logging/CentralizedGatherer.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/logging/CentralizedGathererTest.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/logging/StatisticsGatherer.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/logging/LoggerException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/DataGenerator.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/Experiment.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/BenchmarkGenerator.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/proc
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/proc/VisitConsolidator.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/proc/Consolidator.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/SingleSetupExperiment.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/SkewedBenchmarkGenerator.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/CommandGenerator.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/ExperimentalShell.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/BenchmarkException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/benchmark/CommandParser.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/ByteRepresentable.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/HashUtilities.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/RoutingTable.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/Convert.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/netgen
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/netgen/NetworkGenerator.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/AbstractNetObject.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/FileTypeException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/DummyDBClient.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/DBPeerClientTest.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/LocalDB.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/DBPeerTest.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/DBPeer.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/Deletion.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/LinkedPage.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/DBException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/LayoutManager.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/Lookup.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/Insertion.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/Catalog.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/.old
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/RelationDescriptor.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/Layout.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/PageAccessException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/Command.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/Record.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/FileType.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/Scan.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/LocalDBServer.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/Key.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/Payload.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DBTreePage.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DBTreeCursor.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DLogicalIDKey.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DExtHashSlottedPage.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DBTree.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/OutOfRoomException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/NullCursor.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DExtHashFile.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DBPlusTree.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/Page.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DArrayFileLayout.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DCursor.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DArrayFile.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DHashSlottedPage.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DFile.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DHashFileRelationDescriptor.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/OutOfBoundsException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DDynamicHashFileRelationDescriptor.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/RequestDispatcher.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DCursorException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DFileException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/LinkedPage.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DExtHashFileRelationDescriptor.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DBPlusTreeRelationDescriptor.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DLinearCursor.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DSlottedPage.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DArrayFileRelationDescriptor.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DSlottedFile.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/NullPayload.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DHashFile.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/dio/DDynamicHashFile.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/DBNode.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/db/LayoutException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/InsufficientIDsException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/Node.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/LogicalID.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/fs
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/fs/NetObjectCache.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/fs/CacheException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/fs/NetObjectManagerException.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/fs/NetObjectManager.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/fs/FileUtilities.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/PhysicalID.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/NOTest.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/framework/NetObject.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/util
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/util/ShutDownThread.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/util/Triplet.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/util/Pair.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/src/peer/util/Args.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/p2p/build.xml
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/toAsk.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/toDo.java
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/scripts
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/scripts/cleanup.sh
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/scripts/gensetups.sh
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/scripts/servers.txt
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/scripts/clsetup.sh
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/scripts/cleanupall.sh
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/scripts/killall.sh
Adding /Users/anujseth/Desktop/coursework/MScDiss/QueryDFS/scripts/go.sh
Committed revision 1.
17864397:dist anujseth$
The "Initial Import" string adds meta information to your action, and can be anything.
You can similarly use command line options to manage your code (checkout etc.) , we're just going to switch to Netbeans directly. All you need to do is go to Versioning -> Subversion, and add the path to your repository and follow the simple GUI instructions, ours in this case is
file:///Users/anujseth/Desktop/research/SVNRep
.Infact if you want you can just do step one (create your repository) and directly import your projects from netbeans itself, simply right clicking your project and selecting import into subversion from the versioning menu.
No comments:
Post a Comment