Re: Creating packages

Mark Fortner <[email protected]> Wed, 28 Mar 2012 07:43:41 -0700
Newsgroups gmane.comp.lang.uml.argouml.user
Message-ID <CAOwy01uG2d7r-j4-_tRT9OkzpN4p4AxxexRuOCmFS8Lj1PspAw@mail.gmail.com>
------=_Part_13882_81162027.1332945823845
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Done.  http://argouml.tigris.org/issues/show_bug.cgi?id=6420

The only thing I haven't thought through is how language-specific packaging
separators would be specified.  In Java we use dots, in UML double colons.
I leave that as an implementation detail. :-)

Mark


On Tue, Mar 27, 2012 at 11:41 PM, Bob Tarling <[email protected]> wrote:

> Hi Mark
>
> Again, I'm afraid what you're asking for doesn't currently exist as a
> feature.
>
> It would be a very useful feature though. Please create an issue for it
> and assign as to the "notation" subcomponent.
>
> Bob
>
>
> On 27 March 2012 22:06, Mark Fortner <[email protected]> wrote:
>
>> Hi Tom,
>> When I try naming the package that way, I don't get the hierarchy I want.
>>  I often need to create subpackages.  It would be nice if the package name
>> were parsed for separators, and the appropriate hierarchy generated.
>>
>> Mark
>>
>>
>>
>> On Tue, Mar 27, 2012 at 11:54 AM, Tom Morris <[email protected]> wrote:
>>
>>> On Tue, Mar 27, 2012 at 12:27 PM, Mark Fortner <[email protected]>
>>> wrote:
>>> > Is there a quick way to create packages in ArgoUML?  I was trying to
>>> create
>>> > a package like com.google.whatever.  Rather than creating a "folder"
>>> for
>>> > each part of the domain I wanted to simply specify com.google.whatever
>>> and
>>> > have it create the appropriate set of nested folders.  I tried with
>>> both
>>> > Java style and UML style package names, and neither seemed to create
>>> the
>>> > appropriate nesting.  Is there another way of doing this?
>>>
>>> I don't think that there's a way to create a complete folder hierarchy
>>> in one go, but there's no rule saying that you have to start at the
>>> root.  You could name your top level folder com.google (or whatever)
>>> and just nest any additional namespaces under that.
>>>
>>> Tom
>>>
>>> ------------------------------------------------------
>>>
>>> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=2941214
>>>
>>> To unsubscribe from this discussion, e-mail: [
>>> [email protected]].
>>>
>>
>>
>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=2941627

To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_13882_81162027.1332945823845
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Done. =A0<a href=3D"http://argouml.tigris.org/issues/show_bug.cgi?id=3D6420=
">http://argouml.tigris.org/issues/show_bug.cgi?id=3D6420</a><div><br></div=
><div>The only thing I haven&#39;t thought through is how language-specific=
 packaging separators would be specified. =A0In Java we use dots, in UML do=
uble colons. I leave that as an implementation detail. :-)</div>
<div><br></div><div>Mark<br>
<br><br><div class=3D"gmail_quote">On Tue, Mar 27, 2012 at 11:41 PM, Bob Ta=
rling <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">bob.ta=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Mark<div><br></div><div>Again, I&#39;m afraid what you&#39;re asking for=
 doesn&#39;t currently exist as a feature.</div><div><br></div><div>It woul=
d be a very useful feature though. Please create an issue for it and assign=
 as to the &quot;notation&quot; subcomponent.</div>
<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div></font></span><div><span class=3D"HOEnZb"><font color=3D"#88=
8888">Bob</font></span><div><div class=3D"h5"><br><br><div class=3D"gmail_q=
uote">On 27 March 2012 22:06, Mark Fortner <span dir=3D"ltr">&lt;<a href=3D=
"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;<=
/span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi Tom,<div>When I try naming the package that way, I don&#39;t get the hie=
rarchy I want. =A0I often need to create subpackages. =A0It would be nice i=
f the package name were parsed for separators, and the appropriate hierarch=
y generated.</div>

<span><font color=3D"#888888">
<div><br></div></font></span><div><span><font color=3D"#888888">Mark</font>=
</span><div><div><br><div>
<br><br><div class=3D"gmail_quote">On Tue, Mar 27, 2012 at 11:54 AM, Tom Mo=
rris <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">


<div><div>On Tue, Mar 27, 2012 at 12:27 PM, Mark Fortner &lt;<a href=3D"mai=
lto:[email protected]" target=3D"_blank">[email protected]</a>&gt; wrot=
e:<br>
&gt; Is there a quick way to create packages in ArgoUML? =A0I was trying to=
 create<br>
&gt; a package like com.google.whatever. =A0Rather than creating a &quot;fo=
lder&quot; for<br>
&gt; each part of the domain I wanted to simply specify com.google.whatever=
 and<br>
&gt; have it create the appropriate set of nested folders. =A0I tried with =
both<br>
&gt; Java style and UML style package names, and neither seemed to create t=
he<br>
&gt; appropriate nesting. =A0Is there another way of doing this?<br>
<br>
</div></div>I don&#39;t think that there&#39;s a way to create a complete f=
older hierarchy<br>
in one go, but there&#39;s no rule saying that you have to start at the<br>
root. =A0You could name your top level folder com.google (or whatever)<br>
and just nest any additional namespaces under that.<br>
<br>
Tom<br>
<br>
------------------------------------------------------<br>
<a href=3D"http://argouml.tigris.org/ds/viewMessage.do?dsForumId=3D449&amp;=
dsMessageId=3D2941214" target=3D"_blank">http://argouml.tigris.org/ds/viewM=
essage.do?dsForumId=3D449&amp;dsMessageId=3D2941214</a><br>
<br>
To unsubscribe from this discussion, e-mail: [<a href=3D"mailto:users-unsub=
[email protected]" target=3D"_blank">[email protected]=
is.org</a>].<br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>

------=_Part_13882_81162027.1332945823845--