Want To Setup Version Control

So I'm wanting to setup a version control system, but am unsure of where to start. I tried to fiddle with Git, but I was unsuccessful. I had followed the instructions to push my Git commit to my Git server, but it didn't seem like it had worked. So, I'm here asking if there is something easier. It doesn't need to be able to handle many people, just like 4-5 people. Are there any suggestions on either how to get Git to work, or another VCS that will be a little easier for me to work with?

valnour wrote:I recently began playing with Git and it is the first version control
system that I have used. I thought that it was really simple to set up
and use. What were the exact problems you were experiencing? What
steps did you take to set up your repo? Maybe with this information,
and anything else you can provide we can get you rolling with Git.
Okay, well I want put my Home directory into version control, as well as a few side projects I'm working on. It's not going to be for many people, just a couple. I installed Git onto my fileserver and created a directory at /home/git/home.git. Then I used this command:
git --bare init
in the home.git directory I had created. Then I went to my home directory on my computer and added the remote host thing using this:
git remote add origin ssh://server.com/home/git/home.git
After I did that, I did:
git push origin master
Am I missing something?

Similar Messages

  • Hello, I want to use version controlling software with Labwindows.

    Hello All.
    I want to use version controlling tool with Labwindows/CVI. Actually version controlling tools work for text files and by using the tool i can do version controlling of my .c and .h files in Labwindows/CVI project. But is there a way to do version controlling of .uir files also. Version control tool can detect the changes made in .uir file but is there any tool that can be used to compare and merge .uir files too just like text files operation for version controlling.
    Regards

    Hello Moshi,
    Personally I never understood how the integrated version control system of
    CVI works, but SVN (and TortoiseSVN) works fine with CVI projects.
    UIR files are treated as binary, as they should be, and that's about all.
    You could put the .tui file under version control instead, but I don't think
    it's worth the bother.
    Guillaume Dargaud
    http://www.gdargaud.net/

  • Version Control and Dreamweaver CS5.5

    Hello-
    I want to install version control on both a shared Bluehost server and a dedicated Hostgator server, sites on both I manage with DW CS5.5.
    I've read the help articles but it seems they are targeted at installing svn on your local machine, and I want to install it on my remote servers. I realize this is not a Dreamweaver specific question but wondered if there are any obvious paths to this someone might know of.
    I do have svn installed on my bluehost server, but haven't yet been able to figure out how to set up a repository there yet. So when I do
    svn --version, it shows me all the version info, indicating it was successfully installed, but I haven't been able to set up a repo yet, via ssh. Can this be done in DW or do I have to get it done via SSH on the server first, then set the path to it in the version control tab of the site set up/management tabs AFTER I accomplish setting it up via SSH on the server first?
    Thanks very much in advance...
    Laura

    So here is where I am with it if you have any suggestions I'd appreciate it:
    Hostgator tech support helped me get it back to 1.7.5 (no explanation for how it became 1.6 after I installed and verified 1.7.5, odd)
    So here was the interaction but I'm still (stupidly I'm sure) stuck:
    From tech support:
    You *should* be able to communicate with a SVN 1.7.5 server with a svn 1.6 client without issue.
    1) When I run svn --version on your , I show version 1.7.5:
    [~]# svn --version
    svn, version 1.7.5 (r1336830)
    compiled Jun 28 2012, 22:37:11
    Yes, the user and password for SVN must be set up within svn. Here is a brief outline of setting up a repository.:
    First, create the repository:
    svnadmin create ~/myrepository
    Edit the configuration file for the newly created reposiroty:
    nano ~/myrepository/conf/svnserve.conf
    Add the following, presuming you want no anonymouse access and write access for authenticated users:
    anon-access = none
    auth-access = write
    password-db = passwd
    Open up the passwd file to create it and ready it for editing:
    nano ~/myrepository/conf/passwd
    Add your password to it like so:
    exampleuser = examplepassword
    Import your project to it (if any):
    svn import /path to your project/myD5project file:///home/juicyserveradmin/myrepository
    Start and daemonize the svn server:
    svnserve -d
    You should now be able to check out your project from DreamWeaver.
    4) SVN typically runs on port 3690. Port 2223 is your SSH port. If DreamWeaver allows your to connect to SVN via SSH, then it will be over port 2223 - in this case you would need ot provide your SSH login credentials.
    What I'm still stuck on:
    I added the repo as he said, ~/repos
    I added two users/passwords to the file (not sure how to confirm I did it right though)
    I'm stuck on this step:
    svn import /path to your project/myD5project file:///home/juicyserveradmin/myrepository
    Here is how it's set up now, if you could help me think through what makes sense I'd really appreciate it.
    I've got my live site, example.com
    We've been doing all of our development work live on the front end which is of course a terrible idea and constantly causes issues where problems are showing up live.
    So i set up dev.example.com which is within the main example.com directory called /dev and as a subdomain.
    I also set up /dev2 the same way.
    The only difference is that /dev is set on cron to have all of example.com main files copy to it once a day, so it stays more or less in sync.
    /dev2 is not being synced that way.
    My idea was then I've got two dev folders we can do work in, one that syncs and one that stays static.
    I want to have svn working for all 3....the live site, the /dev and the /dev2.
    So would I need to create repos in each of those 3? Or just one repo? file names would be the same in all three so it seems like there would need to be repolive, repodev , repodev2 or something like that?
    I want the same user/pass at the moment for all 3.
    Then I'm back to not quite sure how to set that up in DW, and, what to import into each if that's the best way to do it?
    Also I was confused about the path command above.
    In the scenario above can you create that path for me to see exactly how I should paste it in if I do three repos, if, and please tell me, if doing it that way even makes sense?
    For DW server settings, is the sever address the IP address of my dedicated server?
    And I'm not sure what to put for Repository Path given the questions above.
    Thanks again for your patience and help...
    Also:
    I see from this link
    http://civicactions.com/blog/2010/may/25/how_set_svn_repository_7_simple_steps
    That I would maybe want to set up different directories within the /repos directory for the three versions of the site, live, dev and dev2?
    I'm still confused about the format of the path.
    Would it be like
    svn mkdir file:///nameofmyhomedir/repos/live
    svn mkdir file:///nameofmyhomedir/repos/dev
    svn mkdir file:///nameofmyhomedir/repos/dev2
    Where I want the directories to be named live,dev and dev2?
    Can you correct that path for me if that's not quite right?
    I do see in DW now for my local site that I've got + next to all the files after setting up the Version Control server, but, because I don't have the path to the repo right I guess or the server address right...it says it can't connect:
    Access: Subversion
    Protocol: SVN
    Server Address: My IP address?
    Repository Path: Not sure if I did ~/repos what the full path to it on my server is?
    Server Port: 3690
    username/pass what I set up in the file according to his directions.
    Can you steer me towards dialing this in right pretty please?
    Thanks in advance for any help.

  • Version Control integration with SVN

    We want to implement Version Control integration for Siebel Tools with Subversion (SVN).
    After an informal chat with a consultant from Oracle, we got the reply like: Test, and see if it works.
    Now for my question, does anyone know a project where they used SVN as the version control tool in a Siebel project?

    Nothing much yet, but I found a website that has the batch file for integration with SVN.
    Guess I have to contact the author to get more details:
    http://arwaheem.wordpress.com/2008/04/30/siebel-version-control-source-code-integration-using-sub-version/

  • Add management server: Setup version: 7.0.9538.0 is not compatible with database version: 7.1.10226.0

    I want to add another management server to our existing SCOM environment. But whenever I run this setup on a new server I get stuck in the window for selecting the OperationsManager database. The database field stays blank and in the OpsMgrSetupWizard log
    there are lines that the setup version is not compatible with the database version. But I use the same installer as when I installed the other management servers a year ago.
    Maybe there is a newer setup installer? But I can't find it.
    [10:42:54]: Error:
    :Error:setup version: 7.0.9538.0 is not compatible with database version: 7.1.10226.0
    [10:42:54]: Info:
    :Info:Using DB command timeout = 1800 seconds.
    [10:42:54]: Info:
    :Info:isOMDatabase:  Read returned true.  so far, this is OM DB, not an empty DB
    [10:42:54]: Debug:
    :Connection was not open.  We will try to open it.
    [10:42:54]: Debug:
    :SqlConnectionReady returned True.
    [10:42:54]: Info:
    :Info:Using DB command timeout = 1800 seconds.
    [10:42:54]: Info:
    :Info:isOMDatabase:  Read did not return true.  The MG is missing. This is not OM DB
    [10:42:54]: Info:
    :Info:Using DB command timeout = 1800 seconds.
    [10:42:54]: Always:
    :Azman store table not found in OperationsManagerDW table, assuming this is an not a valid OMDB for empty DB scenario.
    [10:42:54]: Info:
    :Info:DatabaseConfigurationPage: DB connection attempt completed.
    [10:42:54]: Info:
    :Info:DatabaseConfigurationPage: DB connection attempt completed.

    Never mind, found it!
    Apparently there was a newer version of SCOM setup in msdn and someone upgraded our existing SCOM environment. Downloaded the new setup, new report viewer controls and a System
    CLR Types for Microsoft® SQL Server® 2012 and now it works!! 

  • Best practice for version control

    Hi.
    I'm setting up a file share, and want some sort of version control on the file share. What's the best practice method for this sort of thing?
    I'm coming at this as a subversion server administrator, and in subversion people keep their own copy of everything, and occasionally "commit" their changes, and the server keeps every "committed" version of every file.
    I liked subversion because: 1) users have their own copy, if they are away from the office or make a big oops mistake, it doesn't ever hit the server, and 2) you can lock a file to avoid conflicts, and 3) if you don't lock the file and a conflict (two simultaneous edits) occur, it has systems for dealing with conflicts.
    I didn't like subversion because it adds a level of complexity to things -- and many people ended up with critical files that should be shared on their own hard drives. So now I'm setting up a fileshare for them, which they will use in addition to the subversion repository.
    I guess I realize that I'll never get full subversion-like functionality in a file share. But through a system of permissions, incremental backups and mirroring (rsync, second-copy for windows users) I should be able to allow a) local copies on user's hard drives, b) control for conflicts (locking, conflict identification), and keeping old versions of things.
    I wonder if anyone has any suggestions about how to best setup a file share in a system where many people might want to edit the same file, with remote users needing to take copies of directories along with them on the road, and where the admin wants to keep revisions of things?
    Links to articles or books are welcome. Thanks.

    Subversion works great for code. Sort-of-ok for documents. Not so great for large data files.
    I'm now looking at using the wiki for project-level documentation. We've done that before quite successfully, and the wiki I was using (mediawiki) provides version history of pages and uploaded files, and stores the uploaded files in the file system.
    Which would leave just the large data files and some working files on the fileshare. Is there any way people can lock a file on the fileshare, to indicate to others that they are working on it and others shouldn't be modifying it? Is there a way to use unix permissions (user-group-other) permissions, "chmod oa-w" to lock a file and indicate that one is working on it?
    I also looked at Alfresco, which provides a CIFS (windows SMB) view of data files. I liked it in principle, but the files are all stored in a database, not in the file system, which makes me uneasy about backups. (Sure, subversion also stores stuff in a database, not a file system, but everyone has a copy of everything so I only lose sleep about backups regarding version history, not backups on the most recent file version.)
    John Abraham
    [email protected]

  • Version control for FH files

    For the last 2 years I've been using a subversion system that
    works very well with FH files. It does basicly the same as
    VersionCue but works with a lot of file formats (not Flash 8 btw)
    My setup is like this:
    - File server at my home studio (just a win machine with RAID
    5 disks and mapped network drives shared on my home network)
    running Win XP Pro (backup done every 24h)
    - a workstation running TortoiseSVN on Win XP Pro (it becomes
    a shell extension in Explorer)
    my simple system:
    - I create a version repository in my project folder on the
    server
    - I check out a working copy of the file(s) I want to work
    with to a local folder or a dedicated disk partition as I do
    Whenever I save my changes I commit these changes to the
    repository with a text comment
    Icon overlays tells me the status for each file and folder
    under version control
    Whenever I get a file corruption (it happens with FH files) I
    just check out a fresh working copy from that last commited
    version. You can of course revert to any previous version at any
    time or create branches out from one main design.
    The best thing is that I'm able to review my change log
    without opening a lot of files and revert to previous designs
    without keeping a lot of different files, and of course being able
    to resolve problems with corrupted FH files with minimal loss.
    http://tortoisesvn.tigris.org/

    I started version control on 01/14/2014.
    As you can see below I modified several topics. When I opened the RSC database and did a history on any modified Topic from 01/14/2014 to a date in the future, it always said there was no difference.  In the past it always showed there was a difference and what the difference was.
    I have started and stop version control several times hoping that would resolve the problem. Right now I am not using version Control.
    I will start version control again.
    Richard Wright
    Functional Area Expert II
    Systems Made Simple (SMS)
    1615 Woodward Street
    Austin, TX  78772
    Service Delivery and Engineering (SDE)
    Enterprise Operations (EO)
    Enterprise Applications Support (EAS)
    (512) 326-6610
    [email protected] <mailto:[email protected]>
    One of the Inc. 500 Fastest Growing Privately Held Companies in the U.S.

  • Version control tool for Mac OS X?

    Hi all
    If using labview on Mac OS X, 
    do you have some version control tools to recommend?
    Thanks  a lot

    As far as i know, LV for Mac does not integrate with source code control provider. LV for Windows has two requirements for this:
    a) Professional Development Environment
    b) A source code control provider compatible to the Microsoft Source Interface
    There is still always (Mac, Linux and Windows alike) the possibility to control source files using the SCC providers client software.
    Many open source project SCCs like CVS or Git integrate, at least in Windows, in the File Explorer.
    I recommend you to research possible solutions like this for Mac.
    The next question is if you want to use a distributed SCC or a local one. Depending on this, you will have to setup a network server with compatible provider (e.g. RhodeCode).
    LV provides both a Diff and Merge tool as EXE (Professional). I am not sure if this is also true for the Mac version, so look for "LVCompare" and "LVMerge".
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • What settings do I change so that Dreamweaver does not force me to use version control?

    I don't know what setting I have changed - I have worked in my site and ftp'd to my server for the past week. Something changed today.
    There is a red X next to Version Control in the Site Setup for X Site dialog box.
    In Files view, in the Remote Repository pane, there's a link to define version control settings.
    I don't have subversion, nor do I have a need. I just want to see my files on the remote server. Get/Push work. However, there is no server tree view. Tips?

    Hi AcronymCity, Same happened to me, around the time you posted in Dec (DW vs 5.5)
    I got my server files back by
    1- In preferences (cmd-U) - > site -> Dependant files  -> UNchecking "prompt on get / check out"
    2- In preferences (cmd-U) - > site -> Dependant files  -> UNchecking "prompt on put / check in"
    3- Further down same dialogue - > check save files before putting
    4- Then to "files" window. -> I then manipulated the "repositories" button, which was resisiting being unpressed before, to unpressed (toolbar on "files" window)
    This got rid of the "repository files" request and I booked the sites in with the server in the usual way via the Manage sites/Edit dialogue. All previous ftp server data re-inputted.
    Now, whether this is what did it or whether it was something else, I dunno, (I used the blessed CyberDuck in the meantime). Hope this works for you if you haven't solved it some other way ... nosada1592

  • Lightweight Version Control and/or IDE ?

    Summary:
    I would like to know if anyone has any suggestions for a light-weight version control system ? A light-weight IDE would also be of interest (more advanced than TextPad, less complicated than Eclipse).
    I would have stuck this in the IDE forum, but it seems their isn't one.
    Details:
    Previously, I have been doing my Java development using a text editor (TextPad), and doing most everything manually. I like this approach, because I understand everything that is going on.
    I recently ventured out in the hopes of implenting version control. Going with what's popular, I set up CVS on my Linux server and access it using Eclipse on my PC. I would just continue using TextPad, but I like how Eclipse provides a nice GUI front-end for CVS functions.
    Unfortunately, I've found the whole CVS/Eclipse setup to be buggy and convoluted. I still don't have CVS set up quite right. I can't seem to tag anything with a version, and I still don't know how to properly set up access privelidges (for simplicity, I ended up using chmod 777 on all CVS directories and files).
    This whole setup seems to require intricate Linux, CVS, and Elipse knowledge. Now, instead of working on my Java application, I spend most of my time trying to better learn Linux, CVS, and Eclipse. Progress on my projects have ground to a halt. Every problem I encounter requires hours of research to resolve, and it often results from not understanding the complicated inner workings of one of these insufficiently documented products.
    In the end, I really just wanted some version control for my software with a user-friendly GUI front end. I have no wish to be a Linux expert, or a CVS expert, or an Eclipse expert. I just want to be a user, so I can get on with doing my real work -- Java programming.
    <rant>
    I find Linux in particular to be especially difficult to grasp. It's not that the O/S is complicated. It's that materials for learning are sub-par or nonexistent. The Linux community, as well as many other software communities, like to think of themselves as part of some elite club of experts they don't want others to join. To perpetuate this, there is a general lack of tutorials, GUIs, or helpful information of any kind. Take "man" for instance, the worst help facility ever created, which has never been improved upon.
    This would all be okay if I could simply use the non-existent CVS installer to install and configure CVS. But no, I have to do it all manually, from setting up the CVS server in xinetd, to editing the cvswrappers file (why is this not set up from the get go?), to changing iptables to allow CVS connections through the firewall. Simply trying to figure out how to set an environment variable is an exercise in frustration the first time. It took me probably an hour of research just to figure out that I needed to edit the file "profile" in the "/etc" directory because such information is not nicely documented anywhere.
    </rant>
    Conclusion:
    Ideally, I would like a SIMPLE version control system that I can just run on my Windows PC. Something with a GUI preferably, as managing large numbers of files from a command prompt is tedius. Likewise, a light-weight IDE, something less complicated than Eclipse, would also be of interest to me.
    Also, if you have any recommendations for a good Linux book, that would also be of interest to me. Such a book would probably be tailored to a specific flavor of Linux since each flavor uses different tools. I currently use Fedora Core, so a Fedora Core book would be preferable. I think I am probably stuck using Linux for a server, as my copy of Windows NT Server is hopelessly outdated, and Windows Server upgrades cost thousands of dollars I don't have (why don't they have an educational version of Windows Server?). I still regret spending thousands of dollars the first time.
    Thanks for any suggestions.

    Imho, CVS is a rather simple version control system, though I wouldn't want to access it using IDE plugins as they hide a lot of functionality. For an alternate frontend, have a look at WinCVS (www.wincvs.org) -- it's not that buggy.
    You could also try subversion as a replacement for CVS, but afaik, there's no reliable and comfortable GUI client available yet.

  • How do I fix project after "Remove From Version Control" corrupted it?

    I am using RoboHelp 9.0.1 and installed both Tortoise SVN 1.6.9 and latest PushOK SVNSCC then added my large RoboHelp project to SVN. I was able to check in and out files from SVN but had several issues with it:
    1) Super super slow. Working with folders or any renames would take 10 seconds per file and up to 1 hour if needed to refresh the root folder.
    2) I could not perform some actions at all, such as delete, rename, or move folders. I kept getting COM errors.
    I therefore decided that working with SVN and RoboHelp is not practical, at least not on my VPN so I decided to disconnect the project from source control and just work locally. The only option that I saw that sounded like it would do that was the "Remove from Version Control". This started a process that lasted for several hours. At the end of it, I now have several significant issues:
    1) The order of the files and folders in my Project Manager is completely wrong now. I have almost 1000 topics and reordering all of them is not possible.
    2) The Table of Contents, Glossary, and Index files appear empty. They had content before.
    2) A couple of the Single Source Layouts I had created are completely missing.
    3) Many, but not all, of the folders have tons of files with the extension ending in "_temp_removed_by_svn"
    4) Many, but not all, of the files are actually gone from SVN so I can't recover a clean image. There was no warning that this command would actually delete the files from SVN (I thought it would just remove the version control connection).
    5) Who know what other issue exist that I haven't seen.
    Any idea how I can fix this?
    Thanks in advance,
    Dan

    Are the "_temp_removed_by_svn" files in your local folder or SVN? Let us know how you get on with the new project. It sounds like something is wrong with SVN. Can you use the SVN Log command to see whether there is a different version you can restore. This might also give you an indication of what might have caused the problem. You could try deleting your CPD file. It gets rebuilt it is isn't there anyway. This file can become bloated and it is good practice to delete it when it gets close to 2mb in size. Your project is fairly large and has a lot of folders and may affect performance. Have you considered splitting them and merging the output? I know you probably don't want to consider this right now, but I think it may be a better long term solution.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Can I have a library of PDF docs with version control? Can it cope with version nos. embedded in the file name?

    I manage a set of documents which are edited in Word but "published" as PDFs (using Word 2010's save to PDF capability).
    I want to create a library for them on SharePoint (my company has SharePoint Online via its Office 365 subscription).
    I'm pretty much a SharePoint novice but even I can see it's easy to upload the documents to a simple library. The things that are giving me a headache are:
    Can I tell SharePoint what the version number of the uploaded PDF document is? The version number as understood by the library needs to match the version number written into the document (where it is called a revision number and increments in whole numbers
    starting from zero).
    How do I handle replacing the uploaded PDF documents with new versions? If they were Word documents I could edit them by opening them from the SharePoint library, checking them out if necessary, and SharePoint would handle version control.
    But since the PDFs are generated from editable masters (Word documents) which are NOT on SharePoint I would need to edit the local Word document on my PC then generate a PDF version then upload it to replace the existing PDF document in the
    library. Is it easy to upload a new document over the top of an old in a SharePoint library?
    Hoping someone can give me some answers.
    Regards,
    Bruce Officer

    hi Bruce,
    1. It sounds like what you need is to set the starting version number since your revision number increments in whole numbers, it would match up to SharePoint once the starting version number is set. You can potentially create a new custom field in the
    library to manually track the version of the uploaded PDF document, but this might not match up with SharePoint's own version number and could get confusing. Another possibility is to upload dummy versions of the PDF document until the SP version
    matches with the revision version and then delete these dummy versions.
    2. When you upload the PDF document again into the library, it should prompt you to see if you want to replace the existing. If you proceed with the upload, it should replace and increment the SharePoint version number.
    Please Mark Answered if my reply solves your problem. Thanks!
    Jeff Thai
    Technical Solutions Architect, AvePoint
    http://www.AvePoint.com

  • Regarding version control

    Hi,
    Could u please help me out in giving some ideas of version control in sap?
    First let me give some example as follows:
    First if i develop something in the developement server then later when i transfer to the QA server and later to production server then is there any change in version.
    Please give me a details of this issue????
    Thanks,
    Batista....

    hi priya,
    Version Control
    Version control is a mechanism that helps maintaining the revision history of a development resource and tracking the changes done to it. It defines a set of constraints on how a development resource can be changed. A development resource that complies with the constraints defined by the version control is called a versioned resource. When a versioned resource is modified or deleted, a new version is created for the resource. A unique sequence number is associated with each version of the resource created in a particular workspace. This sequence number identifies the order in which the versions were created in that workspace. The DTR graphically represents the relationship between the different versions of a versioned resource in the form of a version graph.
    For the representation of version graphs, this document follows the conventions shown in this figure.
    The figure shows the meaning of the symbols in the version graph.
    The following changes are tracked by the version control mechanism of the DTR:
    ·        Addition of the resource to the repository
    ·        Modification of the resource in the repository
    ·        Deletion of the resource from the repository
    In all the above cases, a new version of the resource is created.
    Production Delivery
    Packaging
    To deliver your product, you have first to package it. There are different packages you can use for shipping your product to your customers:
    &#9679;      Software Component Archives (SCAs) – this is the standard way to deliver software for the SAP NetWeaver platform.
    &#9679;      Software Deployment Archives (SDAs) – for top-level applications you can deliver only the executable part of the software. You can directly deploy the SDA file.
    &#9679;      Public Part Archives (PPAs) in Development Component Interface Archives (DCIAs) – for reusable components (Java EE server libraries, Web Dynpro components, Visual Composer components and so on). You can deliver only the metadata of the components. DCIA can be included in SCA file too.
    How to do that?
    Using the command line tool provided with the SAP NetWeaver Composition Environment you can:
    &#9679;      package a collection of components into an SCA including only the deployable archives. This is required if you do not want others to reuse the delivered components.
    &#9679;      package a collection of components into an SCA including the deployable archives and the corresponding interface archives. This allows customers to develop against these components. Those customers can directly import the SCA into their own SAP NetWeaver Development Infrastructure (NWDI) or into an SAP NetWeaver Developer Studio local installation.
    &#9679;      package the public parts of a component together with the required metadata into a DCIA (and further into an SCA).
    &#9679;      include source code into an SCA.
    &#9679;      unpack a deliverable archive and drop the result into an existing version control system for example, or directly import them into an existing Design Time Repository (DTR).
    Delivery of Source Code for Further Customization
    In addition, you can deliver source code to your customers to allow further customizing or add-on development. The deliverable archive may contain sources for:
    &#9679;      individual development components (DCs).
    &#9679;      a collection of development components, for example a whole software component (SC).
    Example
    A customer can add a new source compartment to an existing configuration, and then locate that compartment in the file system where it is accessible by the version control system in charge. Then he or she extracts the sources with the command line tool to the compartments root directory and refreshes the configuration in the SAP NetWeaver Developer Studio. The compartment tree is populated with components from the archive. Afterwards, the customer may put those components under version control. Deliverables that contain only individual components may be treated accordingly.
    This mechanism may also be used for other purposes, for example for setting up a simple backup and restore mechanism for components in Developer Studio, or sharing DC sources without having a central version control system: a developer may pack a compartment and store the resulting SCA on a central share or backup system. Another developer may take that SCA and import it.
    Limitations
    Note the following limitations connected with this kind of source code delivery:
    &#9679;      There is no support for handling conflicts when different actors in a delivery chain develop independently in the same source code. You cannot prevent the customer from modifying delivered sources. When you ship a new version of the sources, there is no special support for updating and no support for merging the update with modifications done by the customer. You and the customer have to agree on a process how those conflicts are handled. For example, the customer can decide not to import the update you deliver directly into the active development line, but to unpack the delivered sources to some unconnected sandbox system and perform the required merges manually.
    &#9679;      When you deliver source code to customers, it is important that you also deliver the required libraries and generators that are needed to build these sources. For example, it may be necessary to ship some archive compartments that contain used components.
    &#9679;      There is no support for delivering deletions in a new version. If a source file was deleted, the customer has to manually ensure that the file is also deleted in the Developer Studio or source code management system.
    &#9679;      If a customer prefers to work with the SAP NetWeaver Development Infrastructure (NWDI), this customer cannot directly import the source delivery package into the NWDI landscape. Between NWDI landscapes at different places, sources usually are exchanged through a more sophisticated export format that contains not only the pure source code, but also the versioning meta information of the exporting DTRs. This ensures that the importing repository can detect conflicts that arise due to modifications. If this versioning information is not available, the only way to import source deliveries is to unpack them to a file system and manually put them under version control with the Design Time Repository perspective of the Developer Studio. In case of an update, the customer would have to check out all affected files, merge them with the new versions from the source delivery, and finally check them in as a new version.
    More information: Composition Environment Command Line Tool
    see this url
    http://www8.sap.com/businessmaps/0134713B1D6046C59DE21DD54E908318.htm
    thanks
    karthik
    reward me if usefull

  • Oracle 10g R2 - Metadata Issue With Version Controlled Resources

    We are trying to utilize the Oracle 10g R2 feature that allows user-defined metadata to be attached to XML DB resources. However, we are encountering errors when we try to append/attach metadata to a version-controlled resource (VCR). The following steps were followed:
    1. Register a new schema to be used for metadata (XMLSCHEMA.registerSchema).
    2. Add a new resource to to the XML DB and make it version controlled (DBMS_XDB.createResource and DBMS_XDB_VERSION.makeVersioned).
    3. Checkout the newly created version-controlled resource (DBMS_XDB_VERSION.checkout)
    4. Add metadata to the version-controlled resource (DBMS_XDB.appendResourceMetadata)
    However, after step 4, the errors shown below are encountered:
    ========================================================
    begin
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [qmxStrCopy: INLOB 2], [], [], [],
    ORA-06512: at "XDB.DBMS_XDB", line 890
    ORA-06512: at line 2
    ========================================================
    The steps followed for adding metadata to a resource were taken from Chapter 26 of the "Oracle XML DB Developer's Guide 10G Release 2" (http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb_repos_meta.htm#sthref2302).
    Is is possible to append and maintain metadata to an XML DB version controlled resource (VCR)? If so, what are the correct steps to do this? Note that if this is tried with a resource that is not version controlled, then no errors are encountered.
    Thanks,
    Steve

    It appears that this issue has been solved in the next release of the database
    QL> spool testcase.log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> var schemaURL varchar2(256)
    SQL> var schemaPath varchar2(256)
    SQL> var resourcePath varchar2(256)
    SQL> --
    SQL> begin
      2    :schemaURL := 'metadata.xsd';
      3    :schemaPath := '/public/metadata.xsd';
      4    :resourcePath := '/public/metadataTest.txt';
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
      2  /
    Call completed.
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<?xml version="1.0" encoding="UTF-8"?>
      5  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="qualified" attributeFormDefault="unqualified" xdb:storeVarrayAsTable="true">
      6          <xs:element name="root" type="rootType" xdb:defaultTable="METADATA_TABLE"/>
      7          <xs:complexType name="rootType" xdb:SQLType="METADATA_ROOT_T">
      8                  <xs:sequence>
      9                          <xs:element name="child" type="childType"/>
    10                  </xs:sequence>
    11          </xs:complexType>
    12          <xs:complexType name="childType" xdb:SQLType="METADATA_CHILD_T">
    13                                  <xs:sequence>
    14                                          <xs:element name="Child1" type="xs:string"/>
    15                                          <xs:element name="Child2" type="xs:string"/>
    16                                  </xs:sequence>
    17          </xs:complexType>
    18  </xs:schema>
    19  ');
    20  begin
    21    if (dbms_xdb.existsResource(:schemaPath)) then
    22      dbms_xdb.deleteResource(:schemaPath);
    23    end if;
    24    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    25  end;
    26  /
    PL/SQL procedure successfully completed.
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,TRUE,
      7      enableHierarchy=>DBMS_XMLSCHEMA.ENABLE_HIERARCHY_RESMETADATA
      8    );
      9  end;
    10  /
    PL/SQL procedure successfully completed.
    SQL> declare
      2    res boolean;
      3  begin
      4    if dbms_xdb.existsResource(:resourcePath) then
      5      dbms_xdb.deleteResource(:resourcePath,4);
      6    end if;
      7    res := dbms_xdb.createResource(:resourcePath,'Mary Had a Little Lamb');
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> select xdbUriType(:resourcePath).getClob()
      2  from dual
      3  /
    XDBURITYPE(:RESOURCEPATH).GETCLOB()
    Mary Had a Little Lamb
    SQL> declare
      2    resid raw(16);
      3  begin
      4    resid := dbms_xdb_version.makeVersioned(:resourcePath);
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> begin
      2    dbms_xdb_version.checkout(:resourcePath);
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> set long 10000 pages 0 lines 150
    SQL> --
    SQL> select r.res.getClobVal()
      2    from resource_view r
      3   where equals_path(res,:resourcePath) = 1
      4  /
    <Resource xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" Hidden="false" Inv
    alid="false" VersionID="1" ActivityID="0" Container="false" CustomRslv="false" V
    ersionHistory="false" StickyRef="true">
      <CreationDate>2006-06-10T05:01:25.355009</CreationDate>
      <ModificationDate>2006-06-10T05:01:25.355009</ModificationDate>
      <DisplayName>metadataTest.txt</DisplayName>
      <Language>en-US</Language>
      <CharacterSet>UTF-8</CharacterSet>
      <ContentType>text/plain</ContentType>
      <RefCount>1</RefCount>
      <ACL>
        <acl description="Public:All privileges to PUBLIC" xmlns="http://xmlns.oracl
    e.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch
    emaLocation="http://xmlns.oracle.com/xdb/acl.xsd                           http:
    //xmlns.oracle.com/xdb/acl.xsd">
          <ace>
            <grant>true</grant>
            <principal>PUBLIC</principal>
            <privilege>
              <all/>
            </privilege>
          </ace>
        </acl>
      </ACL>
      <Owner>SCOTT</Owner>
      <Creator>SCOTT</Creator>
      <LastModifier>SCOTT</LastModifier>
      <SchemaElement>http://xmlns.oracle.com/xdb/XDBSchema.xsd#binary</SchemaElement
    >
      <Contents>
        <text>Mary Had a Little Lamb</text>
      </Contents>
      <VCRUID>15DE79F263F7CC00E040578C2A0656F8</VCRUID>
    </Resource>
    SQL> begin
      2    dbms_xdb.appendResourceMetadata(:resourcePath,xmltype(
      3  '<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      4         xsi:noNamespaceSchemaLocation="metadata.xsd">
      5      <child>
      6        <Child1>AAA</Child1>
      7        <Child2>BBB</Child2>
      8      </child>
      9  </root>'));
    10  end;
    11  /
    PL/SQL procedure successfully completed.
    SQL> commit
      2  /
    Commit complete.
    SQL> select r.res.getClobVal()
      2    from resource_view r
      3   where equals_path(res,:resourcePath) = 1
      4  /
    <Resource xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" Hidden="false" Inv
    alid="false" VersionID="0" ActivityID="0" Container="false" CustomRslv="false" V
    ersionHistory="false" StickyRef="true">
      <CreationDate>2006-06-10T05:01:25.355009</CreationDate>
      <ModificationDate>2006-06-10T05:01:25.558913</ModificationDate>
      <DisplayName>metadataTest.txt</DisplayName>
      <Language>en-US</Language>
      <CharacterSet>UTF-8</CharacterSet>
      <ContentType>text/plain</ContentType>
      <RefCount>1</RefCount>
      <ACL>
        <acl description="Public:All privileges to PUBLIC" xmlns="http://xmlns.oracl
    e.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sch
    emaLocation="http://xmlns.oracle.com/xdb/acl.xsd                           http:
    //xmlns.oracle.com/xdb/acl.xsd">
          <ace>
            <grant>true</grant>
            <principal>PUBLIC</principal>
            <privilege>
              <all/>
            </privilege>
          </ace>
        </acl>
      </ACL>
      <Owner>SCOTT</Owner>
      <Creator>SCOTT</Creator>
      <LastModifier>SCOTT</LastModifier>
      <SchemaElement>http://xmlns.oracle.com/xdb/XDBSchema.xsd#text</SchemaElement>
      <Contents>
        <text>Mary Had a Little Lamb</text>
      </Contents>
      <VCRUID>15DE79F263F7CC00E040578C2A0656F8</VCRUID>
      <Parents>15DE79F263F8CC00E040578C2A0656F8</Parents>
      <root xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNam
    espaceSchemaLocation="metadata.xsd">
        <child>
          <Child1>AAA</Child1>
          <Child2>BBB</Child2>
        </child>
      </root>
    </Resource>
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.0.0 - Alpha
    With the Partitioning and Data Mining options
    I've filed bug 5313655 for the 10.2.x behavoir. If this is important to you you might want to consider signing up for the forthcoming beta program for the next release of the database

  • Version Control for OSB Proxy/Business Services ?

    Dear all
    I've used the browser-based osb console to expose a legacy web-service as follows :
    1. Create a Session
    2. Create a BusinessService based on the legacy web-service WSDL
    3. Create a ProxyService based on the BusinessService WSDL
    4. Activate the Session
    I now have two further questions :
    1. How do we version control the OSB "code" ? (we use Subversion for other code)
    2. How do we implement it in other environments (TEST, PROD, etc.)
    Thanks,
    Peter.

    >
    Are there other reasons why you say it's not the most ideal way of development ?
    >
    Versioning binary files is always a pain. You can't compare them, you can't merge them ... Another point, if you put your jar archive with OSB artifacts under version control, you will most probably face issue related to end of line styles (mac, unix, windows).
    However, the most important point is usability. I want to version .proxy and .biz services to see right in IDE that I changed something and I should check that in for the others. I don't want to risk that I forget something. And I also want to see what other users committed, what sources they work on ... You loose all of that by versioning jar file. I would never go this way.

Maybe you are looking for