<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Using Ant properties within SQL scripts with Incanto&#8217;s &lt;sqlplus&gt; Task</title>
	<atom:link href="http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/feed/" rel="self" type="application/rss+xml" />
	<link>http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/</link>
	<description>Eclipse, GIS development and news from the agile data trenches</description>
	<lastBuildDate>Thu, 08 Oct 2009 13:24:05 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Suchi</title>
		<link>http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9072</link>
		<dc:creator>Suchi</dc:creator>
		<pubDate>Fri, 18 Sep 2009 12:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9072</guid>
		<description>missed in previous mesg .... inside  tag? I want to query..</description>
		<content:encoded><![CDATA[<p>missed in previous mesg &#8230;. inside  tag? I want to query..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suchi</title>
		<link>http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9071</link>
		<dc:creator>Suchi</dc:creator>
		<pubDate>Fri, 18 Sep 2009 12:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9071</guid>
		<description>Can I use this sql tag inside  tag?
I want to query from existing table and mail that list.</description>
		<content:encoded><![CDATA[<p>Can I use this sql tag inside  tag?<br />
I want to query from existing table and mail that list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9054</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sun, 12 Oct 2008 19:17:39 +0000</pubDate>
		<guid isPermaLink="false">http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9054</guid>
		<description>Alex,
The &quot;.&quot; simply escapes out of the sqlplus edit buffer and back to its command prompt. The &quot;L&quot; or &quot;LIST&quot; command echoes the current statement back to the console. I combing the two along with &quot;/&quot; to get a listing of the statement plus the execution results. The good news for me is that I found that a simple blank line -- instead of the &quot;.&quot; -- accomplishes the same thing -- so I&#039;m happy!

e.g.
alter session set NLS_DATE_FORMAT = “HH24:MI:SS DD.MM.YYYY”

LIST
/

Thanks again!
Joe</description>
		<content:encoded><![CDATA[<p>Alex,<br />
The &#8220;.&#8221; simply escapes out of the sqlplus edit buffer and back to its command prompt. The &#8220;L&#8221; or &#8220;LIST&#8221; command echoes the current statement back to the console. I combing the two along with &#8220;/&#8221; to get a listing of the statement plus the execution results. The good news for me is that I found that a simple blank line &#8212; instead of the &#8220;.&#8221; &#8212; accomplishes the same thing &#8212; so I&#8217;m happy!</p>
<p>e.g.<br />
alter session set NLS_DATE_FORMAT = “HH24:MI:SS DD.MM.YYYY”</p>
<p>LIST<br />
/</p>
<p>Thanks again!<br />
Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexander karnstedt</title>
		<link>http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9053</link>
		<dc:creator>alexander karnstedt</dc:creator>
		<pubDate>Wed, 08 Oct 2008 19:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9053</guid>
		<description>Hello Joe,

thanks for your information. 

2) I never used that &quot;.&quot; and LIST thing before and I&#039;m not quite sure what it does nor what&#039;s the difference to simply using a semicolon. Could you explain, what the &quot;.&quot; does and if there is a difference to &quot;;&quot;?
It&#039;s somewhat curious, seems that SQL*Plus has only problems with whitespace before a &quot;.&quot; - if I use a semicolon instead it works and I&#039;ll get the desired result and output. The &quot;.&quot; works only when omitting the leading whitespaces. Again: the malefactor seems to be solely the &quot;.&quot; and it seems to be avoidable by using a &quot;;&quot; instead.

1) Could you mail me or post a bug at sourceforge with a SQL sample. Because the samples I have are all working (except for the &quot;.&quot; thing)

I fear that there wont be a really good fix to this leading whitespace issue. Cause it will involve other issues when I remove all leading whitespaces from all lines generally by Incanto, because in some cases whitespace might be necessary.

I found inlining various things (like SQL) in XML always bit fragile due to these whitespace issues. Therefore either I avoid them (yep ugly indentions) or I use external SQL files, which I found much more comfortable to handle anyway.

Regards, Alex</description>
		<content:encoded><![CDATA[<p>Hello Joe,</p>
<p>thanks for your information. </p>
<p>2) I never used that &#8220;.&#8221; and LIST thing before and I&#8217;m not quite sure what it does nor what&#8217;s the difference to simply using a semicolon. Could you explain, what the &#8220;.&#8221; does and if there is a difference to &#8220;;&#8221;?<br />
It&#8217;s somewhat curious, seems that SQL*Plus has only problems with whitespace before a &#8220;.&#8221; &#8211; if I use a semicolon instead it works and I&#8217;ll get the desired result and output. The &#8220;.&#8221; works only when omitting the leading whitespaces. Again: the malefactor seems to be solely the &#8220;.&#8221; and it seems to be avoidable by using a &#8220;;&#8221; instead.</p>
<p>1) Could you mail me or post a bug at sourceforge with a SQL sample. Because the samples I have are all working (except for the &#8220;.&#8221; thing)</p>
<p>I fear that there wont be a really good fix to this leading whitespace issue. Cause it will involve other issues when I remove all leading whitespaces from all lines generally by Incanto, because in some cases whitespace might be necessary.</p>
<p>I found inlining various things (like SQL) in XML always bit fragile due to these whitespace issues. Therefore either I avoid them (yep ugly indentions) or I use external SQL files, which I found much more comfortable to handle anyway.</p>
<p>Regards, Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9052</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 08 Oct 2008 17:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9052</guid>
		<description>I really like what you&#039;ve done with incanto. I&#039;m trying to use it as part of a packaging and deployment mechanism. I&#039;ve found what I think are a couple of minor bugs/anomolies that I hope you can sort out. 

1) It seems that inline SQL statements that have whitespace at the beginning of the line cause them to fail. If I store these in a separate SQL file and call that it works.

2) I like to use the &quot;dot&quot; command to escape the edit/entry within SQLPLUS followed immediately by the LIST command and forward slash &quot;/&quot; on separate lines.

e.g.
alter session set NLS_DATE_FORMAT = &quot;HH24:MI:SS DD.MM.YYYY&quot;
.
LIST
/

This allows me to have a detailed listing of what statements I want to execute followed by the result messages from SQLPLUS. I like to do this because a spooled log then becomes my documentation of the installation. 

Again, this does not seem to work with inline sql statements and I have to use external SQL files. My peference is do everything inline so that I could generate one big build file via a perl DBI script that extracts code from either a CVS repository or the database itself.

I&#039;m hoping you can address these two small issues?

Thanks in advance,
Joe</description>
		<content:encoded><![CDATA[<p>I really like what you&#8217;ve done with incanto. I&#8217;m trying to use it as part of a packaging and deployment mechanism. I&#8217;ve found what I think are a couple of minor bugs/anomolies that I hope you can sort out. </p>
<p>1) It seems that inline SQL statements that have whitespace at the beginning of the line cause them to fail. If I store these in a separate SQL file and call that it works.</p>
<p>2) I like to use the &#8220;dot&#8221; command to escape the edit/entry within SQLPLUS followed immediately by the LIST command and forward slash &#8220;/&#8221; on separate lines.</p>
<p>e.g.<br />
alter session set NLS_DATE_FORMAT = &#8220;HH24:MI:SS DD.MM.YYYY&#8221;<br />
.<br />
LIST<br />
/</p>
<p>This allows me to have a detailed listing of what statements I want to execute followed by the result messages from SQLPLUS. I like to do this because a spooled log then becomes my documentation of the installation. </p>
<p>Again, this does not seem to work with inline sql statements and I have to use external SQL files. My peference is do everything inline so that I could generate one big build file via a perl DBI script that extracts code from either a CVS repository or the database itself.</p>
<p>I&#8217;m hoping you can address these two small issues?</p>
<p>Thanks in advance,<br />
Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9049</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 12 Aug 2008 06:45:54 +0000</pubDate>
		<guid isPermaLink="false">http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9049</guid>
		<description>hi,

Follow up to my previous comment here - I reworked my ant task to call SQL*PLUS via the ANT exec task and the problem still occurs.

So, I agree with you - incanto is NOT to blame !!

Sorry about that !

peter</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>Follow up to my previous comment here &#8211; I reworked my ant task to call SQL*PLUS via the ANT exec task and the problem still occurs.</p>
<p>So, I agree with you &#8211; incanto is NOT to blame !!</p>
<p>Sorry about that !</p>
<p>peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexander karnstedt</title>
		<link>http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9048</link>
		<dc:creator>alexander karnstedt</dc:creator>
		<pubDate>Tue, 29 Jul 2008 17:35:11 +0000</pubDate>
		<guid isPermaLink="false">http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9048</guid>
		<description>No, didn&#039;t noticed similar problems so far. Incanto just start&#039;s the sqlplus.exe and don&#039;t do anything magical with Oracle directly, so it might be some general network configuration or installation issue. However, if u got any detailed information about ORA errors or what SQL-statements may cause any problems, I&#039;ll appreciate bug reports very much ...  http://sourceforge.net/tracker/?func=add&amp;group_id=136100&amp;atid=734998
 ... so we might be able to reproduce it.

Alex</description>
		<content:encoded><![CDATA[<p>No, didn&#8217;t noticed similar problems so far. Incanto just start&#8217;s the sqlplus.exe and don&#8217;t do anything magical with Oracle directly, so it might be some general network configuration or installation issue. However, if u got any detailed information about ORA errors or what SQL-statements may cause any problems, I&#8217;ll appreciate bug reports very much &#8230;  <a href="http://sourceforge.net/tracker/?func=add&amp;group_id=136100&amp;atid=734998" rel="nofollow">http://sourceforge.net/tracker/?func=add&amp;group_id=136100&amp;atid=734998</a><br />
 &#8230; so we might be able to reproduce it.</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9047</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 29 Jul 2008 08:07:09 +0000</pubDate>
		<guid isPermaLink="false">http://mauszeig.wordpress.com/2007/07/16/using-ant-properties-within-sql-scripts-with-incantos-sqlplus-task/#comment-9047</guid>
		<description>Hi,

I am using the incanto task for updating and patching our development database schemas using SQL*PLUS on a windows XP machine.

However, the ant task hangs quite frequently when running SQL*PLUS via incanto.  Following the &#039;hang&#039;, I am unable to access the internet (or any databases using my Oracle tools).

Have you heard or seen similar problems ?

peter</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using the incanto task for updating and patching our development database schemas using SQL*PLUS on a windows XP machine.</p>
<p>However, the ant task hangs quite frequently when running SQL*PLUS via incanto.  Following the &#8216;hang&#8217;, I am unable to access the internet (or any databases using my Oracle tools).</p>
<p>Have you heard or seen similar problems ?</p>
<p>peter</p>
]]></content:encoded>
	</item>
</channel>
</rss>
