Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 21595 invoked from network); 4 Nov 2005 18:26:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Nov 2005 18:26:08 -0000 Received: (qmail 18490 invoked by uid 500); 4 Nov 2005 18:26:07 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 18451 invoked by uid 500); 4 Nov 2005 18:26:06 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 18442 invoked by uid 99); 4 Nov 2005 18:26:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 10:26:06 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of msatoor@gmail.com designates 64.233.184.195 as permitted sender) Received: from [64.233.184.195] (HELO wproxy.gmail.com) (64.233.184.195) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2005 10:26:00 -0800 Received: by wproxy.gmail.com with SMTP id 68so118975wra for ; Fri, 04 Nov 2005 10:25:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FAl0MEs1oIntuEB4/pGnBrcaKkNwzElLWPlz1BCVPTvhj6LHi45tKv+Wm32438le8Axo0l2N6jFBuZCXet2eohWEdGwoVbEWBfy3FDpoE5+ZP4LoMlFTmkSCSCJPsC0CG6rtBUv/zoK6DZijGBz0hZlPHS7RBywkrM3XoWylDtg= Received: by 10.54.94.1 with SMTP id r1mr1700348wrb; Fri, 04 Nov 2005 10:24:44 -0800 (PST) Received: by 10.54.133.10 with HTTP; Fri, 4 Nov 2005 10:25:43 -0800 (PST) Message-ID: Date: Fri, 4 Nov 2005 10:25:43 -0800 From: Mamta Satoor To: derby-dev@db.apache.org Subject: Re: [jira] Commented: (DERBY-675) Build-time processing of "metadata.properties" file handles slashes incorrectly. In-Reply-To: <1576888364.1131064917503.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18214_24815928.1131128743604" References: <1273058067.1130973175590.JavaMail.jira@ajax.apache.org> <1576888364.1131064917503.JavaMail.jira@ajax.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_18214_24815928.1131128743604 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Army, Just wanted to let you know that your fix did the trick and now I can use \n in metadata.properties. thanks for quick turn around in getting it resolved. Mamta On 11/3/05, Satheesh Bandaram (JIRA) wrote: > > [ > http://issues.apache.org/jira/browse/DERBY-675?page=3Dcomments#action_123= 56730] > > Satheesh Bandaram commented on DERBY-675: > ----------------------------------------- > > This patch is committed. > > Sending java\build\org\apache\derbyBuild\ODBCMetadataGenerator.java > Transmitting file data . > Committed revision 330672. > > > > Build-time processing of "metadata.properties" file handles slashes > incorrectly. > > > -------------------------------------------------------------------------= ------- > > > > Key: DERBY-675 > > URL: http://issues.apache.org/jira/browse/DERBY-675 > > Project: Derby > > Type: Bug > > Components: Build tools > > Versions: 10.2.0.0 , 10.1.1.1 , > 10.1.1.0 > > Reporter: A B > > Assignee: A B > > Priority: Minor > > Fix For: 10.2.0.0 > > Attachments: d675_v2.patch > > > > As found and described by Mamta here: > > > http://www.nabble.com/-Derby-573-Optimizer-overrides-and-metadata.propert= ies-files-t460642.html > > During the ant build process, Derby's metadata.properties file is > modified by the ODBCMetadataGenerator class and that class treats > backslashes that occur in the metadata.properties file incorrectly. More > specifically, it treats every backslash as the end of a line and thus wil= l > translate things like > > FROM --DERBY-PROPERTIES joinOrder=3DFIXED \\n \ > > into > > FROM --DERBY-PROPERTIES joinOrder=3DFIXED \ > > \ > > n \ > > (in other words, escaped characters like "\n" are handled incorrectly).= . > > -- > This message is automatically generated by JIRA. > - > If you think it was sent incorrectly contact one of the administrators: > http://issues.apache.org/jira/secure/Administrators.jspa > - > For more information on JIRA, see: > http://www.atlassian.com/software/jira > > ------=_Part_18214_24815928.1131128743604 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi Army,
 
Just wanted to let you know that your fix did the trick and now I= can use \n in metadata.properties.
 
thanks for quick turn around in getting it resolved.
Mamta


 
On 11/3/05, = Satheesh Bandaram (JIRA) <derby-dev@db.apache.org> wrote:
   [ h= ttp://issues.apache.org/jira/browse/DERBY-675?page=3Dcomments#action_123567= 30 ]

Satheesh Bandaram commented on DERBY-675:
----------------= -------------------------

This patch is committed.

Sending&nb= sp;       java\build\org\apache\derbyBui= ld\ODBCMetadataGenerator.java
Transmitting file data .
Committed revision 330672.


> Build-time processing of &qu= ot;metadata.properties" file handles slashes incorrectly.
> ----= ---------------------------------------------------------------------------= -
>
>          = ;Key: DERBY-675
>        &nbs= p; URL: htt= p://issues.apache.org/jira/browse/DERBY-675
>   &n= bsp;  Project: Derby
>      &= nbsp;  Type: Bug
>   Components: Build tools
>    = ; Versions: 10.2.0.0, 10.1.1.1, 10.1.1.0
> =     Reporter: A B
>     Assignee: = A B
>     Priority: Minor
>   &= nbsp;  Fix For: 10.2.0.0
>&= nbsp; Attachments: d675_v2.patch
>
> As found and describe= d by Mamta here:
> http://www.nabble.com/-Derby-573-Optimizer-overrides-and-metadata.propertie= s-files-t460642.html
> During the ant build process, Derby's meta= data.properties file is modified by the ODBCMetadataGenerator class and tha= t class treats backslashes that occur in the=20 metadata.properties file incorrectly.  More specifically, it trea= ts every backslash as the end of a line and thus will translate things like=
> FROM --DERBY-PROPERTIES joinOrder=3DFIXED \\n \
> into
&g= t; FROM --DERBY-PROPERTIES joinOrder=3DFIXED \
> \
> n \
> (in other words, escaped characters like &qu= ot;\n" are handled incorrectly)..

--
This message is automat= ically generated by JIRA.
-
If you think it was sent incorrectly cont= act one of the administrators:
  http://issues.apache.org/jira/secure/Administrators.jspa
-=
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


------=_Part_18214_24815928.1131128743604--