<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Tue Jun 18 22:04:30 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/si/jira.issueviews:issue-xml/DDC-2031/DDC-2031.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[DDC-2031] doctrine:generate:entities - Alternate (scoped) Namespace Syntax not supported</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2031</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;My preferred Syntax:&lt;/p&gt;

&lt;p&gt;namespace foo&lt;br/&gt;
{&lt;br/&gt;
use ...;&lt;br/&gt;
class &lt;/p&gt;
{ ... }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;seems not to be supported.&lt;/p&gt;

&lt;p&gt;Setters/Getters are inserted before the last curly closing bracket - but that is the closing Namespace scope!&lt;/p&gt;</description>
                <environment></environment>
            <key id="14036">DDC-2031</key>
            <summary>doctrine:generate:entities - Alternate (scoped) Namespace Syntax not supported</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="6" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                    <security id="10000">All</security>
                        <assignee username="ocramius">Marco Pivetta</assignee>
                                <reporter username="ilaurillard">Ilja Laurillard</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Sep 2012 13:16:01 +0000</created>
                <updated>Wed, 23 Jan 2013 22:53:12 +0000</updated>
                    <resolved>Wed, 23 Jan 2013 22:53:12 +0000</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="18640" author="ocramius" created="Thu, 13 Sep 2012 16:49:14 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=ilaurillard&quot; class=&quot;user-hover&quot; rel=&quot;ilaurillard&quot;&gt;Ilja Laurillard&lt;/a&gt; entities are per-file anyway, you&apos;d have only one namespace.&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
namespace Foo
{
    use AAA;
    class Bar {}
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;is exactly like writing &lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
namespace Foo
use AAA;
class Bar {}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    <comment id="18642" author="ilaurillard" created="Fri, 14 Sep 2012 06:20:58 +0000"  >&lt;p&gt;One namespace per file may be correct, but only considering autoloading issues.&lt;br/&gt;
Have a look to the symfony &quot;bootstrap.php.cache&quot; file for an example of multiple namespace and classes.&lt;br/&gt;
Doctrine should have a similar &quot;compiling&quot; option.&lt;/p&gt;

&lt;p&gt;I know of the standard syntax - thats why i wrote: &quot;my preferred syntax&quot;.&lt;/p&gt;

&lt;p&gt;I just may live with the standard syntax - you may want to at least mention in the docs that you have to use standard syntax, else your compiled entities fatal.&lt;/p&gt;</comment>
                    <comment id="18643" author="ocramius" created="Fri, 14 Sep 2012 08:37:08 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=ilaurillard&quot; class=&quot;user-hover&quot; rel=&quot;ilaurillard&quot;&gt;Ilja Laurillard&lt;/a&gt; not really sure classcache is doctrine&apos;s problem. Playing with reflection, any third party (Symfony2 here) can handle that without string concat&lt;/p&gt;</comment>
                    <comment id="18644" author="stof" created="Fri, 14 Sep 2012 09:08:04 +0000"  >&lt;p&gt;@Marco The issue is not about creting a class cache but about editing entities with the EntityGenerator when the code uses the syntax with braces.&lt;/p&gt;</comment>
                    <comment id="18645" author="ocramius" created="Fri, 14 Sep 2012 09:36:31 +0000"  >&lt;p&gt;&lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=stof&quot; class=&quot;user-hover&quot; rel=&quot;stof&quot;&gt;Christophe Coevoet&lt;/a&gt; yes, but I think the code generator becomes quite too complex when we add all these details... What I was thinking is that using an alternate syntax to ease the task &lt;a href=&quot;http://www.doctrine-project.org/jira/secure/ViewProfile.jspa?name=ilaurillard&quot; class=&quot;user-hover&quot; rel=&quot;ilaurillard&quot;&gt;Ilja Laurillard&lt;/a&gt; exposed as an example is anyway a bit weak. I don&apos;t see this coming without code generation projects going on first.&lt;/p&gt;</comment>
                    <comment id="19391" author="ocramius" created="Wed, 23 Jan 2013 22:53:12 +0000"  >&lt;p&gt;Alternate code generators project is not yet on roadmap.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>