On Sat, Dec 3, 2011 at 05:01, Max Rydahl Andersen <span dir="ltr">&lt;<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

So you are saying if I type in x.y.z as package name you will create the empty sequence of directories:<br>
<br>
&lt;src&gt;/x/y/z ?<br>
<br>
If that is the case then I don&#39;t see the need for it before there actually is a file to put in thereā€¦?<br>
<br>
Empty directories is a broken window.<br>
<br>
What would be more fun is that forge would actually remember the last package name used for a command so<br>
it would offer it as default (Lincoln - did you get that properties/config stuff in place ? :)<br></blockquote><div><br></div><div>There is a mechanism for this. I&#39;m using it in the Arquillian Extensions plugin.</div>

<div><br></div><div>JavaSourceFacet#getBasePackage()</div><div><br></div><div>That&#39;s the one that was entered at the prompt...at least it appears that way.</div><div><br></div><div>I don&#39;t think that creating the directories is necessarily wrong. If they open the project in the IDE immediately after creating it, then the first time they create a class it&#39;s necessary to retype the package name. It&#39;s far easier to right click on an existing package structure and create a new class.</div>

<div><br></div><div>Perhaps the user can be prompted for this option (or it can be an optional option).</div><div><br></div><div>new-project --named myproject --topLevelPackage org.example.myproject --createPackages</div>

<div><br></div><div>-Dan</div></div><div><br></div>-- <br><div>Dan Allen</div>Principal Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><div><a href="http://www.google.com/profiles/dan.j.allen#about" target="_blank">http://www.google.com/profiles/dan.j.allen#about</a><br>

<a href="http://mojavelinux.com" target="_blank">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction" target="_blank">http://mojavelinux.com/seaminaction</a><br></div><br>