DDL export line ending convention mixed

SQL Developer V4.0.0.12, Windows XP-32, jdk1.7.0_45 Oracle 11gR2
I'm trying to do an export of a complete application schema DDL for initial check-in to source control (SVN)
When checking the files we discovered a mix in line ending conventions which will wreak havoc on versioning in a multi platform environment.
It looks like the "normal" DDL is exported with CR/LF windows convention, but the COMMENTS section in table and views are LF only. When setting SVN eol style to native it will not correctly transform line endings upon commit.
Can this be fixed? Is there a workaround?

SQL Developer V4.0.0.12, Windows XP-32, jdk1.7.0_45 Oracle 11gR2
I'm trying to do an export of a complete application schema DDL for initial check-in to source control (SVN)
When checking the files we discovered a mix in line ending conventions which will wreak havoc on versioning in a multi platform environment.
It looks like the "normal" DDL is exported with CR/LF windows convention, but the COMMENTS section in table and views are LF only. When setting SVN eol style to native it will not correctly transform line endings upon commit.
Can this be fixed? Is there a workaround?

Similar Messages

  • Exporting line end point coordinates?

    Hi,
    I'm in desperate need of a script to export the coordinates of lines, or paths, it doesn't really matter, into a text document.
    I've set my ruler up so the 0,0 is in the center of the image, because I need both 0,0 and -0,-0 to work for what I have in mind, basically using a document as a large Cartesian grid, which you can then extract coordinates of 'edges' or end points of lines from.
    A little background on why I need it, for anyone curious. I figured out a way to build new worlds/maps for a game that generates terrain based on 'boundaries', which are drawn on, in a 2d plane, but I need coordinates to map these boundaries correctly. I could do it manually, where I'd hover my mouse over every edge or end of the line point, but this would save a LOT of time.
    I'd be insanely grateful if anyone can help me out. I've tried looking for scripts or other software, but haven't been successful at all for what I really need.
    The way I have my document setup is, 1 pixel per cm, 16384x16384cm. It's quite large, so most 'graph' software won't work for it. The grid itself works fairly well, I just need a decent way to export the coordinates from it.
    Thanks in advance!
    Edit:
    Here, I made an example of a rectangle to give you guys the idea of which coordinates I'd need:
    http://i.imgur.com/VILOwrL.png

    Don't appologize, I was stuck on cm because I thought there wasn't another way, I only figured out after JJMack mentioned it, that it's possible purely by pixels.
    First time working with coordinates, I'm in total new territory.
    The above works great, except now I've stumbled across 2 new problems, sorry to make it so complicated!
    What I have now, slightly tweaked what you gave me:
    var dataFile = new File('~/desktop/exportData.txt');
    var doc = app.activeDocument;
        for(var c =0; c<doc.layers.length;c++){
           doc.activeLayer= doc.layers[c];
    var pathItem = doc.pathItems[doc.pathItems.length-1];
    var dataStream = "";
    for(var subPathIndex = 0;subPathIndex<pathItem.subPathItems.length;subPathIndex++){
        for(var pointIndex = 0;pointIndex<pathItem.subPathItems[subPathIndex].pathPoints.length;pointIndex++){
                    dataStream = dataStream+doc.activeLayer.name+'\t';
            dataStream = dataStream+pathItem.subPathItems[subPathIndex].pathPoints[pointIndex].anchor+'\t'+'\r';
            dataStream = dataStream+'\r';
    dataFile.open('w');
    dataFile.write(dataStream);
    dataFile.close();
    But this outputs this:
    Background     4222,0
    Background     2963,-3550
    Background     4330,-4210
    Background     6450.3937,-2459
    Background     6141,2387
    Background     4834,2891
    Background     3970,924
    Which made me realize, that the paths aren't bound to a layer (It's been a while since I've used paths), so it'll just use the Background layer. There is no way around that, right? Since this script only targets layers, it'll ignore path names, which brings me to another question, is it possible to use the same thing, only for saved paths? So if you had 2 paths, one named P1 and the other P2, that it would display it like:
    P1     4222,0
    P1     2963,-3550
    P1     4330,-4210
    P1     6450.3937,-2459
    P2     6141,2387
    P2     4834,2891
    P2     3970,924
    And the other thing, because I'm using a loop now, which basically repeats the \r after ever coordinate, there isn't a way to collect all coordinates and display them in a chain, basically, and then using the \r after all the coordinates for one path is exported, before it moves on to the next path, or? Basically like the post previous to this, except with paths, instead of layers.
    Thank you guys so much for helping me though, would been completely lost without it.

  • Exporting files for Surround mix... fairly urgent!

    hi there... I'm having an advert piece i've written mixed in surround sound which is a first for me. it was all recorded and mixed my end in stereo so I need to know how best to export them for the mix engineer. I am yet to hear from them so I was wandering if anyone could answer the following:
    - Should I send split or interleaved files (assuming 48khz 24 bit .aifs are suitable)?
    - Where there is corrective or creative compression or EQ, should I keep in bounced versions?
    - Where tracks are panned, should I bounce this information or leave centered?
    - Where a track is bussed to a reverb for example, should I send the bus as a separate track, or send the original file wet?
    - Where more than one SFX appears on a track, should I separate them onto separate tracks?
    - I'm assuming I should retain creative volume rides in the bounced information (eg. long fades).
    And is there anything I'm overlooking? I'd be VERY grateful for any input (this has to be sent by tomorrow afternoon!).
    Thanks

    Q: Should I send split or interleaved files (assuming 48khz 24 bit .aifs are suitable)?
    A: Interleaved! see down here.
    Q: Where there is corrective or creative compression or EQ, should I keep in bounced versions?
    A: depends on the media you are going to ship your production.
    Q: Where tracks are panned, should I bounce this information or leave centered?
    A: Be shure your tracks are surround at the first place. then the pans could have been converted. better check in the Automation screen if it does.
    Q: Where a track is bussed to a reverb for example, should I send the bus as a separate track, or send the original file wet?
    A: By my knowledge is this your choice. In the bounce all tracks are mixed to the 5+1 (or the 7+1) channels.
    Q: Where more than one SFX appears on a track, should I separate them onto separate tracks?
    A: Deepends on the effects you have in mind. I see no reason do split it up.
    Other thing: if you are going to bounce be shure it is a PCM 48000 (required for replay on standard dvd player) Interleaved (all channels in one file) put the button Surround on.
    checking your work on a standard video-dvd-player is only possible if you put the audio files in to a video stream with a black image as video. there is no other option unless you have a DVD-A player in your collection. such a player is hard to find these days.
    hope this helps a little,
    R

  • My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    I'm afraid you'll have to get the phone serviced, dropping the phone must have damaged additional parts inside the phone.
    But Apple will not service the phone anymore, opening the phone and replacing the battery should only be done by authorized personal, not by users.
    You'll have to look for a 3rd party repair shop and see if they can fix this, sorry.

  • File Problem (getting line ends with \r\n)

    I used readLine method     to read the line. It returns string.
    I want to get the lined that ends with 0D0A ( \r \n ).
    In the file in between there are many 0D. So my while loop
    returns all the lines ends with 0D. But I need only the lines ending with 0D0A.
    How can I differntiate these two types of lines
    .....0D
    ...........0D0A
    Is there any method in Java to differentiate these two lines.
    reading char by char is time consuming process and it produce some overhead.
    I think reading line by line gives the better solution
    here is the code
    import java.io.*;
    class checkAcc {
    public static void main(String as[]) {
    try {
    BufferedReader bf = new BufferedReader(new InputStreamReader(new FileInputStream("exa.dat")));
    String s = null;
    byte[] b;
    while((s = bf.readLine()) != null) {
    System.out.println("From Dat File ===> " + s);
    } catch(IOException ie) {
    System.out.println(ie);
    Can any one pls give me the idea ...

    That's the nature of readLine() my friend. The definition is as such:
    Read a line of text. A line is considered to be terminated by any one of a line feed ('\n'), a carriage return ('\r'), or a carriage return followed immediately by a linefeed.
    There isn't anything wrong (performance wise) with using read() and processing it character-by-character.
    tajenkins

  • Since changing over to Mountain Lion I discover that I am no longer able to adjust spaces between lines. If I choose spacing of 1.3 after two lines single-spaced, the entire previous lines end up with 1.3 spacing. What am I missing?

    Since changing over to Mountain Lion I discover that I am no longer able to adjust spaces between lines. If I choose spacing of 1.3 after two lines single-spaced, the entire previous lines end up with 1.3 spacing. What am I missing?

    Do those previous lines have a Return/Linefeed after them, or are they just wrapped to a new line?
    What App is it you're using?

  • Export line items in excel

    Hello Experts,
    We want to export line items from a contract in SRM adding additional fields in the excel document, this because in description we have the 40 characters limit and our services description is bigger, so we are adding the long description in the NOTE section, but we need to export this to the excel document to add this to the legal contract.
    Is there a way to do it? or any ideas of a workaround?
    I would really appretiate your help
    thanks in advance.

    Hi,
    why don't you try with  a custom program? Do you want to use standard export button functionality?
    thanks,
    sankar.

  • Duplicate Unique Key declaration in DDL export

    Using v1.1.2.25 of the product, I performed a DDL export of selected tables and noted in the resulting file that my two Unique Keys were duplicated (created twice). This caused no real problem except a couple of error message that will confuse customers, so I have to manually extract the second declarations. Did I miss something, or is this a bug?

    Define key_element as a key (or unique)! Check the schema specification at http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions. If you're up to a challenge translate the specification from W3-ese to a meaningfult language, or take a short cut and read the example in section 3.11.2.
    Support for keys in validation is sometimes spotty, but it's pretty easy to code up your own checks if needed.

  • Using sed to translate dos line ends to unix line ends.

    Here is my first attempt at translation. I read in the sed man page how \ acts differently, but I see references to \r etc.
    I have a text file. I do not know if it has \r\n or \r as line ends.
    so I want to
    change \r\n to \n
    then change \r to \n
    Thus I end up with unix line ends.
    mac $ echo -ne  "1\r\n2\r\n" | sed "/\r\n/\n/g"
    sed: 1: "/\r\n/\n/g": invalid command code \
    mac $ 
    I left out the Mac conversion of \r to \n.
    I did a google search looking for the conversion. Lots of attempts at conversion. Lots of people eliminated the \r, that wasn't my idea. I moved to Perl after giving up on sed. Thanks everyone who read & responded to my previous Perl post.
    Robert

    Cole Tierney wrote:
    Sed on linux will honor carriage returns entered as
    . BSD sed does not appear to. I've confirmed this on Mac OS 10.3.9 and 10.4.11. On those systems you need to enter a carriage return as a literal using control-v control-m. The carriage return is then displayed as ^M. This can be confusing in forums since people will try to enter it as it is displayed (shift-^ shift-m).
    I was unfamiliar with this method of escaping. I saw references to this in my Google search. I am using the commands in an
    Applescript, so I didn't know how to enter.
    http://discussions.apple.com/edit!default.jspa?messageID=12681001
    My work around is to let bash deal with the carriage return using $'
    '. The trade off is you then have to look at a lot of single quotes. I find it easier to think of it in a couple steps. To expose the $'
    ' to bash you first split the sed with a couple single quotes at the point where you want the carriage return to appear.
    sed 's///' <- initial
    sed 's/''//' <- split
    sed 's/'$'
    ''//' <- insert
    </div>
    I didn't know about this use of $.
    If were dropping down to bash, then what is the deal with this:
    mac $ echo -ne  "1
    2
    " | sed  's/'"
    "'//' | hexdump
    0000000 310d 0a32 0d0a                         
    0000006
    I thought double quotes escaped things.
    The input for your second example has a line with more than one carriage return. My sed only deletes one carriage return per line. Another option is to anchore the match at the end:
    sed 's/'$'
    ''$//'
    I saw the linux version of this, but didn't see the trick of the $ forcing line end and the linux version didn't work for me on Tiger.
    This ends my quest for a tiger version of sed.
    (( At least for DOS, I think I'll forget the classic version of Mac OS. ))
    Thanks.
    Robert

  • Changing Default Line End Styles in FM8

    Does anyone know how to change the default line end, line width, and color styles in FM8? Every time I open a document and draw a line or an arrow I have to adjust these three things to get what I need. I end up doing this several times a day and I'm wondering if there is a way to fix this. I've been told to look in the maker.ini file, but I can't find or don't know what I'm looking for to change. Any suggestions?

    Unfortunately, that's one of the properties that can't be changed in FM. If you do this a lot, you may want to investigate using FrameScript to configure the "defaults" that you prefer.
    See http://www.framescript.com

  • $.write() and $.writeln() both write line-end character to console?

    This may seem like a small thing, but I'm finding it really annoying.
    Using the ExtendScript Toolkit in CS4 InDesign on Mac OS X 10.4 (Tiger) to write messages to the JavaScript console, I find that both $.write() and $.writeln() will write a line-end after the string passed in. This seems to be broken re. the docs (page 213 of "JavaScript Tools Guide CS4", available from the Help menu, which describes both calls and only mentions linefeeds for the latter).
    Are other people seeing this behavior? Is there a way to fix it, perhaps some property or preference on the JavaScript editor/debugger?
    Thanks for any help you can offer.
    Steve Caine

    I can certainly reproduce it easily enough. This:
    $.write("This");
    $.write(" is");
    $.write(" a");
    $.write(" test.");
    produced:
    This
    is
    a
    test.
    The only workaround (it seems to me) is to build the string in the script and then post it all at once. I confess that I hadn't even realized there was a $.write() function although it ought not to take a rocket scientist to realize that there is.
    msg= "";
    array = ["This", " is", " a", " test."]
    for (var j = 0; array.length > j; j++) {
    msg += array[j];
    $.writeln(msg);
    Dave

  • How to put drop statement into DDL-Export?

    I found it in a feature list but can't find how to let the DDL-Export create drop statements for the objects...
    Thanks, Juergen

    Which list would that be? All current options are configured under Preferences - Database - ObjectViewer Parameters .
    If it's not requested already, you can do so at the SQL Developer Exchange, so others can vote to add weight for future implementation.
    Have fun,
    K.

  • [svn:fx-4.x] 14731: change the line ending to LF so this script will run properly on Mac and Unix .

    Revision: 14731
    Revision: 14731
    Author:   [email protected]
    Date:     2010-03-12 11:06:04 -0800 (Fri, 12 Mar 2010)
    Log Message:
    change the line ending to LF so this script will run properly on Mac and Unix.  Some testsuites were breaking because this script was not executing properly on mac
    QE notes: fix for testsuites
    Doc notes: no
    Bugs: no
    Reviewer: no
    Tests run: no
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/branches/4.x/bin/fontswf

    On reflection, it seems much easier/safer to do something like this instead...
    When running in Arch, but viewing a partition with another installation's data on it, do directory listings like this:
    ls -l | FILTER
    where FILTER is a script that pulls out the Arch-announced users and groups, converts them to numeric if necessary (according to Arch's understanding), and then stuffs back in what the other installation thinks are the symbols corresponding to those numbers. This was easy enough to do, and doesn't risk breaking anything.
    Marking as SOLVED, but I'd still welcome feedback about the different ways different distributions understand the groups I cited. It's very hard to track this info down.

  • GREP question, hard return&tab after lines ending in (, space)

    I have a problem that I have been banging my head against the wall for hours trying to figure. I have pages and pages of remote codes I need to format in a specific way. This specific way causes a problem that creates the right side of my columns to look haggard with spots of comma spaces, example:
    Abex                 5011, 5286
    Accurian            5140, 5452
    Accuscan          5005, 5014
    Admiral              5003, 5004,
           5005, 5014, 5015, 5018,
           5025, 5035, 5040, 5041,
           5055, 5165, 5308, 5455
    I hope that comes out looking like I mean it
    There is a picture if it helps. Anyhow. I need it to look like this:
    I hope this helps. The thing is I have figured this out before and I forgot to save the style. I thought I did. I didn't. Sucks. But I did make it so that on lines ending with a comma and space it would hard return and tab.
    Please please help. This has my mind numb trying to figure it out and I have pages and pages of these codes to work through.

    @ GrantH
    That is an easy fix, which I would easily do, but it doesn't resolve the issue that the lines should not end in commas.
    @Jongware
    None taken. I have done something like this before. I know I have because the second picture I included is from a manual I have done before that shows it as such. Granted... that was a while ago and I may be mistaken on the text given for input. However, I'm "pretty" sure I remember having the same issue with the commas at the end and resolving it.
    @Hakkenlid
    This pretty much works for me with the exception of a few trouble spots where the Find just seems to skip over perfectly good matches. So far, this gives me a lot more help than where I was at though.
    @Hakkenlid
    This is what we are going with. It keeps the most readability and completely resolves my comma issue. Saved the expression for later. I really appreciate your help. My Friday started off to a much better start that I was looking forward to.

  • Adobe story does not export lines of dialogue that are amrked with (CONT'D) into a csv file.

    For some reason Adobe story does not export lines of dialogue that are marked with (CONT’D) into a csv file. The rest of the dialogue exports fine, bit the bits that are marked with (CONT’D) do not show up in the dialogue column !. Can this be changed with some settings or is this a bug? The script was imported from an FDX file. If anyone has a fix for this, please, let me know.
    Thenk you.

    Thanks for reporting this issue.
    This is indeed a bug.
    Just to get correct data in csv, a workaround for this issue could be to replace word 'CONT'D' with a place-holder word, perform an export-to-csv and then change it back.
    1. Press Ctrl+F in script to open Find/Replace
    2. Replace word 'CONT'D' with a placeholder word, say 'TEMPCONTD'
    3. Export the script to csv
    4. Now replace the placeholder word with 'CONT'D'

Maybe you are looking for

  • Question about SUM in SQL query

    I have a SQL ststement which is listed below along with it's output. For the NUM_REQ column, I am expecting to get the number 832 because the pm_requirements_table contains 16 records and they all have a frequency of WEEKLY. 16 * 52 = 832. The query

  • Delievry for "0" qty should not be allowed

    Dear All, Currently i am able to create delivery, PGI & Invoice for the "0" qty. This happens normally when material is NOT available for delivery, users put "0" qty and do delivery & PGI. I want to restrict the same. System should give error wheneve

  • JMS Java client - JMSExcepiton initializeConnection

    Hello, I'm working on a JMS java client to connect to an OC4J instance that's residing in a Oracle Application Server. I have the client jars in the Java client classpath and in fact the JNDI lookup for the connection factory and topic succeeded but

  • Creating a web template

    Hi All, My client asked me to create a web template for their web reports. They gave me their logo and asked me to include it on every web report as header. Also, they gave me the fonts and colors of the report headers and normal data and the footer

  • Flash videos and menu boxes jump up and down, what would cause this?

    After installing Firefox 4, all flash videos and menu boxes jump up and down. I have removed and reinstalled the flash plug in to no avail. This does not affect the playback, just the border of the video or menu box. Other browsers do not do this. Ju